I'm trying to rebuild PHP and apache with custombuild, but when I use './build php n' I receive this error:
When I use './build apache n' I get a similar problem:
Both seem to be caused by the './configure: is a directory' thing, which I don't understand. I'm running CentOS 5.3. Any suggestions would be appreciated.
Also when I attempt to start httpd, it returns:
Code:
File already exists: php-.tar.gz
MD5 Checksum on php-.tar.gz passed.
Found /usr/local/directadmin/custombuild/php-.tar.gz
Extracting ...
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
Done.
./build: line 3174: cd: php-: No such file or directory
Configuring php-...
/usr/local/directadmin/custombuild/configure/ap2/configure.php5: line 3: ./configure: is a directory
*** There was an error while trying to configure php. Check the configure/ap2/configure.php5 file
When I use './build apache n' I get a similar problem:
Code:
File already exists: httpd-.tar.gz
MD5 Checksum on httpd-.tar.gz passed.
File already exists: httpd_2
File already exists: httpd_2_freebsd
File already exists: httpd_2_debian
Backing up certificate and key, and turning off httpd for DirectAdmins's check.
Found /usr/local/directadmin/custombuild/httpd-.tar.gz
Extracting /usr/local/directadmin/custombuild/httpd-.tar.gz...
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
./build: line 5995: cd: httpd-: No such file or directory
Configuring httpd-
/usr/local/directadmin/custombuild/configure/ap2/configure.apache: line 3: ./configure: is a directory
*** There was an error while trying to configure Apache 2. Check the configure/ap2/configure.apache file
Both seem to be caused by the './configure: is a directory' thing, which I don't understand. I'm running CentOS 5.3. Any suggestions would be appreciated.
Also when I attempt to start httpd, it returns:
Code:
Starting httpd: Syntax error on line 30 of /usr/local/directadmin/data/users/xvps/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration
Last edited: