Updating InterWorx 3.0 to PHP 5.2.x and MySQL (CentOS)

There seems to be a lot of people getting errors on popular CMS’s like WordPress and Joomla! after upgrading php so here is a quick and easy guide for users on CentOS 5.

  1. root login with Putty

  2. Type of the following:
    a) rpm -ihv http://mirror.steadfast.net/misc/iworx/php52/cos5/i386/iworx-php-release-5.2-2.steadfast.noarch.rpm
    b) yum remove php-pdo php-pear
    c) service httpd restart

  3. If you get any errors about a package being inconpatable with the upgrade then add that to the ‘yum remove package_name’

  4. Type the following:
    a) /etc/init.d/mysqld stop
    b) yum install mysql mysql-devel mysql-server
    c) /etc/init.d/httpd stop
    d) yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel

  5. Type the following
    a) /etc/init.d/httpd start
    b) /etc/init.d/mysqld start

Let me know if that works for you :slight_smile: