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 5.2.3 installation....

Discussion in 'Plesk for Linux - 8.x and Older' started by sathtek, Aug 15, 2007.

  1. sathtek

    sathtek Guest

    0
     
    Hello....
    How can i install php 5.2.3 on plesk 8.2, currently i have php5.1.6, kindly guide me how to update php to version 5.2.3 through plwsk 8.2 control panel...
     
  2. atomicturtle

    atomicturtle Golden Pleskian

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

    sathtek Guest

    0
     
    Sir...
    This article is related to OS Centos and if my current version is 4.3.x

    but my OS is Fedore core 6
    and my currnet php version is 5.1.6

    kindly tell me if it is possible to do through my plesk 8.2 control panel....
     
  4. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    I make packages for CentOS 3/4, RHEL 3/4, Fedora 4-7
     
  5. Corin

    Corin Guest

    0
     
    Hi

    I have the same problem (trying to upgrade php from 5.1.6 to 5.2.3 on Plesk 8.2.0), but I am using CentOS 5.

    How can I do this?

    Cheers
     
  6. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Same way outlined above
     
  7. Corin

    Corin Guest

    0
     
    You said you only make packages for CentOS 3/4, surely it wont work with CentOS 5?
     
  8. poke

    poke Guest

    0
     
    ART's repo does have a centos 5 channel.
     
  9. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    yep, Ive even got Fedora 8 packages too.
     
  10. slubby10

    slubby10 Guest

    0
     
    I followed the wiki from ART. I get the following after "yum install php-pear"

    Error: Missing Dependency: php = 4.3.9-3.22.9 is needed by package php-pear
    Error: Missing Dependency: php-common = 5.2.3-1.el4.art is needed by package php-xml
    Error: Missing Dependency: php-common = 5.2.3-4.el4.art is needed by package php-pdo

    Not sure what I'm missing or need to do.
     
  11. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Ah those could be the swsoft php rpms in the way. Whats the output of:

    rpm -qa |grep ^php-
     
  12. slubby10

    slubby10 Guest

    0
     
    bash-3.00# rpm -qa |grep ^php-

    php-domxml-4.3.9-3.18.1.swsoft
    php-mbstring-4.3.9-3.18.1.swsoft
    php-pear-4.3.9-3.18.1.swsoft
    php-sqlite2-1.0.2-200611091324
    php-gd-4.3.9-3.18.1.swsoft
    php-mysql-4.3.9-3.18.1.swsoft
    php-pgsql-4.3.9-3.18.1.swsoft
    php-ioncube-loader-3.0-06101816
    php-4.3.9-3.18.1.swsoft
    php-imap-4.3.9-3.18.1.swsoft
    php-ncurses-4.3.9-3.18.1.swsoft
    php-snmp-4.3.9-3.18.1.swsoft
    php-devel-4.3.9-3.18.1.swsoft
    php-ldap-4.3.9-3.18.1.swsoft
    php-odbc-4.3.9-3.18.1.swsoft
    php-xmlrpc-4.3.9-3.18.1.swsoft
     
  13. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    ok you'll need to remove all those with rpm -e <package name> --nodeps, and then install the 5.2.3 versions through yum.
     
  14. slubby10

    slubby10 Guest

    0
     
    I removed all the packages listed. When I went to run the yum it failed because it wanted the php-4.3... I found a copy of php-4.3. I tried to install it but it complained about needint php-pear. I found a copy of it and installed it using rpm -ivh --nodeps. Finally I was able to do the yum install php-pear. Restarted http and works fine.

    Now I have the following installed.

    bash-3.00# rpm -q|grep ^php-
    rpmq: no arguments given for query
    -bash-3.00# rpm -qa|grep ^php-
    php-cli-5.2.3-5.el4.art
    php-common-5.2.3-5.el4.art
    php-pear-1.5.0-5.el4.art
    php-5.2.3-5.el4.art

    How do I get the correct version of these other extensions that I removed?

    Also, what is the best way to update mysql?

    -bash-3.00# rpm -qa|grep mysql-
    dummymysql-2-1.swsoft
    mysql-4.1.20-1.RHEL4.1
    mysql-4.1.20-1.RHEL4.1
    mysql-devel-4.1.20-1.RHEL4.1
    libdbi-dbd-mysql-0.6.5-10.RHEL4.1
    mysql-server-4.1.20-1.RHEL4.1
    psa-ruby-mysql-2.7-200703301206

    Thanks!
     
  15. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    yum install <packagename>, to see a list you can either use yum search <searchstring> or yum list
     
  16. zorrito

    zorrito Guest

    0
     
    hi guys, in my centos 4.2 server I had the same problem with yum

    Code:
    
    [goofy ~]# rpm -qa |grep ^php-
    php-4.3.9-3.22.9
    php-mysql-5.2.3-4.el4.art
    php-pdo-5.2.3-4.el4.art
    php-domxml-4.3.9-3.22.9
    php-imap-4.3.9-3.22.9
    php-common-5.2.3-4.el4.art
    php-pgsql-4.3.9-3.22.9
    php-gd-4.3.9-3.22.9
    php-ioncube-loader-3.0-06101212
    php-mbstring-4.3.9-3.22.9
    php-pear-4.3.9-3.22.9
    
    [goofy ~]# rpm -e php --nodeps
    
    [goofy ~]# yum install php
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Package php.i386 0:5.2.3-4.el4.art set to be updated
    --> Running transaction check
    --> Processing Dependency: php-cli = 5.2.3-4.el4.art for package: php
    --> Restarting Dependency Resolution with new changes.
    --> Populating transaction set with selected packages. Please wait.
    ---> Package php-cli.i386 0:5.2.3-4.el4.art set to be updated
    --> Running transaction check
    
    Dependencies Resolved
    
    =============================================================================
     Package                 Arch       Version          Repository        Size
    =============================================================================
    Installing:
     php                     i386       5.2.3-4.el4.art  atomic            3.7 M
    Installing for dependencies:
     php-cli                 i386       5.2.3-4.el4.art  atomic            2.6 M
    
    Transaction Summary
    =============================================================================
    Install      2 Package(s)
    Update       0 Package(s)
    Remove       0 Package(s)
    Total download size: 6.3 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/2): php-5.2.3-4.el4.ar 100% |=========================| 3.7 MB    00:03
    (2/2): php-cli-5.2.3-4.el 100% |=========================| 2.6 MB    00:02
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing: php-cli                      ######################### [1/2]
      Installing: php                          ######################### [2/2]
    
    Installed: php.i386 0:5.2.3-4.el4.art
    Dependency Installed: php-cli.i386 0:5.2.3-4.el4.art
    Complete!
    
    
    
    
    but now i got this
    Code:
     
    [goofy ~]# rpm -qa |grep ^php-
    php-mysql-5.2.3-4.el4.art
    php-pdo-5.2.3-4.el4.art
    php-domxml-4.3.9-3.22.9
    php-imap-4.3.9-3.22.9
    php-common-5.2.3-4.el4.art
    php-cli-5.2.3-4.el4.art
    php-pgsql-4.3.9-3.22.9
    php-gd-4.3.9-3.22.9
    php-ioncube-loader-3.0-06101212
    php-mbstring-4.3.9-3.22.9
    php-pear-4.3.9-3.22.9
    php-5.2.3-4.el4.art
    [goofy ~]#
    and it is not working the mysql interfase... HELPª
     
  17. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
  18. zorrito

    zorrito Guest

    0
     
    yep, I read that link too....

    searching the /etc/httpd/conf.d/php.conf.rpmnew
     
  19. zorrito

    zorrito Guest

    0
     
    I didnt get those last file, in my web server i got this:


    Code:
    Database Error: Unable to connect to the database:The MySQL adapter "mysql" is not available.
    mysql 5 was updated fine before php... :eek:
     
  20. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    where does that error come from?

    Does running this work?
    mysql -uadmin -p`cat /etc/psa/.psa.shadow`

    Those are ` (next to the 1 key) and not '
     
Loading...