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

how i can update php 5.1.6 to php 5.2.X

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by CristobalM, Oct 1, 2010.

  1. CristobalM

    CristobalM Guest

    0
     
    Update problems with the php version 5.16 to version 5.2.x

    I can update it as I'm new at this

    I looked around there and have come up here and I get this result:


    yum update php
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * atomic: www6.atomicorp.com
    addons | 951 B 00:00
    base | 2.1 kB 00:00
    extras | 2.1 kB 00:00
    updates | 1.9 kB 00:00
    Setting up Update Process
    Resolving Dependencies
    --> Running transaction check
    --> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
    ---> Package php.x86_64 0:5.2.14-2.el5.art set to be updated
    --> Processing Dependency: php-cli = 5.2.14-2.el5.art for package: php
    --> Processing Dependency: php-common = 5.2.14-2.el5.art for package: php
    --> Running transaction check
    --> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
    ---> Package php-cli.x86_64 0:5.2.14-2.el5.art set to be updated
    --> Processing Dependency: php-common = 5.1.6-27.el5 for package: php-xml
    --> Processing Dependency: php-common = 5.1.6-27.el5 for package: php-pdo
    --> Processing Dependency: php-common = 5.1.6-27.el5 for package: php-gd
    --> Processing Dependency: php-common = 5.1.6-27.el5 for package: php-mbstring
    --> Processing Dependency: php-common = 5.1.6-27.el5 for package: php-mysql
    --> Processing Dependency: php-common = 5.1.6-27.el5 for package: php-imap
    ---> Package php-common.x86_64 0:5.2.14-2.el5.art set to be updated
    --> Running transaction check
    --> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
    ---> Package php-gd.x86_64 0:5.2.14-2.el5.art set to be updated
    --> Processing Dependency: libt1.so.5()(64bit) for package: php-gd
    ---> Package php-imap.x86_64 0:5.2.14-2.el5.art set to be updated
    ---> Package php-mbstring.x86_64 0:5.2.14-2.el5.art set to be updated
    ---> Package php-mysql.x86_64 0:5.2.14-2.el5.art set to be updated
    ---> Package php-pdo.x86_64 0:5.2.14-2.el5.art set to be updated
    ---> Package php-xml.x86_64 0:5.2.14-2.el5.art set to be updated
    --> Running transaction check
    --> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
    ---> Package t1lib.x86_64 0:5.1.2-2.el5.art set to be updated
    --> Processing Dependency: libXaw.so.7()(64bit) for package: t1lib
    --> Processing Dependency: libXt.so.6()(64bit) for package: t1lib
    --> Running transaction check
    ---> Package libXaw.x86_64 0:1.0.2-8.1 set to be updated
    --> Processing Dependency: libXmu.so.6()(64bit) for package: libXaw
    ---> Package libXt.x86_64 0:1.0.2-3.2.el5 set to be updated
    --> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
    --> Running transaction check
    ---> Package libXmu.x86_64 0:1.0.2-5 set to be updated
    --> Processing Dependency: php <= 5.2.0 for package: php-sqlite2
    --> Finished Dependency Resolution
    php-sqlite2-5.1.6-200705230937.x86_64 from installed has depsolving problems
    --> Missing Dependency: php <= 5.2.0 is needed by package php-sqlite2-5.1.6-200705230937.x86_64 (installed)
    Error: Missing Dependency: php <= 5.2.0 is needed by package php-sqlite2-5.1.6-200705230937.x86_64 (installed)
    You could try using --skip-broken to work around the problem
    You could try running: package-cleanup --problems
    package-cleanup --dupes
    rpm -Va --nofiles --nodigest
    The program package-cleanup is found in the yum-utils package.




    Anyone can help? thx
     
  2. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    yum remove php-sqlite2
     
  3. CristobalM

    CristobalM Guest

    0
     
    now have these failed

    php -v

    Failed loading /usr/lib64/php/modules//php_ioncube_loader_lin_5.1_x86_64.so: /usr/lib64/php/modules//php_ioncube_loader_lin_5.1_x86_64.so: undefined symbol: zend_unmangle_property_name_ex
    PHP 5.2.14 (cli) (built: Aug 12 2010 16:03:48)
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
     
  4. rosskendall

    rosskendall Basic Pleskian

    17
     
    Joined:
    Oct 13, 2010
    Messages:
    41
    Likes Received:
    0
    Update ionCube

    Just download the most up-to-date loader package from the ioncube website: http://www.ioncube.com/loaders.php
    and copy them into the appropriate lib directory (/usr/lib64/php/modules/).

    You will also need to update /etc/php.d/ioncube-loader.ini
    to point to the right file, eg.:
    zend_extension=/usr/lib64/php/modules/ioncube_loader_lin_5.2.so
     
  5. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    these and other extensions are also available from the atomic repo as:

    php-ioncube-loader
    php-zend-optimizer
    php-eaccelerator
    php-suhosin
     
  6. CristobalM

    CristobalM Guest

    0
     
    Thanks I updated but now I have a problem I did the update as stated in other thread and has given me a problem is that when I proceed to install any CMS either from the web or from plesk i get this problem


    Table 'mysql.servers' does not exist




    I investigated a little and I found something that I have solved the problem now and it works all right.

    The problem is that updating and implementing new features to the mysql table is cleared and the need to create one I found is that I have solved the problem.

    If anyone has this problem and know how can solve it

    CREATE TABLE `servers` (
    `Server_name` char(64) NOT NULL,
    `Host` char(64) NOT NULL,
    `Db` char(64) NOT NULL,
    `Username` char(64) NOT NULL,
    `Password` char(64) NOT NULL,
    `Port` int(4) DEFAULT NULL,
    `Socket` char(64) DEFAULT NULL,
    `Wrapper` char(64) NOT NULL,
    `Owner` char(64) NOT NULL,
    PRIMARY KEY (`Server_name`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='MySQL Foreign Servers table';
     
    Last edited by a moderator: Oct 25, 2010
Loading...