Downgrade from php 5.04 to 5.03

Known bugs reported by PacsOne users
Post Reply
wwdrrad
Posts:5
Joined:Sat Jun 25, 2005 11:20 pm
Downgrade from php 5.04 to 5.03

Post by wwdrrad » Sat Jun 25, 2005 11:26 pm

is it possible to deinstall php 5.04 and then install new php 5.03
without troubel.

I want to upgrade pacsoneserver 3.11 installed with apache and php 5.04
to 3.13 after purchasing.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Sun Jun 26, 2005 1:55 pm

If you installed PHP 5.0.4 from a MSI installer, you may need to uninstall it first before installing PHP 5.0.3.

It's recommended to install PHP from their zip distribution packages. They're a little larger in size but you don't have to uninstall to switch to a different version of PHP. You can select which version of PHP you want to use by modifying the following:

1. HTTPD.CONF:

Change only one line where PHP module is configured to match with your desired PHP version.

2. PHP.INI file:

If you're changing from PHP 5.0.4 to 5.0.3, then you should only need to change the following variable:

Code: Select all

extension_dir
session.save_path
The session.save_path variable may not even need to be changed if you have set it to a common directory, e.g., "C:\php_session".

wwdrradasguest

update php 5.04

Post by wwdrradasguest » Sun Jul 03, 2005 6:22 pm

I think I have a better way to fix the php5.04 bug:

Is it possible to load up the newest snapshot.php
as example php5.0-win32-200506251630.zip and
copy the two files
php5ts.dll and php5apache2.dll located in
php5_install_dir/
and overwrite the older ones?
Dr.ww

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Post by pacsone » Sun Jul 03, 2005 7:45 pm

That should work, as long as the PHP installation directory has no dependency on the version of PHP installed. For example, the PHP installation directory should be some generic path, e.g., "C:\Php\", instead of some version dependent path such as "C:\PHP-5.0.2\", etc.

Post Reply