In web domain option tab you can set Use Socket For PHP-FPM but if i enable or disable it i dons see a differents in the vhost config. Still tcp is used. If i look in the sys_datalog i always see php_fpm_use_socket";s:1:"y" So looks like this option is ignored? Are there people that are successfull running 2 php versions with php-fpm? This is a followup of tread https://www.howtoforge.com/community/threads/php-7-support-vsite.74150/
This is not ignored, ispconfig checks if your OS supports sockets for PHP-FPM and this functionality is broken like on systems that lack mod_fastcgi and use a fallback to mod_proxy_fcgi instead, then ispconfig has to switch to a mode that works on this system and mod_proxy_fcgi has severe problems with sockets, see their documentation. Yes, you can use any number of additional php-fpm versions without problems in ispconfig. I have PHP 5.4, 5.5, 5.6 and 7.0 on my Debian 8 servers for example. As a sidenote: We always recommend to use Debian as that the OS that supports all functions flawlessly, using other OS might limit the functionality due to broken or missing packages on the other OS.
Well thats my problem. i dont know anymore what i did wrong. i followed severel tutorials but nothing seems to work phpinfo in the vsite is showing the stock php version Server API Apache 2.0 Handler can you recomand any steps to start over ore a tutorial to get it working. i used remi-safe to install php70
hm i noticed your comment on mod_fastcgi... outch it wasnt installed but now i see the error he requested URL /php5-fcgi/index.php was not found on this server. ls -la /var/www/clients/client0/web457/cgi-bin directory is empty
That's a virtual URL identifier and not a path in your Linux filesystem, so this URL never exists and shell not exists in the filesystem. It just identifies the connection. Check that the php-fpm instance is really running. Which OS do you use? As I mentioned above, ispconfig recognizes the OS and as soon as it recognises a redhat based distribution it will disable some functions that are known to be broken in that OS.
Use either this tutorail: https://www.howtoforge.com/tutorial...8-4-jessie-apache-bind-dovecot-ispconfig-3-1/ or this one: https://www.howtoforge.com/tutorial...l-pureftpd-bind-postfix-doveot-and-ispconfig/ But Debian is the recommended distribution as shown on the ispconfig documentation page "The recommended Linux distribution for ISPConfig 3 is Debian Linux.".
php 7 listen = 127.0.0.1:9007 lsof -i | grep php php-fpm 13359 root 8u IPv4 1247900337 0t0 TCP localhost.localdomain:9466 (LISTEN) php-fpm 13359 root 9u IPv4 1246904766 0t0 TCP localhost.localdomain:9007 (LISTEN) php-fpm 13360 apache 0u IPv4 1246904766 0t0 TCP localhost.localdomain:9007 (LISTEN) php-fpm 13361 apache 0u IPv4 1246904766 0t0 TCP localhost.localdomain:9007 (LISTEN) php-fpm 13362 apache 0u IPv4 1246904766 0t0 TCP localhost.localdomain:9007 (LISTEN) php-fpm 13363 apache 0u IPv4 1246904766 0t0 TCP localhost.localdomain:9007 (LISTEN) php-fpm 13364 apache 0u IPv4 1246904766 0t0 TCP localhost.localdomain:9007 (LISTEN) php-fpm 15738 root 8u IPv4 1247937438 0t0 TCP localhost.localdomain:cslistener (LISTEN) php-fpm 15739 apache 0u IPv4 1247937438 0t0 TCP localhost.localdomain:cslistener (LISTEN) php-fpm 15740 apache 0u IPv4 1247937438 0t0 TCP localhost.localdomain:cslistener (LISTEN) php-fpm 15741 apache 0u IPv4 1247937438 0t0 TCP localhost.localdomain:cslistener (LISTEN) php-fpm 15742 apache 0u IPv4 1247937438 0t0 TCP localhost.localdomain:cslistener (LISTEN) php-fpm 15743 apache 0u IPv4 1247937438 0t0 TCP localhost.localdomain:cslistener (LISTEN) vhost config FastCgiExternalServer /var/www/clients/client0/web457/cgi-bin/php5-fcgi-*-80-14allhosting.nl -idle-timeout 300 -host 127.0.0.1:9466 -pass-header Authorization ls -al /proc/13359 exe -> /opt/remi/php70/root/usr/sbin/php-fpm If i change the site to php5 then i see the proc linking to /usr/sbin/php-fpm so for me it look slike it is running But the errorlog says: File does not exist: /var/www/clients/client0/web457/cgi-bin/php5-fcgi-*-443-xxxx.nl
hm i found the solution i googled for: File does not exist: /var/www/clients/client0/web457/cgi-bin/php5-fcgi found a old post: https://www.howtoforge.com/community/threads/adding-website-with-php-fpm.64885/ In /etc/httpd/conf.d/fastcgi.conf by default there is a line: FastCgiWrapper On I commented this line and now it is working! and yes that works for me finaly!