Re: PHP doesn't work under Apache (I am new user)

From: Date: Sun, 12 Nov 2000 02:35:30 +0000
Subject: Re: PHP doesn't work under Apache (I am new user)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-24830@lists.php.net to get a copy of this message
Of course that should read test.php Sorry. ----- Original Message ----- From: "Brad Hubbard" <brad@congosystems.com> To: <mavem@usa.net>; <php-general@lists.php.net> Sent: Sunday, November 12, 2000 13:13 Subject: Re: [PHP] PHP doesn't work under Apache (I am new user) > It appears you put your php script in a file called test.html try renaming > it testphp and see if that makes a difference. > > Cheers, > Brad > ----- Original Message ----- > From: "Mig" <mavem@usa.net> > To: <php-general@lists.php.net> > Sent: Sunday, November 12, 2000 12:13 > Subject: [PHP] PHP doesn't work under Apache (I am new user) > > > > Hello, I installed Apache server to try PHP 4 on my (Win95) machine, but > can't get it to work. > > > > I made the following: > > > > a) Installed Apache server (all was ok) > > > > b) started Apache (all was ok, I opened netscape with > > http://127.0.0.1 > server and read Apache manual) > > > > c) Edited httpd.conf to include some commands for PHP applications > > > > ScriptAlias /php4/ "c:/php4/" > > > > AddType application/x-httpd-php .php > > > > Action application/x-httpd-php "/php4/php.exe" > > > > d) then I installed PHP 4, copied some .DLL files to windows/system dir > and PHP.INI to windows dir > > > > e) I created a single TEST.HTML page with a tiny PHP script, posted it to > cgi- bin and then called the URL http://127.0.0.1/test.html > but the script > is not executed, all complete PHP source appears for me when call URL. > > > > What could be wrong? > > > > Please help first time user > > > > Mig > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#24830) next »