|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I encountered this error message when testing my first .php file
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. I have followed the tutorial: "Setting up a PHP development environment for Dreamweaver" at http://www.adobe.com/devnet/dreamwea...php_print.html I don't have a clue why it happened, please ! Christine:heart; |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Christine,
Sounds like you are on vista. Someone posted this link yesterday: http://www.maximumpcguides.com/how-t...hp-web-server/ And here is another way to setup PHP on Vista SP1: http://learn.iis.net/page.aspx/246/u...tions-on-iis7/ -- Ken Ford Adobe Community Expert - Dreamweaver/ColdFusion Fordwebs, LLC http://www.fordwebs.com "gorgeous.com" <webforumsuser@macromedia.com> wrote in message news:g33l37$fn2$1@forums.macromedia.com... > I encountered this error message when testing my first .php file > > 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. > > I have followed the tutorial: "Setting up a PHP development environment for > Dreamweaver" at > http://www.adobe.com/devnet/dreamwea...php_print.html > > I don't have a clue why it happened, please ! > > Christine:heart; > |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Are you following the Windows or Mac instructions and what OS exactly are we
talking about? Also most people will probably just tell you it is easier to install MAMP or WAMP to get a server running ASAP. |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Hi Ken Ford, Hi SnakEyez02 !
I am running Windows Vista SP1 I'm trying to follow step by step the article http://learn.iis.net/page.aspx/246/u...cations-on-iis 7/ In paragraph "Install and Configure PHP", point 3d: 3d. Set open_basedir to point to a folder or network path where the content of the web site(s) is located. Does it mean that I should write: open_basedir="C:\inetpub\wwwroot" ? At the end of paragraph "Configure IIS 7.0 to Handle PHP Requests": Alternatively, the above mentioned steps can be completed by using command line tool appcmd. 1. To create the FastCGI application process pool, run the following command: C:\>%windir%\system32\inetsrv\appcmd set config /section:system.webServer/fastCGI /+[fullPath='c:\{php_folder}\php-cgi.exe'] 2. After that, create the handler mapping: C:\>%windir%\system32\inetsrv\appcmd set config /section:system.webServer/handlers /+[name='PHP_via_FastCGI',path='*.php',verb='*',modul es='FastCgiModule',scriptPr ocessor='c:\{php_folder}\php-cgi.exe',resourceType='Either'] What should I do to run a command ? Thank You a lots Christine |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
:heart;
Hi Ken Ford Nice I followed step by step the article you introduce to me: http://learn.iis.net/page.aspx/246/u...cations-on-iis 7/ My 1. testing PHP file is working very nice, so just forget my last post. Just one more thing: In the paragraph: "Configure PHP and FastCGI Recycling Behavior" of the above article, it reads: To set these configuration properties use the following commands: C:\>%windir%\system32\inetsrv\appcmd set config -section:system.webServer/fastCgi /[fullPath='c:\{php_folder}\php-cgi.exe'].instanceMaxRequests:10000 C:\>%windir%\system32\inetsrv\appcmd set config -section:system.webServer/fastCgi /+[fullPath='c:\{php_folder}\php-cgi.exe'].environmentVariables.[name=?PHP_FCGI_ MAX_REQUESTS?, value='10000'] Does it mean that I should copy the above into the command prompt window (cmd.exe) ? When I open the command prompt window (cmd.exe), the last line is: C:\Users\Lucky>_ How can I remove Users\Lucky> Looking forward to hear from you, Thank You ! Christine |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
If this is just a testing server I would just ignore the last part.
But if you want to try just copy and paste the commands into a command prompt. -- Ken Ford Adobe Community Expert - Dreamweaver/ColdFusion Fordwebs, LLC http://www.fordwebs.com "supergrabbit" <webforumsuser@macromedia.com> wrote in message news:g35i08$iq9$1@forums.macromedia.com... > :heart; > Hi Ken Ford > Nice > I followed step by step the article you introduce to me: > > http://learn.iis.net/page.aspx/246/u...cations-on-iis > 7/ > My 1. testing PHP file is working very nice, so just forget my last post. > > Just one more thing: > In the paragraph: "Configure PHP and FastCGI Recycling Behavior" of the above > article, it reads: > > To set these configuration properties use the following commands: > > C:\>%windir%\system32\inetsrv\appcmd set config > -section:system.webServer/fastCgi > /[fullPath='c:\{php_folder}\php-cgi.exe'].instanceMaxRequests:10000 > C:\>%windir%\system32\inetsrv\appcmd set config > -section:system.webServer/fastCgi > /+[fullPath='c:\{php_folder}\php-cgi.exe'].environmentVariables.[name=?PHP_FCGI_ > MAX_REQUESTS?, value='10000'] > > Does it mean that I should copy the above into the command prompt window > (cmd.exe) ? > When I open the command prompt window (cmd.exe), the last line is: > C:\Users\Lucky>_ > How can I remove Users\Lucky> > > Looking forward to hear from you, Thank You ! > > Christine > > > > |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
The information regarding testing php is not enough please give me more information
|
|
![]() |
| Outils de la discussion | |
|
|