Re: Apache+php on Windows



On Wed, 27 Sep 2006 19:10:10 -0400, Dennis Kowallek <kowallek@xxxxxxxxx>
wrote:

On Wed, 27 Sep 2006 22:55:17 GMT, "Ike" <rxv@xxxxxxxxxxx> wrote:

In C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf, at
the end of the file, I have:

ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"

I restart the apache server, but when I go to look at localhost\test.php, I
get:

You don't have permission to access /php/php.exe/test.php on this server.

Maybe instead of restart try stop/start?

And maybe check the Apache error log.

And did you make the appropriate changes to php.ini?

--

Dennis K.
.



Relevant Pages

  • Apache / PHP / PgSQL
    ... PHP and PgSQL to cohabitate on my windows machine. ... Everytime I restart ... my Apache server, I get the following error message: ...
    (comp.lang.php)
  • Re: Apache+php on Windows
    ... AddType application/x-httpd-php .php ... I restart the apache server, but when I go to look at localhost\test.php, I ... Maybe instead of restart try stop/start? ...
    (comp.lang.php)
  • PHP Installed, but not working
    ... I've installed php4 and related packages but the apache server doesn't indicate php support. ... /usr/sbin/apachectl restart ...
    (Debian-User)
  • Re: Apache not running php
    ... I have confirmed that php is functional. ... AddType application/x-httpd-php .php ... Saved the file and bounced the apache server. ... I am running fc4, ...
    (linux.redhat)
  • Re: Installing PHP 5.05 on WIndows XP, Apache 2.0.54 - please help
    ... You can install on your computar the xampp distribution and then you have already an apache server on your windows. ... Actually i am trying to learn the php but i doesn't have the perticular ...
    (comp.lang.php)