Hao to upgrade Php 5.2.17 to 5.3.6?

youyoums

Verified User
Joined
Jul 21, 2011
Messages
37
DirectAdmin 1.39.1,hao to upgrade Php 5.2.17 to 5.3.6
centos 5.6,DirectAdmin 1.39.1,

cd /usr/local/directadmin/custombuild/
options.conf clean=yes , php5_ver=5.3

./build clean
./build update
./build all y
service httpd restart

when i use this kinds of order,I get the following error:
There is wrong default PHP in /usr/local/directadmin/custombuild/options.conf set.
 
thank you

[root@server custombuild]# cat /usr/local/directadmin/custombuild/options.conf |
grep default_php
#PHP settings. default_php possible values - 4 or 5, php5_ver - 5.2 or 5.3
default_php=5
[root@server custombuild]#
 
Check if you got multiple php_ver lines with

Code:
cat /usr/local/directadmin/custombuild/options.conf | grep php5_ver

That is strange, seems to be fine to me...

Regards
 
edit options.conf and make sure the 2 lines look like this:

default_php=5
php5_ver=5.3

Also make sure there are no spaces or tabs or anything.
 
Back
Top