Yes, you need. Reinstall suPHP.
How would i go about this? without using your build script?
Yes, you need. Reinstall suPHP.
Turned out suphp wasnt compiling so i forced it, and now i get an error 500 on all the pages handled by php5(cgi).
Code:ParsingException in IniFile.cpp:113: Option line "webserver_user=apache" before first section
2007:04:09-14:55:27: Unable to get lock on /etc/httpd/conf/extra/directadmin-vhosts.conf to add /usr/local/directadmin/data/users/sparkle/httpd.conf
Check your /usr/local/suphp/etc/suphp.conf if everything is okay. P.S. when do you get this error?
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 for mod_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:
/usr/sbin/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/usr/sbin/httpd'..
configure: error: Aborting
*** There was an error while trying to configure php. Check the configure/ap2/configure.php4 file
default_php=4
php4_cli=yes
php4_cgi=no
php5_cli=no
php5_cgi=yes
apache_ver=2.2
suPHP_AddHandler x-httpd-php5
[Mon Apr 09 23:18:32 2007] [error] [client 80.126.124.2] ParsingException in IniFile.cpp:113: Option line "webserver_user=apache" before first section
[Mon Apr 09 23:18:32 2007] [error] [client 80.126.124.2] Premature end of script headers: test.php
if [ "grep -c x-httpd-php5= ${SUPHP_CONF_FILE}" = "1" ]; then
echo "suPHP_AddHandler x-httpd-php5" >> ${SUPHP_HTTPD}
fi
... but suphp fails to be downloaded (again?)