友情提示:小程序,开发制作。

将php-fpm设置为系统服务启动

php-fpm设置为服务启动

切换到php源文件目录
[root@test]# cd php-5.4.6/sapi/fpm/
[root@test fpm]# ls

config.m4 CREDITS fpm init.d.php-fpm init.d.php-fpm.in LICENSE Makefile.frag php-fpm php-fpm.8 php-fpm.8.in php-fpm.conf php-fpm.conf.in status.html status.html.in

阅读全文>>

ubuntu右键添加打开终端的快捷菜单

第一种方法:
安装一个包,即可在右键里面添加一个“打开终端”的菜单。

sudo apt-get install nautilus-open-terminal


第二种方法:
进入主目录的.gnome2/nautilus-scripts目录。新建一个文件,文件名任意(这个文件名会显示在右键菜单里,最好是通俗易懂的,比如“打开终端”或“open-terminal”),文件内容如下。

引用
#!/bin/bas...

阅读全文>>

解決 PHP 5.3.0 phpinfo();中的It is not safe to rely on the system’s timezone settings警告


Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in D:\apache2.2\htdocs\index.php on line 2
解决方法:

阅读全文>>

嵌合体

嵌合体

嵌合体(Chimera),又名喀迈拉现象,是动物学的一种特殊现象,指动物的两颗受精卵融合在一起成为一个个体并成长。遗传学上用以指不同遗传性状嵌合或混杂表现的个体,亦指染色体异常类型之一。有时也有同一器官出现不同性状的生物体的意思。

编辑摘要

嵌合体-简介

嵌合体蝴蝶嵌合体蝴蝶

1、遗传学上用以指不同遗传性状嵌合或混杂表现的个体。免疫学上的涵义则指一个机体身上有两种或两种以上染色体组成不同的细胞系同时存在...

阅读全文>>

linux下php安装pdo_mysql、mysql 扩展

1.确定php环境已经配置好,找到php安装包的pdo_mysql扩展目录,假设你的安装包放在/lamp/php-5.2.6下。

[root@localhost /]# cd /lamp/php-5.2.6/ext/pdo_mysql
[root@localhost pdo_mysql]# pwd
/lamp/php-5.2.6/ext/pdo_mysql

2.假设你的php是安装在/usr/local/php里的。执行/usr/local/php/bin/phpize ,运行命令:

[root@localhost pdo_mysql]# /usr/local/php/bin/phpize

阅读全文>>

DNS缓存查看、清理

首先进入命令提示符下(开始——运行——cmd):

先运行:ipconfig /displaydns 这个命令,查看一下本机已经缓存了那些的dns信息的,然后输入下面的命令

ipconfig /flushdns

这时本机的dns缓存信息已经清空了,设置DNS

我们可以再次输入第一次输入的命令来看一下,

ipconfig /displaydns

阅读全文>>

Nginx启动出错error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory

 

 

 

在centos5.7 32位上编译安照 nginx-1.1.16 出错

[root@localhost conf]# /usr/local/nginx/sbin/nginx

/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file...

阅读全文>>

history命令 添加时间戳

1>History命令语法:

[test@linux]# history [n]
[test@linux]# history [-c]
[test@linux]# history [-raw] histfiles
参数:
  :数字,要列出最近的 n 笔命令列表
-c  :将目前的shell中的所有 history 内容全部消除
-a  :将目前...

阅读全文>>

SQL Server数据库自动备份及删除自动备份文件

SQL Server数据库自动备份及删除自动备份文件

在项目中使用SQL Server数据库时,我们希望实现自动备份,并在备份完毕后,希望系统自动删除一周或者一月以前的数据备份文件。 

以下方法在SQL Server 2005/2008均可使用.

一。创建维护计划

打开Microsoft SQL Server Management&nb...

阅读全文>>

Adobe Dreamweaver CS5序列号

Adobe Dreamweaver CS5序列号

Adobe Dreamweaver CS5序列号如下:

1192-1973-6217-2477-6088-1657(我用的是这个)
1192-1013-2621-8434-6884-0175

1192-1482-6532-1529-0926-5570
1192-1384-9698-0251-8971-9802

1192-1678-5764-4289...

阅读全文>>