Hello all, I followed the perfect server guide for my Ubuntu 14.04 LTS installation, but I cannot get an alternate PHP via FPM to work in ispconfig. The website always runs the fcgi version pre-installed. There are no error messages, and the apache config looks so far ok: Code: <Directory /var/www/******/web> # Clear PHP settings of this website <FilesMatch ".+\.ph(p[345]?|t|tml)$"> SetHandler None </FilesMatch> Options +FollowSymLinks AllowOverride All Require all granted </Directory> <Directory /var/www/clients/client1/web2/web> # Clear PHP settings of this website <FilesMatch ".+\.ph(p[345]?|t|tml)$"> SetHandler None </FilesMatch> Options +FollowSymLinks AllowOverride All Require all granted </Directory> # suexec enabled <IfModule mod_suexec.c> SuexecUserGroup web2 client1 </IfModule> <IfModule mod_fastcgi.c> <Directory /var/www/clients/client1/web2/cgi-bin> Require all granted <Directory /var/www/*****/web> <FilesMatch "\.php[345]?$"> SetHandler php5-fcgi </FilesMatch> </Directory> <Directory /var/www/clients/client1/web2/web> <FilesMatch "\.php[345]?$"> SetHandler php5-fcgi </FilesMatch> </Directory> Action php5-fcgi /php5-fcgi Alias /php5-fcgi /var/www/clients/client1/web2/cgi-bin/php5-fcgi-*-80-******** FastCgiExternalServer /var/www/clients/client1/web2/cgi-bin/php5-fcgi-*-80-******** -idle-timeout 300 -host 127.0.0.1:9011 -pass-header Authorization Please help me with that one, its really nasty! BR Florian
Post the errors that you find in the global webserver error.log and the ones from the error.log of the website.
Dear srijan, there are no errors in the main log. The PHP script is simply executed by the fcgi-wrapper which is PHP version 5.5, while I installed the FPM to be 5.3 - you can see from phpinfo(). this is the error message from the site log, but of course its just a "soft error" in this case as it just tells me its the wrong PHP version: Code: [Mon Aug 25 10:33:29.203147 2014] [:error] [pid 28086] [client 143.161.248.25:13561] PHP Fatal error: The file /var/www/clients/client1/web1/web/shop/library/amazon.php was encoded by the ionCube Encoder for PHP 5 and cannot run under PHP 5.5. [Mon Aug 25 10:33:29.203297 2014] [:error] [pid 28086] [client 143.161.248.25:13561] Please ask the provider of the script to provide a version encoded with the ionCube Encoder for either PHP 5.3 or PHP 5.4 or PHP 5.5. in Unknown on line 0 [Mon Aug 25 10:33:29.203311 2014] [:error] [pid 28086] [client 143.161.248.25:13561] PHP Stack trace: [Mon Aug 25 10:33:29.203340 2014] [:error] [pid 28086] [client 143.161.248.25:13561] PHP 1. {main}() /var/www/clients/client1/web1/web/shop/index.php:0 [Mon Aug 25 10:33:29.203380 2014] [:error] [pid 28086] [client 143.161.248.25:13561] PHP 2. require() /var/www/clients/client1/web1/web/shop/index.php:12
till, works now - its a little tricky, as it seems I overlooked the missing package during installation, and then later on I did not see the difference between fcgi and fastcgi! thanks BR FLorian