• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

wrong php version

P

pvaneyck

Guest
Install of all the sitbuilder components done, so we have a php5 cli shipped with Directadmin and php5 created with the install of Sitebuilder /opt/php52/bin/ and /opt/php52/cgi-bin , so i created phpinfo.php file within the directory /usr/local/sitebuilder/htdocs but when we go to phpinfo.php we have still the standard PHP5 version shipped with Directadmin :

sb_config :

phpcgi_path = /opt/php52/cgi-bin/php5
phpcli_path = /opt/php52/bin/php5


/opt/php52/bin/php5 -m|grep sitebuilder
sitebuilder3

/opt/php52/cgi-bin/php5 -m|grep sitebuilder
sitebuilder3

check.php is not good because it is still the other PHP version shipped with Directadmin that shows up .

So i think it is the file zz011_sitebuilder.conf that have wrong directions ? the file is untouched it is the original file .
 
Make sure that file zz011_sitebuilder.conf is included into main Apache configuration file as there is defined which PHP to use. Do not forget to restart apache in case of any changes.
 
Back
Top