Sounds like a permission problem. I suggest telling us the file permissions, so we can confirm they are correct.
It also sounds like maybe your running php as a cgi, which also needs correct permissions. Lastly, I'd check to make sure that Apache knows that you want the .php extension to be run by PHP. HTH, Peter Janett New Media One Web Services ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ New Upgrades Are Now Live!!! Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1 Sun Solaris (UNIX) accounts - PHP 4.1.2, mod_perl/1.25, Stronghold/3.0 (Apache/1.3.22), MySQL 3.23.43 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ PostgreSQL coming soon! http://www.newmediaone.net webmaster "at" newmediaone.net (303)828-9882 ----- Original Message ----- From: "V S Somasundaram" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 10:58 PM Subject: [PHP-INST] PHP 4.3.0 Problem > Hi, > > I compiled PHP 4.3.0 support with Apache 2.0.43 on Linux. Then I created > a test script and when trying to access it says "Access Forbidden". The > permission for the directory from which the test script is invoked are > correct. > > When I run the same script from the terminal like this: > > $php test.php > > it works correctly. > > Please help me out. > > Cheers!!! > Somu > > -- > Where Do You Want To Go Tommorrow? > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php