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

PHP5 install howto?

Discussion in 'Plesk for Linux - 8.x and Older' started by perler, Jan 11, 2006.

  1. perler

    perler Guest

    0
     
    hi,

    I read a lot of threads telling, that installing PHP5 into 7.5.4 is possible. most are doing it by the ART rpms, but this is not an option for me because i'm on debian.

    those who did upgrade by recompiling - did you have to do anything in plesk after the instalation? in my case i get the dreaded
    on all my domains.

    what can I do?

    PAT
     
  2. jvanv8

    jvanv8 Guest

    0
     
    I am also wondering how to upgrade to PHP 5.1 on a dedicated Linux box running Plesk Reloaded
     
  3. excentrico

    excentrico Guest

    0
     
  4. kmv123

    kmv123 Guest

    0
     
    Hello,

    First of all, you have to install the following Debian packages:

    (You can select packages you are going to use only)

    php5-cgi_5.0.5-3_i386.deb
    php5-cli_5.0.5-3_i386.deb
    php5-common_5.0.5-3_i386.deb
    php5-curl_5.0.5-3_i386.deb
    php5-dev_5.0.5-3_i386.deb
    php5-gd_5.0.5-3_i386.deb
    php5-imap_5.0.5-1_i386.deb
    php5-ldap_5.0.5-3_i386.deb
    php5-mhash_5.0.5-3_i386.deb
    php5-mysql_5.0.5-3_i386.deb
    php5-odbc_5.0.5-3_i386.deb
    php5-pgsql_5.0.5-3_i386.deb
    php5-recode_5.0.5-3_i386.deb
    php5-snmp_5.0.5-3_i386.deb
    php5-sqlite_5.0.5-3_i386.deb
    php5-sybase_5.0.5-3_i386.deb
    php5-xmlrpc_5.0.5-3_i386.deb
    php5-xsl_5.0.5-3_i386.deb
    php5_5.0.5-3_all.deb

    After that you need to run "/opt/psa/admin/sbin/websrvmng -a -v" and restart Apache service.

    To install php5 you can add into /etc/apt/sources.list the following lines:

    deb http://debian.home-dn.net/sarge php5/

    or

    deb http://people.debian.org/~dexter php5.0 sarge

    After that run "apt-get update" to update packages list.

    Then install php5 using your favorite packages installer.

    Basically if php5 package is installed and properly configured, then Plesk recognizes it automatically and starts to use.
     
  5. perler

    perler Guest

    0
     
    i wonder why my plesk installation doesn't recognizes it and disables php (see first post). any ideas? i use the php from backports.org..

    PAT
     
  6. excentrico

    excentrico Guest

    0
     
  7. kmv123

    kmv123 Guest

    0
     
    What is output of following command:

    $dpkg -l php* | grep ^i
     
  8. perler

    perler Guest

    0
     
    Code:
    iss2:~/transfer# dpkg -l php* | grep ^i
    ii  php4-common    4.3.10-16      Common files for packages built from the php
    ii  php4-gd        4.3.10-16      GD module for php4
    ii  php4-imap      4.3.10-16      IMAP module for php4
    ii  php5-cli       5.1.2-1.dotdeb PHP 5 scripting language
    ii  php5-common    5.1.2-1.dotdeb Common files for packages built from the php
    ii  php5-curl      5.1.2-1.dotdeb CURL module for php5
    ii  php5-gd        5.1.2-1.dotdeb GD module for php5
    ii  php5-mcrypt    5.1.2-1.dotdeb MCRYPT module for php5
    ii  php5-mhash     5.1.2-1.dotdeb MHASH module for php5
    ii  php5-ming      5.1.2-1.dotdeb Ming module for php5
    ii  php5-mysql     5.1.2-1.dotdeb MySQL module for php5
    ii  php5-odbc      5.1.2-1.dotdeb ODBC module for php5
    ii  php5-pear      5.1.2-1.dotdeb PEAR - PHP Extension and Application Reposit
    ii  php5-tidy      5.1.2-1.dotdeb Tidy module for php5
    
     
     
  9. samoli

    samoli Guest

    0
     
  10. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    Re: Debian Plesk PHP5 instructions

    where can i get Plesk 7.5.5 i only found 7.5.4 on the www.swsoft.com download site ?

    do someone know when plesk 8 is ready for download ?

    daniel
     
  11. samoli

    samoli Guest

    0
     
    Sorry I meant Plesk 7.5.4! Getting ahead of the game there!
     
  12. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    Supposedly the beta version of 8.0 will be released at the end of the month. But I'd wait a while before upgrading, until version 8.0.2 or so. There are always bugs in the early release.
     
  13. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    ok, i try now to install plesk 7.5.4 on debain sarge with php5, i am new with plesk ....

    i hope it works fine .....

    daniel
     
  14. samoli

    samoli Guest

    0
     
    I've noticed some problems with horde when you upgrade due to a change in the way the php function array_shift() has changed it's behaviour since php 5.0.5..

    I made a couple of simple hacks to the psa horde code and it works now. Let me know if you need them
     
  15. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    is there a reason to not use http://dotdeb.org for php5 with plesk ?
    have someone try it ?
     
  16. samoli

    samoli Guest

    0
     
    As far as I know the dotdeb packages should work fine.. I haven't tried it but I can't see why they wouldn't.
     
  17. danliker

    danliker Silver Pleskian Plesk Certified Professional

    33
    43%
    Joined:
    Feb 15, 2006
    Messages:
    575
    Likes Received:
    0
    Location:
    Switzerland
    are there some importent howtos / sites / informations for plesk beginners ?

    daniel
     
  18. wyndryder

    wyndryder Guest

    0
     
    Re: Debian Plesk PHP5 instructions

    That was super helpful. I'd like to thank you for posting this.

    Do you know how to get plesk to recognize php5?
     
Loading...