I found the error: - When run php-cgi i forgot point the php.ini path. So i update as: /usr/program/php/bin/php-cgi -b 127.0.0.1:9000 -n -c /usr/program/php/lib/php.ini. The system now ok. Thanks all.by khoanhd - Php-fpm Mailing List - English
Here is my installation step by step: 1. Install fast cgi: wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz tar -zxvf fcgi-2.4.0.tar.gz cd fcgi-2.4.0 ./configure CFLAGS=-O3 make make install 2. Install php PHP configure: ./configure --prefix=/usr/program/php/ --enable-fastcgi --enable-force-cgi-redirect 3. Install nginx 4. Config webserver: server { liby khoanhd - Php-fpm Mailing List - English
I've already installed php, fcgi, nginx, the system running as no problem, but the problem happen when: 1. I update memory_limit in php.ini, then restart php-cgi, nginx, but when use phpinfo, theo memory_limit is not effected. 2. I install 2 new extensions: curl and memcache, add 2 lines: extension=curl.so and extension=memcache.so, restart php-cgi and nginx, phpinfo also not show up theby khoanhd - Php-fpm Mailing List - English
![]() |
![]() |
![]() |
![]() |
|