CentOS 4 - PHP5 upgrade

Support/Development for PHP
drewament
New Forum User
New Forum User
Posts: 1
Joined: Thu Jan 24, 2008 8:02 pm

CentOS 4 - PHP5 upgrade

Unread post by drewament »

After upgrading to PHP5...the only error I am getting is

Code: Select all

# php -v
Failed loading /usr/lib/php4/php_ioncube_loader_lin_4.3.so:  /usr/lib/php4/php_ioncube_loader_lin_4.3.so: cannot open shared object file: No such file or directory
PHP 5.2.5 (cli) (built: Jan 19 2008 10:08:24)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
    with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd.                            
I updated as per the wiki....same problem.

as said in http://forum.swsoft.com/showthread.php?t=49481 by scott, I did yum update still with same problem.

Please assist. Thanks!
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

Seems like you have ionCube Loader installed and it tries to load the module for PHP 4.3. You are now running 5.2, so this causes problems. You'll need to find where this module is loaded and either disable it (if you don't really need it) or change it to load the version for PHP 5.2 (if you have that).

The nicest solution is probably to first completely remove your ionCube Loader install and then install ART's ready-to-go rpm: yum install php-ioncube-loader.
Lemonbit Internet Dedicated Server Management
Post Reply