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

Centos 4.4 Upgrade to PHP/MySQL 5 - broken plesk

Discussion in 'Plesk for Linux - 8.x and Older' started by ashley, Apr 18, 2007.

  1. ashley

    ashley Basic Pleskian

    23
    23%
    Joined:
    Nov 12, 2001
    Messages:
    27
    Likes Received:
    0
    Hi

    Current System
    Centos 4.4
    PHP 4.3.9
    MySQL 4.1.20
    Plesk 8.0.1

    Need to go to at least PHP 4.4.4

    Problems ....

    I added centosplus to yum and installed PHP 5.1.6-3. and MySQL 5.0.27 (said it wanted to do MySQL too). All fine except that when i try to log in to plesk, it gives me the configure screen you get when you first install plesk (enter hostname, ips, password). If i submit that page with the details, the first time it wouldnt because it had added about 50 spaces after hostname, Second time, i got wise, deleted spaces and submitted but it looped straight back saying Warning - fill in all the details. They were.

    Added logging to php.ini (plesk one not server one) and get (possibly relevantly)..


    _______________________________________________
    [Wed Apr 18 20:50:05 2007] [error] PHP Warning: lmsg(en-US /messages_en-US .php) [<a href='function.lmsg'>function.lmsg</a>]: failed to open stream: No such file or directory in /usr/local/psa/admin/plib/common_func.php3 on line 1401
    [Wed Apr 18 20:50:05 2007] [error] PHP Fatal error: lmsg() [<a href='function.require'>function.require</a>]: Failed opening required 'en-US /messages_en-US .php' (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/javascripts:/usr/local/psa/admin/plib/locales:/usr/local/psa/admin/auto_prepend:/usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin:/usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin') in /usr/local/psa/admin/plib/common_func.php3 on line 1401


    _______________________________________________

    So ive downgraded and back to normal again.

    So anyone know whats going on there, how to get php5 (alone or with mysql 5 - not bothered about mysql really - it just insisted i installed with php5 and i went along with it) working with 8.0.1. Im happy to upgrade plesk to 8.1x if it helps.

    I did think about going over to atomic but after this initial time wasting exercise thought id check here before trying that in case i was to encounter same issues. Also couldnt see all the packages i needed there but could be i am lost in frustration and missing something.

    Many thanks in advance for your replies :)

    Cheers
    Ashley
     
  2. faris

    faris Guest

    0
     
    The version of php you use for hosting should have absolutely no effect on Plesk because it uses its own instance of httpd with its on php (php5 as it happens for Plesk 8.x).

    The database is used by plesk though.

    I think support for php5 was introduced in Plesk 8.1, not 8.0.1 so that might be your problem. I'm not 100% sure of it though.

    Faris.
     
  3. mad93

    mad93 Guest

    0
     
    You can upgrade to php5... mysql5 messed all...

    I've done this way:

    rpm -e --nodeps php-domxml
    yum --enablerepo=centosplus update php*
    yum --enablerepo=centosplus install php-xml
     
Loading...