Did you delete the config.cache file in the PHP directory after the
first "configure, make, make install, and make clean" commands?

Did you add the appropriate info into apache's httpd.conf file so that
is knows what .php files are and what to parse them with?

Did you add the appropriate command to the top of your PHP page that
will be run through as a CGI ( #!/usr/local/bin/php || that should not
be inside of any PHP tags...just at the tip top of your page)?

Answering these questions will help us solve your problem.

~ Matthew

-----Original Message-----
From: William Allmendinger [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 10, 2002 7:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Apache compile


Hello,
I am currently working on compilling php as both a cgi ands
as an apache module on the same server. The cgi compile,
which I did first with ./configure --with-ldap={ldap dir} --with-mysql,
went jsut fine. However, when I try to compile it as an apache module,
both as ./configure --with-ldap={ldap dir} --with-mysql --with-apxs or
./configure --with-ldap={ldap dir} --with-mysql --with-apache={src}, I
get errors when trying to load a page. 
The following is my php file I  try to open in a browser
called phpinfo.php

<php?
echo "hi";
?>
 And this generates the following error: 

warning: failed opening '/usr/web/phpinfo.php' for inclusion
(include_path='.:/usr/local/lib/php') in Unknown on line 0

Any help would be great.

________________________________________

William F. Allmendinger
Network Manager
University of Detroit Mercy

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



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

Reply via email to