Re: How to Run PHP.
| From: | Paul Gardiner | Date: | Thu, 18 Oct 2001 13:03:52 +0000 |
| Subject: | Re: How to Run PHP. | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4656@lists.php.net to get a copy of this message | ||
Hi Archer,
Try editing your httpd.conf file with something like below. Change drive
letter/paths to suit your installation and then restart apache. Also I'm
assuming your php files have the .php extension?
Regards,
- Paul -
# PHP4 Start
ScriptAlias /php4/ "e:/program files/php4/"
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php4/php.exe"
# PHP4 End
----- Original Message -----
From: "Archer" <archerv@qus01.ntes.nec.co.jp>
To: <php-install@lists.php.net>
Sent: Thursday, October 18, 2001 10:09 AM
Subject: [PHP-INST] How to Run PHP.
> Hello,
>
>
> Hi, Im stuying PHP but I dont know how to make it run.
> my operating system is Windows NT and I have a Apache running version 1.3
> then i have some samples code for PHP like.
>
> <HTML>
> <HEAD>
> <TITLE>Figure 1-1</TITLE>
> </HEAD>
> <BODY>
> Today's Date: <? print(Date("l F d, Y")); ?>
> </BODY>
> </HTML>
>
>
> but no Date will display and only "Today's Date" is possible.
> please help me to solve my problem.
>
> Please make it specific because Im new to this PHP.
>
>
> Thakns,
> Archer
>