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

Plesk panel will not run after php upgrade

Discussion in 'Plesk 9.x for Windows Issue, Fixes, How-To' started by Ari K, Jul 27, 2009.

  1. Ari K

    Ari K Guest

    0
     
    I hope someone can shed some light here,

    Upgraded to PHP 5.3, plesk login page now displays

    "The file index.php is part of Plesk distribution. It cannot be run outside of Plesk environment."

    My understanding is that this is caused either by a bad license file (doubtful, since everything worked fine before php upgrade), or else plesk does not like the php environment.

    I copied php.ini settings as closely as possible from the original PleskPHP5 directory.

    I installed php 5.3 using php.net binary installer into a new directory, then updated php.ini to get it working under iis using fastcgi, then updated php.ini with settings as per plesk php config.

    Something is still off. Is anyone able to help me get plesk control panel back up and running -- Thanks... In the meantime I may try re-installing the license... not sure what else to try...??
     
  2. Flagg

    Flagg Guest

    0
     
  3. Ari K

    Ari K Guest

    0
     
    Thanks flagg,

    When I use the command

    %plesk_bin%\reconfigurator.exe --switch-plesk-web-server --new-provider=apache

    The error message changes to

    "The file auth.php3 is part of Plesk distribution. It cannot be run outside of Plesk environment."

    When I switch back to iis, it shows the same message about index.php (as in original post).

    Of course both times it is served via IIS, as I have not installed Apache on this server.
    I am running IIS7 on Windows Web Server 2008 OS.

    Please advise, how to troubleshoot this issue, thanks very much.
     
  4. jamescrown

    jamescrown Guest

    0
     
    You cannot update the version of PHP that plesk CP uses. Only modify the PHP versions within %plesk_dir%\additional

    If this update is for PCI compliance consider adding "expose_php = Off" to %plesk_dir%\admin\php.ini
     
  5. Ari K

    Ari K Guest

    0
     
    Thanks james, nice for someone to just come out and say it. I've found all kinds of conflicting statements on these forums. I will not try to fathom why plesk cannot run on normal php binaries.

    Is it possible to install new versions in the /additional folder and have them appear in plesk CP?
     
  6. Maria m

    Maria m Guest

    0
     
Loading...