Donate to A.R.T.

Advertisement

powered_by.png, 1 kB

Home arrow Projects arrow PHP Packages
PHP Packages Print E-mail
Written by scott   
Friday, 30 June 2006

Table of Contents

Overview

Installation/Upgrade

Known Issues

Todo



Overview

The ART archive originated with the creation of PHP rpms, in support of development I was doing at the time on Horde. This initially started with PHP 4.3.x, based on my own design, eventually merging in features and components from FC2 and FC3, and ended with 4.4.2. The design of this package is in conflict with the design used in FC4 and above, so I opted to follow their lead, and backport their RPM's into older versions of Fedora, RHEL, and CentOS.

PHP 4.4.x - Thispackage is no longer maintained
PHP 5.0.x - Based on the FC4 design, this is the currently stable version
PHP 5.1.x - Based on the FC5 design, candidate for future releases.


Installation/Upgrade
3rd party add ons, rpms outside of the OS Vendor, or ART archives will need to be upgraded individually. This would include Zend, Ioncube, Sitebuilder, etc. Consult each providers documentation on how to do this in advance. Versions created for PHP 4 will not work with PHP 5. As a final step, if you have customized your php.ini, or php.conf files in the past, you will need to update the configuration files to be compatible with 5.0.x, as both the module paths, as well as the module names have changed from 4.4.x to 5.0.x.

ART 4.4.2 -> ART PHP 5.0.x
Redhat 9 4.2.2 -> ART PHP 5.0.x
Fedora Core 2 PHP 4.3.x -> ART PHP 5.0.x
Fedora Core 3 PHP 4.3.x -> ART PHP 5.0.x
CentOS/RHEL 3 4.3.x -> ART PHP 5.0.x
CentOS/RHEL 4 4.3.x -> ART PHP 5.0.x
Configuration 4.x.x - ART PHP 5.0.x update

Upgrading from ART PHP 4.4.2
Remove incompatible packages: yum remove php-mcrypt php-xslt php-domxml
Update PHP: yum upgrade
Install additional packages: yum install php-gd

Upgrading from Redhat 9 PHP 4.2.2
Remove incompatible packages: yum remove php-manual
Update PHP: yum upgrade
Install additional packages: yum install php-gd

Upgrading from Fedora Core 2 PHP 4.3.11
Remove incompatible packages: yum remove php-domxml
Update PHP: yum upgrade

Upgrading from Fedora Core 3 PHP 4.3.11
Update PHP: yum upgrade

Upgrading from CentOS(RHEL) 3 PHP 4.3.x
Update PHP: yum upgrade

Upgrading from CentOS(RHEL) 4 PHP 4.3.x
Update PHP: yum upgrade

Correct Configuration files (if needed)
Short version:
mv /etc/php.ini /etc/php.ini.v4
mv /etc/php.ini.rpmnew /etc/php.ini
mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php.conf.v4
mv /etc/httpd/conf.d/php.conf.rpmnew /etc/httpd/conf.d/php.conf

Manual corrections: (note this is incomplete at this time)
php.ini changes:
extension_dir = "/usr/lib/php/modules"

php.conf changes:
LoadModule php5_module modules/libphp5.so


Known Issues
Amember reports: Cannot create license: unknown TLD for domain False positive
Reports that APC does not work with php 5.0 unconfirmed at this time

TODO
Investigate hardened PHP patch

Comments
Subject: Plesk754 and FC3: Three missing packages
Written by niel on 2006-07-04 09:26:07
Hello Scott, 
 
I've tried to upgrade php in my Plesk754 and FC3 boxes, but there are three packages missing: 
 
[CODE] 
# yum upgrade 
... 
Error: Missing Dependency: php = 4.4.2-3.rhfc3.art is needed by package php-xslt 
Error: Missing Dependency: php = 4.4.2-3.rhfc3.art is needed by package php-domxml 
Error: Missing Dependency: php = 4.4.2-3.rhfc3.art is needed by package php-mcrypt 
[/CODE] 
 
So I've tried to remove them: 
 
[CODE] 
# yum remove php-xslt php-domxml php-mcrypt 
... 
Performing the following to resolve dependencies: 
Remove: psa-horde.noarch 0:3.0.5-fc3.build75050824.12 
Remove: psa-imp.noarch 0:4.0.3-fc3.build75050824.12 
Remove: psa-ingo.noarch 0:1.0.1-fc3.build75050824.12 
Remove: psa-kronolith.noarch 0:2.0.3-fc3.build75050824.12 
Remove: psa-mnemo.noarch 0:2.0.1-fc3.build75050824.12 
Remove: psa-passwd.noarch 0:3.0-fc3.build75050824.12 
Remove: psa-turba.noarch 0:2.0.3-fc3.build75050926.17 
Total download size: 0 
Is this ok [y/N]: N 
[/CODE] 
 
So, what should I do know? Is there any other source to get those three packages? 
 
Thank a lot for your help and RPMs! 
 
niel

Only registered users can write comments.
Please login or register.

Powered by AkoComment 2.0.3!

Last Updated ( Saturday, 15 July 2006 )
 
< Prev   Next >
© 2008 atomicrocketturtle.com :: digital turtlist
Joomla! is Free Software released under the GNU/GPL License.
sheta@atomicrocketturtle.com
Fight Spam! Click Here!