1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

wrong php version

Discussion in 'SiteBuilder' started by pvaneyck, Jan 19, 2009.

  1. pvaneyck

    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

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

    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 .
  2. Dmitry Frantsev

    Dmitry Frantsev Golden Pleskian

    Sep 19, 2005
    Likes Received:
    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.