Re: PHP doesn't work under Apache (I am new user)
| From: | Chris Doyle | Date: | Sun, 12 Nov 2000 01:10:46 +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-24823@lists.php.net to get a copy of this message | ||
Hi,
Did you set the right paths and stuff in the php.ini you copied into the
windows/system/ dir? when i set up php3 on windows 98 I had to change the
path for where it was to find the /php/ dir.
----- Original Message -----
From: "Mig" <mavem@usa.net>
To: <php-general@lists.php.net>
Sent: Sunday, November 12, 2000 11:13 AM
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
>
>