nginx启动、重启、关闭
Linux 2-3 712浏览 0评论一、启动 cd usr/local/nginx/sbin ./nginx 二、重启 更改配置重启nginx kill -HUP 主进程号或进程号文件路径 或者使用 cd /usr/local/nginx/sbin ./nginx -s reload 判断配置文件是否正确 nginx -t -c /usr/local/nginx/conf/nginx.conf 或者 cd /usr/local/nginx/sbin ./nginx -t 三、关闭 查询nginx...
Win32 Apache 多虚拟主机多版本PHP(5.2+5.3+5.4)共存运行配置全过程
Windows 2-3 916浏览 0评论因为某种需求,可能是因为早期的项目需要低版本的php,和目前开发所用的版本不太一致,我们需要给不同的虚拟主机配置不同版本的PHP。避免去额外配置多个Apache,等iis和apache共存的麻烦。
Linux查看和结束进程命令详解
Linux 2-3 938浏览 0评论在ubuntu中,终止一个进程或终止一个正在运行的程序,一般是通过 kill 、killall、pkill、xkill 等进行。 ------------------------------------------------------------------- 先看两个例子: 例子一:结束某个程序,如Firefox 键入命令: pkill firefox
启动php-fpm的时候出现 Starting php_fpmfpm_unix_conf_wp()
PHP 2-3 912浏览 0评论启动php-fpm的时候出现 Starting php_fpm Dec 29 15:27:32.502790 [ERROR] fpm_unix_conf_wp(), line 124: please specify user and group other than root, pool 'default'
Linux php编译安装后bin目录中怎么没有php-cgi文件
PHP 2-2 946浏览 0评论./configure --enable-fastcgi php安装后bin目录中怎么没有php-cgi文件, 为什么会这样啊 ?
Following unknown configure options were used:--enable-fpm
PHP 2-2 874浏览 0评论执行cd php-5.2.13安装时候 ./configure --prefix=/usr/local/php/ --with-config-file-path=/usr/local/php/etc/ --with-mysql=/usr/local/mysql/ --with-libxml-dir=/usr/local/libxml2/ --with-jpeg-dir=/usr/local/jpeg6/ --with-freetype-dir=/usr/local/freetype/ --with-gd=/usr/local/gd2/ --with-mcrypt=/usr/local/libmcrypt/ --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-soap --enable-mbstring=all --enable-sockets --enable-fastcgi --enable-fpm 错误:Following unknown configure options were used:--enable-fpm
Apache2 + PHP-FPM 配置要点
PHP 2-2 942浏览 0评论Apache2 + PHP-FPM 配置要点,注释的都不是要点。 <VirtualHost *:80> ServerName my.domain.com ServerAdmin admin@domain.com DocumentRoot /var/www/my.domain.com RewriteEngine On <IfModule mod_fastcgi.c> #ScriptAlias /php/ "/usr/bin/" ScriptAlias /php/ "/us...