Switch PHP version not effect.

Discussion in 'Installation/Configuration' started by jamesupereal, Jul 19, 2024.

  1. jamesupereal

    jamesupereal New Member

    I install ISPConfig with nginx with multi servers.When I change a site's PHP version to PHP 8.3 or other version, it's not effect. I check the slave node, the PHP-FPM works well. How can I fix it. Thanks.

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG]
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. till

    till Super Moderator Staff Member ISPConfig Developer

    And did you add something in the Nginx directives field of that website? If yes, it might be that the config you added there is not accepted by Nginx, which means it will also block changing the PHP version. You can see that in ISPConfig system log, in the monitor, and also you can see that in Nginx sites-available folder, there is a file with .err file ending for that site in the folder then.
     
  4. jamesupereal

    jamesupereal New Member

    Hi till,
    I try to switch PHP version to PHP 8.1. I've checked the website log ,there is no log about PHP version. Then I checked the Nginx configuration of this site, I found it still use PHP 8.2.

    Code:
           location ~ \.php$ {                                                                                                                 
               try_files /42281ed0c280b6fe82a8770e95c4da6a.htm @php;                                                                           
           }                                                                                                                                   
    
           location @php {                                                                                                                     
               try_files $uri =404;                                                                                                           
               include /etc/nginx/fastcgi_params;                                                                                             
               fastcgi_pass 127.0.0.1:9066;                                                                                                   
               fastcgi_index index.php;                                                                                                       
               fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;                                                               
               fastcgi_intercept_errors on;                                                                                                   
           }         
    
    And here is the system monitor log of slave server
    Code:
    2024-07-19T16:39:01.477102+00:00 niihost CRON[817274]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:39:01.477220+00:00 niihost CRON[817275]: (root) CMD (  [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
    2024-07-19T16:39:01.477468+00:00 niihost CRON[817276]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:39:03.311687+00:00 niihost systemd[1]: phpsessionclean.service: Deactivated successfully.
    2024-07-19T16:39:03.311791+00:00 niihost systemd[1]: Finished phpsessionclean.service - Clean php session files.
    2024-07-19T16:39:03.312061+00:00 niihost systemd[1]: phpsessionclean.service: Consumed 1.855s CPU time.
    2024-07-19T16:40:01.708743+00:00 niihost CRON[817754]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:40:01.709081+00:00 niihost CRON[817755]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:41:01.248943+00:00 niihost CRON[817909]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:41:01.249420+00:00 niihost CRON[817910]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:42:01.679131+00:00 niihost CRON[817964]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:42:01.679521+00:00 niihost CRON[817963]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:43:01.497472+00:00 niihost CRON[818000]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:43:01.497923+00:00 niihost CRON[818001]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:44:01.959702+00:00 niihost CRON[818025]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:44:01.960053+00:00 niihost CRON[818024]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:45:01.982563+00:00 niihost CRON[818063]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:45:01.982862+00:00 niihost CRON[818064]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:46:01.475910+00:00 niihost CRON[818186]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:46:01.476515+00:00 niihost CRON[818187]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:47:01.929528+00:00 niihost CRON[818219]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:47:01.929807+00:00 niihost CRON[818220]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:48:01.871701+00:00 niihost CRON[818248]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:48:01.871977+00:00 niihost CRON[818247]: (root) CMD ("/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null)
    2024-07-19T16:48:01.872260+00:00 niihost CRON[818249]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:49:01.553559+00:00 niihost CRON[818546]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:49:01.553852+00:00 niihost CRON[818547]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:49:12.940698+00:00 niihost systemd[1]: Reloading php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager...
    2024-07-19T16:49:12.942350+00:00 niihost systemd[1]: Reloaded php8.2-fpm.service - The PHP 8.2 FastCGI Process Manager.
    2024-07-19T16:49:13.057559+00:00 niihost php-fpm8.2[6816]: [19-Jul-2024 16:49:13] NOTICE: using inherited socket fd=8, "/run/php/php8.2-fpm.sock"
    2024-07-19T16:49:13.057708+00:00 niihost php-fpm8.2[6816]: [19-Jul-2024 16:49:13] NOTICE: using inherited socket fd=9, "/var/lib/php8.2-fpm/apps.sock"
    2024-07-19T16:49:13.057785+00:00 niihost php-fpm8.2[6816]: [19-Jul-2024 16:49:13] NOTICE: using inherited socket fd=10, "127.0.0.1:9066"
    2024-07-19T16:49:13.057865+00:00 niihost php-fpm8.2[6816]: [19-Jul-2024 16:49:13] NOTICE: using inherited socket fd=11, "/var/lib/php8.2-fpm/web58.sock"
    2024-07-19T16:49:13.057920+00:00 niihost php-fpm8.2[6816]: [19-Jul-2024 16:49:13] NOTICE: using inherited socket fd=12, "127.0.0.1:9063"
    2024-07-19T16:50:01.400083+00:00 niihost CRON[818658]: (root) CMD (/usr/local/ispconfig/server/cron.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    2024-07-19T16:50:01.400329+00:00 niihost CRON[818659]: (root) CMD (/usr/local/ispconfig/server/server.sh 2>&1 | while read line; do echo `/bin/date` "$line" >> /var/log/ispconfig/cron.log; done)
    
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the debug output (see my post #2) that you get from server.sh when running it right after you switched the PHP version.
     
  6. jamesupereal

    jamesupereal New Member

    Thanks, Follow the step, I got this message.

    Code:
    root@niihost:/etc/nginx/sites-enabled# /usr/local/ispconfig/server/server.sh                                                                 
    setquota: Not setting block grace time on /dev/sda1 because softlimit is not exceeded.                                                       
    setquota: Not setting inode grace time on /dev/sda1 because softlimit is not exceeded.                                                       
    finished server.php.                                                                                                                         
    root@niihost:/etc/nginx/sites-enabled# 
    
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    You missed enabling debug mode. Please reread the instructions and follow them all.
     
    jamesupereal likes this.
  8. jamesupereal

    jamesupereal New Member

    Sorry for my mistake. Here is the latest log.

    Code:
    root@niihost:/etc/nginx/sites-enabled# /usr/local/ispconfig/server/server.sh
    22.07.2024-15:13 - DEBUG [plugins.inc:155] - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'.
    22.07.2024-15:13 - DEBUG [server:184] - Found 1 changes, starting update process.
    22.07.2024-15:13 - DEBUG [modules.inc:177] - Replicated from master: REPLACE INTO `web_domain` (`domain_id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`ip_address`,`ipv6_address`,`domain`,`type`,`parent_domain_id`,`vhost_type`,`document_root`,`web_folder`,`system_user`,`system_group`,`hd_quota`,`traffic_quota`,`cgi`,`ssi`,`suexec`,`errordocs`,`is_subdomainwww`,`subdomain`,`php`,`ruby`,`python`,`perl`,`redirect_type`,`redirect_path`,`seo_redirect`,`rewrite_to_https`,`ssl`,`ssl_letsencrypt`,`ssl_letsencrypt_exclude`,`ssl_state`,`ssl_locality`,`ssl_organisation`,`ssl_organisation_unit`,`ssl_country`,`ssl_domain`,`ssl_request`,`ssl_cert`,`ssl_bundle`,`ssl_key`,`ssl_action`,`stats_password`,`stats_type`,`allow_override`,`apache_directives`,`nginx_directives`,`php_fpm_use_socket`,`php_fpm_chroot`,`pm`,`pm_max_children`,`pm_start_servers`,`pm_min_spare_servers`,`pm_max_spare_servers`,`pm_process_idle_timeout`,`pm_max_requests`,`php_open_basedir`,`custom_php_ini`,`backup_interval`,`backup_copies`,`backup_format_web`,`backup_format_db`,`backup_encrypt`,`backup_password`,`backup_excludes`,`active`,`traffic_quota_lock`,`proxy_directives`,`last_quota_notification`,`rewrite_rules`,`added_date`,`added_by`,`directive_snippets_id`,`enable_pagespeed`,`http_port`,`https_port`,`folder_directive_snippets`,`log_retention`,`proxy_protocol`,`server_php_id`,`jailkit_chroot_app_sections`,`jailkit_chroot_app_programs`,`delete_unused_jailkit`,`last_jailkit_update`,`last_jailkit_hash`,`disable_symlinknotowner`) VALUES ('57','15','15','riud','ru','','12','*','','vpxoosvrayn.eu.org','vhost','0','name','/var/www/clients/client14/web57','','web57','client14','1000','1000000','n','n','n','0','1','none','php-fpm','n','n','n','','','','n','y','y','n','','','','','AF','vpxoosvrayn.eu.org','','','','','',NULL,'','All','','','n','n','ondemand','1','1','1','1','10','1000','/var/www/clients/client14/web57/web:/var/www/clients/client14/web57/private:/var/www/clients/client14/web57/tmp:/var/www/vpxoosvrayn.eu.org/web:/srv/www/vpxoosvrayn.eu.org/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom','','','0','','','n','','','y','n','',NULL,'','2024-07-17','','0','n','80','443',NULL,'30','n','29','','','n',NULL,NULL,'n')
    22.07.2024-15:13 - DEBUG [plugins.inc:118] - Calling function 'ssl' from plugin 'nginx_plugin' raised by event 'web_domain_update'.
    22.07.2024-15:13 - DEBUG [plugins.inc:118] - Calling function 'update' from plugin 'nginx_plugin' raised by event 'web_domain_update'.
    22.07.2024-15:13 - DEBUG [system.inc:2436] - safe_exec cmd: chattr -i '/var/www/clients/client14/web57' - return code: 0
    22.07.2024-15:13 - DEBUG [system.inc:2436] - safe_exec cmd: chattr +i '/var/www/clients/client14/web57' - return code: 0
    22.07.2024-15:13 - DEBUG [system.inc:2436] - safe_exec cmd: df -T '/var/www/clients/client14/web57'|awk 'END{print $2,$NF}' - return code: 0
    22.07.2024-15:13 - DEBUG [system.inc:2436] - safe_exec cmd: which 'setquota' 2> /dev/null - return code: 0
    22.07.2024-15:14 - DEBUG [system.inc:2436] - safe_exec cmd: setquota -u 'web57' '1024000' '1025024' 0 0 -a &> /dev/null - return code: 0
    setquota: Not setting block grace time on /dev/sda1 because softlimit is not exceeded.
    setquota: Not setting inode grace time on /dev/sda1 because softlimit is not exceeded.
    22.07.2024-15:14 - DEBUG [system.inc:2436] - safe_exec cmd: setquota -T -u 'web57' 604800 604800 -a &> /dev/null - return code: 0
    22.07.2024-15:14 - DEBUG [system.inc:2436] - safe_exec cmd: chattr +i '/var/www/clients/client14/web57' - return code: 0
    22.07.2024-15:14 - DEBUG [nginx plugin.inc:1395] - Enable SSL for: vpxoosvrayn.eu.org
    22.07.2024-15:14 - DEBUG [system.inc:2436] - safe_exec cmd: nginx -V 2>&1 | grep 'built with OpenSSL' | sed 's/.*built\([a-zA-Z ]*\)OpenSSL \([0-9.]*\).*/\2/' - return code: 0
    22.07.2024-15:14 - DEBUG [system.inc:2436] - safe_exec cmd: nginx -V 2>&1 | grep 'running with OpenSSL' | sed 's/.*running\([a-zA-Z ]*\)OpenSSL \([0-9.]*\).*/\2/' - return code: 0
    22.07.2024-15:14 - DEBUG [system.inc:2436] - safe_exec cmd: which 'nginx' 2> /dev/null - return code: 0
    22.07.2024-15:14 - DEBUG [nginx plugin.inc:1623] - Enable TLS 1.3 for: vpxoosvrayn.eu.org
    22.07.2024-15:14 - DEBUG [system.inc:2436] - safe_exec cmd: which 'nginx' 2> /dev/null - return code: 0
    22.07.2024-15:14 - DEBUG [system.inc:2436] - safe_exec cmd: which 'nginx' 2> /dev/null - return code: 0
    22.07.2024-15:14 - DEBUG [system.inc:2436] - safe_exec cmd: which 'nginx' 2> /dev/null - return code: 0
    22.07.2024-15:14 - DEBUG [nginx plugin.inc:1926] - Writing the vhost file: /etc/nginx/sites-available/vpxoosvrayn.eu.org.vhost
    22.07.2024-15:14 - DEBUG [nginx plugin.inc:3043] - Writing the PHP-FPM config file: /etc/php/8.2/fpm/pool.d/web57.conf
    22.07.2024-15:14 - DEBUG [services.inc:56] - Calling function 'restartPHP_FPM' from module 'web_module'.
    22.07.2024-15:14 - DEBUG [system.inc:2089] - Trying to use Systemd to restart service
    22.07.2024-15:14 - DEBUG [system.inc:2436] - safe_exec cmd: systemctl is-enabled 'php8.2-fpm' 2>&1 - return code: 0
    22.07.2024-15:14 - DEBUG [web module.inc:316] - Restarting php-fpm: systemctl reload php8.2-fpm.service
    22.07.2024-15:14 - DEBUG [nginx plugin.inc:2027] - nginx status is: running
    22.07.2024-15:14 - DEBUG [services.inc:56] - Calling function 'restartHttpd' from module 'web_module'.
    22.07.2024-15:14 - DEBUG [system.inc:2089] - Trying to use Systemd to restart service
    22.07.2024-15:14 - DEBUG [system.inc:2436] - safe_exec cmd: systemctl is-enabled 'nginx' 2>&1 - return code: 0
    22.07.2024-15:14 - DEBUG [web module.inc:236] - Checking nginx configuration...
    22.07.2024-15:14 - DEBUG [web module.inc:239] - nginx configuration ok!
    22.07.2024-15:14 - DEBUG [web module.inc:246] - Restarting httpd: systemctl restart nginx.service
    22.07.2024-15:14 - DEBUG [nginx plugin.inc:2030] - nginx restart return value is: 0
    22.07.2024-15:14 - DEBUG [nginx plugin.inc:2037] - nginx online status after restart is: running
    22.07.2024-15:14 - DEBUG [modules.inc:205] - Processed datalog_id 843
    22.07.2024-15:14 - DEBUG [server:224] - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
    finished server.php.
    root@niihost:/etc/nginx/sites-enabled# 
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    The debug output is from a site that is set to use PHP 8.2.
     
  10. jamesupereal

    jamesupereal New Member

    Actually I set it to PHP 8.0. May be I know why it happened. I add additional PHP versions to the master node. And when I change a site's PHP version it use the server_php_id in the master server, But this id is not exist in the slave node. So it's use default PHP version instead.
    Data in master server.
    [​IMG]
    Data in slave node.
    [​IMG]
    The replace sql:
    Code:
    REPLACE INTO `web_domain` (`domain_id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`ip_address`,`ipv6_address`,`domain`,`type`,`parent_domain_id`,`vhost_type`,`document_root`,`web_folder`,`system_user`,`system_group`,`hd_quota`,`traffic_quota`,`cgi`,`ssi`,`suexec`,`errordocs`,`is_subdomainwww`,`subdomain`,`php`,`ruby`,`python`,`perl`,`redirect_type`,`redirect_path`,`seo_redirect`,`rewrite_to_https`,`ssl`,`ssl_letsencrypt`,`ssl_letsencrypt_exclude`,`ssl_state`,`ssl_locality`,`ssl_organisation`,`ssl_organisation_unit`,`ssl_country`,`ssl_domain`,`ssl_request`,`ssl_cert`,`ssl_bundle`,`ssl_key`,`ssl_action`,`stats_password`,`stats_type`,`allow_override`,`apache_directives`,`nginx_directives`,`php_fpm_use_socket`,`php_fpm_chroot`,`pm`,`pm_max_children`,`pm_start_servers`,`pm_min_spare_servers`,`pm_max_spare_servers`,`pm_process_idle_timeout`,`pm_max_requests`,`php_open_basedir`,`custom_php_ini`,`backup_interval`,`backup_copies`,`backup_format_web`,`backup_format_db`,`backup_encrypt`,`backup_password`,`backup_excludes`,`active`,`traffic_quota_lock`,`proxy_directives`,`last_quota_notification`,`rewrite_rules`,`added_date`,`added_by`,`directive_snippets_id`,`enable_pagespeed`,`http_port`,`https_port`,`folder_directive_snippets`,`log_retention`,`proxy_protocol`,`server_php_id`,`jailkit_chroot_app_sections`,`jailkit_chroot_app_programs`,`delete_unused_jailkit`,`last_jailkit_update`,`last_jailkit_hash`,`disable_symlinknotowner`) VALUES ('57','15','15','riud','ru','','12','*','','vpxoosvrayn.eu.org','vhost','0','name','/var/www/clients/client14/web57','','web57','client14','1000','1000000','n','n','n','0','1','none','php-fpm','n','n','n','','','','n','y','y','n','','','','','AF','vpxoosvrayn.eu.org','','','','','',NULL,'','All','','','n','n','ondemand','1','1','1','1','10','1000','/var/www/clients/client14/web57/web:/var/www/clients/client14/web57/private:/var/www/clients/client14/web57/tmp:/var/www/vpxoosvrayn.eu.org/web:/srv/www/vpxoosvrayn.eu.org/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/dev/random:/dev/urandom','','','0','','','n','','','y','n','',NULL,'','2024-07-17','','0','n','80','443',NULL,'30','n','29','','','n',NULL,NULL,'n')
    This sql used the server_php_id is 29 , which in master server but not in slave node.

    If I have some mistake when I add additional PHP versions ?

    Thanks.
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    How did you add the PHP versions on the master? I guess you might have added it with SQL directly and not through ISPConfig GUI, which would cause the versions to be missing on the slave node. If you add them in ISPConfig GUI, they get added to the slave node as well through ISPConfig's internal replication mechanism and are, therefore, present on the slave.
     
    jamesupereal likes this.
  12. jamesupereal

    jamesupereal New Member

    Yes, I added it by SQL directly. :D Thank you for your patience and guidance, you are really amazing. Additionally, I would like to ask if there is a convenient way to add additional PHP versions, as adding them one by one is a bit tedious.
     
    ahrasis likes this.
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Currently, the only way is to add them using GUI. If you want to do ti with a script, you would have to use the ISPConfig MySQL library for that and there use the datalogInsert function instead of a SQL query to add them.
     
    ahrasis likes this.
  14. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Does ISPConfig AutoInstaller use this method for adding multiple php to ISPConfig as well after it finished installing it? I didn't see this when going through the code but will look into it again later.
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    The auto-installer does not install Multiserver PHP, and it's not required for a single server. The problem in this thread is that the user added PHP versions for a slave server using SQL after he installed a multiserver setup while not using the same numeric ID's on master and slave.
     
    ahrasis likes this.
  16. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Agreed for multiserver and we could opt out and use system default php for single server. I was thinking it does install multiple php by default if it is a web server, right? So there is code for doing it in the autoinstaller right?

    Understood. I mean if the code in the auto installer for installing multiple php can be looked into and use in this instance instead of his earlier approach, does that makes sense?
     
  17. till

    till Super Moderator Staff Member ISPConfig Developer

    @ahrasis The auto-installer cannot register multiple PHP versions on the master, so you must add them to the master after adding the slave node.
     
    ahrasis likes this.
  18. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Didn't we fix this? I'm unsure now...
     

Share This Page