Results 1 to 9 of 9

Thread: Error 403 while running PHP programm

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2007
    Posts
    270

    Error 403 while running PHP programm

    i run jsut helloworld programm in php and error i m getting is

    "HTTP Error 404.3 - Not Found
    The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map."

    although i have server side includes checked in Applicatiopn and development features (in win 7) and have error as it http://www.webune.com/forums/windows...not-found.html
    Last edited by dot_net_help; Mar 20th, 2010 at 09:26 AM.

  2. #2
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Error 403 while running PHP programm

    if you are getting a not found error then you're typing the wrong URL in the address bar.

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Error 403 while running PHP programm

    The error provides you with more than enough information to help you solve it.

    The key word is 'handler'. A handler tells IIS what program to use to execute the script. In this case it is PHP. The error message means that IIS does not know what to with a PHP script.

    The following article may be of assistance.
    Using FastCGI to Host PHP Applications on IIS 7

    Unless you have some compelling reason to use IIS, I recommend using Apache or lighttpd instead.

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2007
    Posts
    270

    Re: Error 403 while running PHP programm

    i m not getting the file applicationHost.config at location specified in the link http://learn.iis.net/page.aspx/246/u...ions-on-iis-7/ under the heading of Configure IIS 7 to Handle PHP Requests . nor i m haveing file as mention here C:\[Path to your PHP installation]\php-cgi.exe when attahcing the handler

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2007
    Posts
    270

    Re: Error 403 while running PHP programm

    oh yes since i m using php 5.x.x. so it must be php.exe ,And now there is problem for poermission HTTP Error 500.0 - Internal Server Error
    C:\Program Files\PHP\php.exe - The FastCGI process exceeded configured request timeout .do i need to set the time out or set permission ?? i m using win 7

  6. #6
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Error 403 while running PHP programm

    PHP 5 still has the php-cgi.exe file. if you're installing PHP5 as FastCGI, you'll need to use this file. you can't use the php.exe for FastCGI, as far as I know. this is probably what's causing your server error. reading the install information (install.txt in the directory you installed PHP) for IIS might help you a bit, if that tutorial is not. I have absolutely no experience installing PHP on IIS, though, so I can't really help you.

  7. #7
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Error 403 while running PHP programm

    Why don't you use Apache?

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Oct 2007
    Posts
    270

    Re: Error 403 while running PHP programm

    well penagate , i did not used Apache till todate , secondly i need to know which version of apache should i need to use when i m using) php-5.2.13-nts-Win32-VC6-x86 ),is there any configuartion afetr installing it as in upcoming days say after 2 or 3 days i will work on PHP and joomla and any server(IIS/Apache).. can u recommend me any thing related to this and Help off course

    so time is little bit short , as i m already running out of time !!

    Thanks penagate

  9. #9
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: Error 403 while running PHP programm

    you can install PHP 5.2 with the latest version of Apache from here (which should be 2.2.x). then, if you haven't already, you can install the latest version of MySQL Community (5.x) from here, and then you can probably even grab phpMyAdmin and install that to interface with your database. then, you should be all set to install Joomla or whatever you want.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width