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

From: Date: Sun, 12 Nov 2000 02:23:22 +0000
Subject: Re: PHP doesn't work under Apache (I am new user)
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-24829@lists.php.net to get a copy of this message
From what you have here in your post, you could only use 127.0.0.1/test.php not .html. You do not have Apache setup to use the .html as a php page. HTH gary Mig wrote: > 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 -- The sad thing about artificial intelligence is that it lacks artifice and therefore intelligence.Jean Baudrillard (1929), French semiologist.

« previous php.general (#24829) next »