Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can get php to work with apache

Status
Not open for further replies.

farley99

MIS
Joined
Feb 12, 2003
Messages
413
Location
US
i installed apache and php from the c source

I made sure apache has
LoadModule php4_module libexec/libphp4.so

I checked that it installed ok
apachectl configtest
SYNTAX OK

I restarted apache

But when i goto my php info page it get
<?php

echo phpinfo();

?>

What did i do wrong?
 
I think the apxs is my problem
I have 2 of them
/usr/sbin/apxs
/usr/local/apache/bin/apxs

when i do
which apxs
i get /usr/sbin/apxs

when i installed apache, i specified....
'./configure' '--with-apxs=/usr/local/apache/bin/apxs'

why wont it work when i use /usr/local/apache/bin/apxs?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top