note 71103 rejected from install.windows.apache2 by nlopess
| From: | nlopess@php.net | Date: | Sun, 12 Nov 2006 15:27:49 +0000 |
| Subject: | note 71103 rejected from install.windows.apache2 by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-119632@lists.php.net to get a copy of this message | ||
Note Submitter: davo at northstjarna dot com
----
Ok done all of the above and variations of. Nothing works.
Apache is working but not with PHP
have this in the http.conf file in Apache
***********
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost *:80>
ServerAdmin webmaster@northsjarna.com
DocumentRoot "C:/Documents and Settings/Andi/My
Documents/local_sites/northstjarna/public_html"
ServerName northsjarna.com
ErrorLog logs/northsjarna.com-error_log
CustomLog logs/northsjarna.com-access_log common
</VirtualHost>
#Needed to make php and Apache Work
<Directory C:/php>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
# For PHP 4
Action application/x-httpd-php "/php/php.exe"
# For PHP 5
Action application/x-httpd-php "/php/php-cgi.exe"
****
Is this correct?
PHP is still forbidden. What am I doing wrong.... ?
Any help much appreciated.
Thanks
Davo