php-windows Digest 12 Jan 2005 02:43:07 -0000 Issue 2531

Topics (messages 25280 through 25286):

Re: The Test.php program does not execute
        25280 by: GkE
        25281 by: Jason Barnett
        25282 by: Luis Moreira

php 5.0.3
        25283 by: jm
        25284 by: jm
        25285 by: jm

Re: php 5.0.3 problem fixed
        25286 by: jm

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
Cannot really tell what the restrictions are. Can anyone help me.

GKE

Luis wrote:

The error is not PHP related. The message comes from the http server.
Either you have restrictions on the directory, at OS level (I don't know
if you can do that with '98), or within the HTTP server.

Luis

GKE wrote:

>I have just joined the learning bandwagon of PHP. I am using Windows 98SE,
>as such, I downloaded the Windows version of the PHP program 4.3.2-Win32
>version. But after
>installation (Manual), I still cannot get anything working.
>
>Sometimes I get Access Denied ......something something FORCE REDIRECT and
>sometimes the following error message.
>
>
>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.
>
>What could I have done wrong? Need assistance
>
>GKE
>
>
>

--- End Message ---
--- Begin Message --- GKE: are you using the CGI version of PHP for your server? Or more directly, which type of PHP executable are you trying to use?

There are *basically* 3 types
- CLI for the command line
- modules which are specialized versions for different server (ISAPI for IIS and so on)
- CGI which is the common gateway interface


Are you sure that you followed *all* of the instructions for your particular situation? Please reread the manual page for this; it helps you sort out most of the common problems.

You can also try running PHP from the command line and see if that works. Downloads aren't 100% reliable after all ;)


GkE wrote:
Cannot really tell what the restrictions are. Can anyone help me.

GKE

Luis wrote:

The error is not PHP related. The message comes from the http server.
Either you have restrictions on the directory, at OS level (I don't know
if you can do that with '98), or within the HTTP server.

Luis

GKE wrote:





-- Teach a person to fish...

Ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html
PHP Manual: http://php.net/manual/
php-general archives: http://marc.theaimsgroup.com/?l=php-general&w=2

--- End Message ---
--- Begin Message ---
As I said, I don't know if you can do that with '98, but I think not.

So, it would be an Apache problem.
How did you proceed to set up the web server ?

You should look at the HTTPD.CONF file, which has the config for Apache.
You have directives that allow or forbid the access to directories.

There should be a "default area", like this

<Directory />
#    Options FollowSymLinks
   order allow,deny
   allow from all
   AllowOverride None
</Directory>

After that, a directive for each directory you which to protect (or not).

In your case, I would say that either the default order is "deny,allow" or you have another directive forbidding the access to the directory in question.


Luis


GkE wrote:

Cannot really tell what the restrictions are. Can anyone help me.

GKE

Luis wrote:

The error is not PHP related. The message comes from the http server.
Either you have restrictions on the directory, at OS level (I don't know
if you can do that with '98), or within the HTTP server.

Luis

GKE wrote:



I have just joined the learning bandwagon of PHP. I am using Windows 98SE,
as such, I downloaded the Windows version of the PHP program 4.3.2-Win32
version. But after
installation (Manual), I still cannot get anything working.

Sometimes I get Access Denied ......something something FORCE REDIRECT and
sometimes the following error message.


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.

What could I have done wrong? Need assistance

GKE









--- End Message ---
--- Begin Message ---
Anybody running this on winxp IIS5.(using isapi)
5.0.2 ran with no problems, but since I have moved to 5.0.3 I can't even 
view a page.
Thoughts ,or comments appreciated.

Thanks. 

--- End Message ---
--- Begin Message ---
Sorry I didn't list my error.  http 500 internal server error not much help, 
but that's it. Like I said exact same config for 5.0.2 works just fine.


"Jm" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Anybody running this on winxp IIS5.(using isapi)
> 5.0.2 ran with no problems, but since I have moved to 5.0.3 I can't even 
> view a page.
> Thoughts ,or comments appreciated.
>
> Thanks. 

--- End Message ---
--- Begin Message ---
html page works just fine.

"Jm" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Anybody running this on winxp IIS5.(using isapi)
> 5.0.2 ran with no problems, but since I have moved to 5.0.3 I can't even 
> view a page.
> Thoughts ,or comments appreciated.
>
> Thanks. 

--- End Message ---
--- Begin Message ---
Basically deleted everything and reloaded all dll's .


"Jm" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Anybody running this on winxp IIS5.(using isapi)
> 5.0.2 ran with no problems, but since I have moved to 5.0.3 I can't even 
> view a page.
> Thoughts ,or comments appreciated.
>
> Thanks. 

--- End Message ---

Reply via email to