RE: [PHP] Apache compile

From: Date: Tue, 10 Sep 2002 23:17:35 +0000
Subject: RE: [PHP] Apache compile
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-115904@lists.php.net to get a copy of this message
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:allmenwf@udmercy.edu] Sent: Tuesday, September 10, 2002 7:04 PM To: php-general@lists.php.net 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

« previous php.general (#115904) next »