Custombuild Update Error

Teorik Deli

New member
Joined
Nov 19, 2011
Messages
3
Hi guys. I have a VDS. My Directadmin running on CentOS 5.0 and its version is 1.39.3.

Before update, my Apache version 2.2.21 and Php version is 5.2.17. I used these commands to update:

Code:
cd /usr/local/directadmin/custombuild/
./build update
./build all d

When everything finish, ı saw this message:

Code:
Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS...

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /usr/sbin/apxs follows:
./configure: /usr/sbin/apxs: /replace/with/path/to/perl/interpreter: bad interpreter: No such file or directory
configure: error: Aborting

*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file

but i restart my server and then apache didn't start. When I try to stat apache via SSH, it says:
Code:
 Syntax error on line 35 of /usr/local/directadmin/data/users/HOSTUSERNAME/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuratin

Then I tried to update php version to 5.3, but nothing changed. When I tried to update again, I saw this message:
Code:
Installing configuration files
[PRESERVING EXISTING HTDOCS SUBDIR: /var/www/htdocs]
[PRESERVING EXISTING ERROR SUBDIR: /var/www/error]
[PRESERVING EXISTING ICONS SUBDIR: /var/www/icons]
[PRESERVING EXISTING CGI SUBDIR: /var/www/cgi-bin]
Installing header files
Installing build system files
Installing man pages and online manual
make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.21'
Restoring certificate and key, and turning on httpd for DirectAdmins's check.
./build: line 4369: /usr/bin/perl: No such file or directory
./build: line 6973: perl: command not found
./build: line 7010: perl: command not found
./build: line 7017: perl: command not found

Restarting apache.
Stopping httpd:                                            [FAILED]
Starting httpd: Syntax error on line 35 of /usr/local/directadmin/data/users/HOSTUSERNAME/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuratin

Still Apache can't start.

Is my problem with Perl or PHP? Can anybody help me to solve this problem? Thanks...
 
Back
Top