Hello, i have Centos 6.4 install with php 5.3.28 php-fpm enabled. When i create new site, i select from the dropdown PHP-FPM then for the version PHP 5.3.28 (see screenshot). I upload index.php with content PHP: <?php phpinfo(); ?> and i see error page. In error_log: File does not exist: /var/www/clients/client1/web3/cgi-bin/php5-fcgi-*-80-test.com In the vhost file i see: Code: AddHandler php5-fcgi .php Action php5-fcgi /php5-fcgi Alias /php5-fcgi /var/www/clients/client1/web3/cgi-bin/php5-fcgi-*-80-test.com FastCgiExternalServer /var/www/clients/client1/web3/cgi-bin/php5-fcgi-*-80-test.com -idle-timeout 300 -host 127.0.0.1:9012 -pass-header Authorization Why ISPconfig 3 adds this line " FastCgiExternalServer /var/www/clients/client1/web3/cgi-bin/php5-fcgi-*-80-test.com -idle-timeout 300 -host 127.0.0.1:9012 -pass-header Authorization" ? Directory /var/www/clients/client1/web3/cgi-bin/ is empty and does not contain files like /var/www/clients/client1/web3/cgi-bin/ How can i make php-fpm working?
php fpm is a running php daemin and apache accesses it by tcp on port 9012, so thats what this line is doing.
It does nothing right now, there is no such file /var/www/clients/client1/web3/cgi-bin/php5-fcgi-*-80-test.com I wonder why ISPConfig wrote this line ? It is incorrect. How can i make it work?
Do you use apache or nginx webserver and which ispconfig version do you use, the released one (3.0.5.3) or did you download it from our git server?
I use 3.0.5.3, downloaded it from your download links in Friday 7. February 1014 I use apache, followed the documentation about installing multiple php versions with php-fpm on centos 6.3 (my install is centos 6.4) P.S If this helps: Code: ls -la /var/www/clients/client1/web3/cgi-bin/ total 8 drwxr-xr-x 2 web3 client1 4096 Feb 7 15:20 . drwxr-xr-x 9 root root 4096 Feb 7 15:20 ..
Thats ok, its a virtual path. there are no files in cgi-bin directoy of the site required. Which tutorial did you use to compile php-fpm? Did you get any errors during compilation?
I used this tutorial: http://www.howtoforge.com/how-to-us...p-fpm-and-fastcgi-with-ispconfig-3-centos-6.3 It is very good described and i did not see any errors, i installed PHP 5.3.28 and 5.4.25 It is working very well in Fast-CGI mode, but can't get it working in PHP-FPM In apache error logs i see " File does not exist: /var/www/clients/client1/web3/cgi-bin/php5-fcgi-*-80-test.com" and i think there should be anything in this cgi-bin directory.
This is solved! Something very important you do not explain when installing mod_fastcgi. In /etc/httpd/conf.d/fastcgi.conf by default there is a line: FastCgiWrapper On I commented this line and now it is working!