Re: PHP and Apache Installation
| From: | Yuriy Rusinov | Date: | Fri, 06 Sep 2002 05:40:25 +0000 |
| Subject: | Re: PHP and Apache Installation | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8334@lists.php.net to get a copy of this message | ||
Hi, Gustavo Sigal !
Hi , I install php 4.2.2 , apache 2.0.39 on a Windows 95 . When i use the explorer to see a .php file this error ocurr Bad request! <?php phpinfo(); ?> Any idea ?Possible problem in httpd.conf and/or php.ini files. You have to write in your httpd.conf the next following ScriptAlias /php/ "C:/php/" <Directory "C:/php">
AllowOverride None
Options None
</Directory>
Action application/x-httpd-php "/php/php.exe"
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php
Action application/x-httpd-php-source "/php/php.exe"
AddType application/x-httpd-php-source .phps
After that you may enjoy and run all in php.
Best regards,
Sincerely yours,
Yuriy Rusinov.