Hello,

When I try to run a basic php script, I get the following error:
HTTP Error 403
403.1 Forbidden: Execute Access Forbidden

This error can be caused if you try to execute a CGI, ISAPI, or other executable 
program from a directory that does not allow programs to be executed.

Please contact the Web server's administrator if the problem persists.



Here's what I'm using:

Windows ME

PHP4

PWS

Here's what I've done:

I've updated the ...\ScriptMap registry setting to point directly to my php4isapi.dll 
file.

("C:\\php\\php-4.3.1-Win32\\sapi\\php4isapi.dll")

I'm able to run .htm files from my internal server (from the same directory that I'm 
trying to run this .php file from). I only get this error when I try to run .php files.

When I run php.exe -i from the DOS prompt, I get several pages of HTML code (which, 
from what I understand, tells me the PHP part is working).

I've gone into PWS, Advanced, Home, Properties, Access is set to Read, Execute and 
Scripts.

I've modified the php.ini file to have cgi.force_redirect=0. I'm not sure what I 
should do w/ cgi.redirect_status_env=;.



Any other ideas??

Thanks,
Lesley A. Leonessa, Registered Patent Agent
Lioness Consulting: Web Design, Software Development & Patent Law Services
279 East Central Street, Suite #138, Franklin, MA 02038
Phone (508) 380-3182 Fax: (508) 541-6788
Visit http://www.lionessconsulting.com/Tips.htm for Lesley's Internet Tips

Reply via email to