Hi there
I've installed apache 2 and now i'm trying to install php4.
I can't get php to work. When i install from the source i follow the instructions. But when i get to the 'make install' i get some errors as follows:
make[1]: Entering directory /root/unzipped/php-4.2.1'
/root/unzipped/php-4.2.1/build/shtool mkdir -p "/usr/lib/apache" && apxs -S LIBEXECDIR="/usr/lib/apache" -i -a -n php4 libs/libphp4.so
apxs:Warning: /usr/sbin/httpd not found or not executable
apxs:Warning: Continuing anyway...
apxs:Warning: Sorry, no DSO support for Apache available
apxs:Warning: under your platform. Make sure the Apache
apxs:Warning: module mod_so is compiled into your server
apxs:Warning: binary/usr/sbin/httpd'.
apxs:Warning: Continuing anyway...
apxs:Error: Config file /etc/httpd/conf/httpd.conf not found
make[1]: [install-sapi] Error 1
make[1]: Leaving directory `/root/unzipped/php-4.2.1'
make: [install-recursive] Error 1
I think that's why my php install isn't working. And in my httpd.conf file i have the following line:
<IfDefine HAVE_PHP4>
LoadModule php4_module modules/libphp4.so
</IfDefine>
but i don't have anything in my module directory. Is this because the 'make install' didn't work properly
ANy help is much appreciated.
thanks