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

PHP upgrade - No longer access panel

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by TheHat, May 11, 2011.

  1. TheHat

    TheHat Guest

    0
     
    Hi

    I upgraded my PHP to V5.3 via this command

    yum remove php*
    yum install php53*

    That worked ok, restarted apache, sites etc seemed to work ok apart from one wordpress site that seems to be corrupted.

    However now I cannot access my Plesk control panel. First I was getting a 404 error, after a server reboot i get

    Unable to connect

    Firefox can't establish a connection to the server at ********.ovh.net:8443.

    Please can somebody help me in anyway, maybe an upgrade to Plesk may do the trick, or can PHP be downgraded, I have since read my version does not support V5.3 PHP

    I can get the Plesk default page if I do not include the :8443.

    Regards

    Gary
     
  2. MorenoC

    MorenoC Guest

    0
     
    Hi,

    I had the same problem today so i'm interested too for the solution...
     
  3. TheHat

    TheHat Guest

    0
     
    Solution

    Ok the solution was to basically repair Plesk as the upgrade has destroyed files.

    I'm about to go out I will post my solution once I get back. My Plesk is now working ok, but PHP is back to V5.1 something.

    Gary
     
  4. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
  5. TheHat

    TheHat Guest

    0
     
    Solution

    Ok Here goes

    Log into your server as root via Putty.

    Then type the following - echo '9.5.4 SuSE 11.1 95101209.08 ' > /usr/local/psa/version - changing 9.5.4 for your version

    Then Type - /usr/local/psa/admin/sbin/autoinstaller --select-product-id plesk --select-release-id PLESK_9_5_4 --install-component base


    That sorted out everything for me. Back to the older version of PHP though.

    Hope this helps

    Gary
     
  6. TheHat

    TheHat Guest

    0
     
    Does V9.5.4 support PHP 5.3?
     
  7. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    Plesk doesn’t ship client’s PHP, it only downloads it from original OS vendor repo and it is quite likely it may be outdated there (especially for older OS). If your OS comes with PHP 5.3, then Plesk would run PHP 5.3 for clients.
     
  8. TheHat

    TheHat Guest

    0
     
    I tried the upgrade, done a PHP check and still have 5.1.6.

    Any ideas?
     
  9. TheHat

    TheHat Guest

    0
     
    Neither of these steps would complete.

    Step 3) Replace the PHP 4 php.ini with PHP 5.3.x's (if applicable):

    mv /etc/php.ini.rpmnew /etc/php.ini

    Step 4) Replace the php.conf with the PHP 5.3.x php.conf (if applicable):

    mv /etc/httpd/conf.d/php.conf.rpmnew /etc/httpd/conf.d/php.conf


    I get this message

    [root@******* ~]# mv /etc/php.ini.rpmnew /etc/php.ini
    mv: cannot stat `/etc/php.ini.rpmnew': No such file or directory
     
Loading...