Php 2.4

inflock

Verified User
Joined
Apr 2, 2011
Messages
47
Hello;

I am using Directadmin Custom Build 1.1 with SuPHP. I coudnt find any useful guide how to update/upgrade from apache 2.2 to 2.4 that works smoothly. Anybody can help about this!.

Regards.
 
You can change to custombuild 1.2 in options.conf and also change the apache version in options.conf to 2.4 and then you can install it.

Code:
cd /usr/local/directadmin/custombuild
./build set custombuild 1.2
./build set apache_ver 2.4
./build update
./build clean
./build apache d
 
Last edited:
Thanks for the answer i did it. I think there is a problem with Suphp; What should i do now?

Starting httpd: httpd: Syntax error on line 17 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/mod_suphp.so into server: /usr/lib/apache/mod_suphp.so: undefined symbol: ap_log_rerror
 
Try:

Code:
cd /usr/local/directadmin/custombuild
./build suphp d
 
I decided to make fresh installation of DA and i did install apache 2.4 and CB 1.2 i get following error after installation.

httpd: Syntax error on line 17 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: undefined symbol: unixd_config

And I Recompiled PHP

cd /usr/local/directadmin/custombuild
./build update
./build php n

This time i am getting this error.

Starting httpd: [Tue Apr 17 22:28:02.694327 2012] [core:warn] [pid 5603] AH00117: Ignoring deprecated use of DefaultType in line 60 of /etc/httpd/conf/httpd.conf.
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/httpd/conf/ips.conf:6
 
Last edited:
Back
Top