Hello, trying to install php 5.65 according to - https://www.howtoforge.com/how-to-u...pm-and-fastcgi-with-ispconfig-3-debian-wheezy. arrived to the part - Copy php.ini and php-fpm.conf to the correct locations: So in my case ... and i have now to folder at /opt : php-5.3.22 & php-5.6.5 so the meening at guied is to copy from php-5.3.22 to php-5.6.5 as there is no php-fpm.conf.default so i need to copy it from the old 5.3.22? THANK YOU
You have to change the php version number in all commands wherever they appear and not just in one part of the command like you did above. The instructions you used are for php 5.3 and not 5.6, php 5.6 has different compile options then 3.3. To compile a php 5.6, please use the guide for that version: https://www.howtoforge.com/how-to-b...e-and-apcu-for-ispconfig-3-on-debian-7-wheezy The version numbers have to be replaced as well off course.
ok starting this guide with no error during the installation until - https://www.howtoforge.com/how-to-b...e-and-apcu-for-ispconfig-3-on-debian-7-wheezy /etc/init.d/php-5.6.0-fpm start Starting php-fpm [28-Jan-2015 11:35:16] WARNING: Nothing matches the include pattern '/opt/php-5.6.0/etc/pool.d/*.conf' from /opt/php-5.6.0/etc/php-fpm.conf at line 529. ................................... failed
netstat -ntap | grep 8999 tcp 0 0 127.0.0.1:8999 0.0.0.0:* LISTEN 31516/php-fpm.conf) so i tried port 8996 and getting the same result
Take a look at /var/log directory to see if there is a log file for your new php version that might explain the error.
before i upgrade my debian OS to 7.8 maybe it is impotent... during the process according to - https://www.howtoforge.com/how-to-b...e-and-apcu-for-ispconfig-3-on-debian-7-wheezy added to /opt folder php-5.3.22 and now the php-5.6.0 this is the logs at /var/log/php5-fpm.log, NO other php log files and when php --version i see php 5.4.36 THANK YOU
The log that you posted is for the system php and the commaon "php --version" wll show you the version of the system php, not your custom php. if you want to query your custom php, then go to the flder where you installed the custom php version and run: ./php --version to run the php binary that you compiled and not the global one.