Forbidden to access /php/php.exe/phpTest.php on Apache
| From: | Lex | Date: | Thu, 20 Nov 2003 17:53:17 +0000 |
| Subject: | Forbidden to access /php/php.exe/phpTest.php on Apache | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-12285@lists.php.net to get a copy of this message | ||
Hello All,
I get the following error when I try to access a test php page I created after following the set up
instructions:
Forbidden
You don't have permission to access /php/php.exe/phpTest.php on this server.
What could i have done wrong or forgot to do? I set up the php.int file in my c:\windows\
directory and I also added to the httpd.conf file with the following:
ScriptAlias /php/ "C:\php-4.3.4-Win32\"
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php "/php/php.exe"
The version of php I am using is 4.3.4 and I am using Apache version 1.3.29.
For the php.init file in my c:\windows\ directory (XP machine). I
filled in the extension_dir line with:
extension_dir = "C:\php-4.3.4-Win32\"
where c:\php-4.3.4-Win32 is the directory of my php.exe file. I am intend to run things using CGI
rather than as a module.
Thanks in Advance,
Lex.
Ps. I also executed php -i and it seemed to work fine so the installation should be
ok, I believe.