Difference between revisions of "PHP"

From Atomicorp Wiki
Jump to: navigation, search
Line 19: Line 19:
  
 
2) php.ini settings, like memory_limit
 
2) php.ini settings, like memory_limit
 +
 +
3) execstack -c on any extensions that claim to need an executible stack (ASL users only)
 +
 +
  
 
'''Known Issues'''
 
'''Known Issues'''
  
 
CentOS4, the sw-soft php-ioncube-loader only contains ioncube-loader libraries for PHP 4.3
 
CentOS4, the sw-soft php-ioncube-loader only contains ioncube-loader libraries for PHP 4.3

Revision as of 16:15, 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

Checklist

1) Ioncube loader, or other extensions that have to be updated

2) php.ini settings, like memory_limit

3) execstack -c on any extensions that claim to need an executible stack (ASL users only)


Known Issues

CentOS4, the sw-soft php-ioncube-loader only contains ioncube-loader libraries for PHP 4.3

Personal tools