Difference between revisions of "PHP"
From Atomicorp Wiki
Line 1: | Line 1: | ||
− | PHP 5.2.x installation | + | '''PHP 5.2.x installation''' |
php-pear, and php-sqlite2 will conflict with this if you try to do a normal yum upgrade. Try as I might, I cant seem to get the newer php-pear to be recognized by the older as an update event. | php-pear, and php-sqlite2 will conflict with this if you try to do a normal yum upgrade. Try as I might, I cant seem to get the newer php-pear to be recognized by the older as an update event. | ||
Line 5: | Line 5: | ||
To upgrade to PHP 5.2.2 on CentOS4, while running php-4.3.x: | To upgrade to PHP 5.2.2 on CentOS4, while running php-4.3.x: | ||
− | Step 1) | + | Step 1) Remove incompatible packages |
yum remove php-sqlite2 | yum remove php-sqlite2 | ||
− | Step 2) | + | Step 2) Upgrade to php5.2.x |
yum install php-pear | yum install php-pear | ||
− | Step 3) | + | Step 3) Replace the PHP 4 ini with PHP 5.2.x's |
mv /etc/php.ini.rpmnew /etc/php.ini | mv /etc/php.ini.rpmnew /etc/php.ini | ||
+ | |||
+ | |||
+ | '''Known Issues''' | ||
+ | |||
+ | CentOS4, the sw-soft php-ioncube-loader only contains ioncube-loader libraries for PHP 4.3 |
Revision as of 14:22, 4 May 2007
PHP 5.2.x installation
php-pear, and php-sqlite2 will conflict with this if you try to do a normal yum upgrade. Try as I might, I cant seem to get the newer php-pear to be recognized by the older as an update event.
To upgrade to PHP 5.2.2 on CentOS4, while running php-4.3.x:
Step 1) Remove incompatible packages
yum remove php-sqlite2
Step 2) Upgrade to php5.2.x
yum install php-pear
Step 3) Replace the PHP 4 ini with PHP 5.2.x's
mv /etc/php.ini.rpmnew /etc/php.ini
Known Issues
CentOS4, the sw-soft php-ioncube-loader only contains ioncube-loader libraries for PHP 4.3