|
-
Mar 20th, 2010, 09:22 AM
#1
Thread Starter
Hyperactive Member
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.
-
Mar 20th, 2010, 10:42 AM
#2
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.
-
Mar 21st, 2010, 06:04 AM
#3
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.
-
Mar 22nd, 2010, 10:27 AM
#4
Thread Starter
Hyperactive Member
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
-
Mar 22nd, 2010, 10:44 AM
#5
Thread Starter
Hyperactive Member
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
-
Mar 22nd, 2010, 02:27 PM
#6
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.
-
Mar 22nd, 2010, 05:52 PM
#7
Re: Error 403 while running PHP programm
Why don't you use Apache?
-
Mar 22nd, 2010, 10:30 PM
#8
Thread Starter
Hyperactive Member
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
-
Mar 22nd, 2010, 10:50 PM
#9
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|