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


I'm also thinking that from the error messages that php is getting confused 
as to where apache is installed. Apache 2 is installed in /usr/local/apache2 
the old apache install (which was installed when linux installed) was 
removed and it use to live in /etc/httpd/ which shows up in some of the 
warning messages above.


Any one have any ideas? Thanks a bunch, i'm totally lost.

Regards

Desmond





_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to