Downgrade PHP 5.2.13 to PHP 5.2.10

desyn

New member
Joined
May 21, 2010
Messages
2
I need to downgrade php because of the error:

Warning: preg_match() [function.preg-match]: Internal pcre_fullinfo() error -3 in

This error shows up after de php update.

So i think i need to downgrade php. (actual version is 5.2.13
How to install php 5.2.10 ? with custombuild?
 
If that was the only problem, but the sites don't show up only the errors.
So i'ts a needie to downgrade i think
 
You can change the version in versions.txt then run ./build php
 
I had the same error by upgrading php 5.2.12 to 5.2.13. I tried to install php 5.3.2 but the same error occurs:

Warning: preg_replace() [function.preg-replace]: Internal pcre_fullinfo() error -3

Is there a solution for, without downgrade?
 
greend did you read the message of scsi?
Just change the version in 'versions.txt' and then do ./build php n

You would want to add the extra option to your configure/ap2/configure.php5
Don't change the file, you should use the custom directory to make changes in configure.php5.
cd /usr/local/directadmin/custombuild
cp -Rp configure custom
nano -w custom/ap2/configure.php5
Why? When you do ./build update everything will be overwrited in 'configure', everything in 'custom' not.
 
Last edited:
Back
Top