PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.dreamweaver > Testing PHP
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Testing PHP

Réponse
 
LinkBack Outils de la discussion
Vieux 15/06/2008, 18h55   #1
gorgeous.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Testing PHP

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;

  Réponse avec citation
Vieux 15/06/2008, 20h04   #2
Ken Ford
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Testing PHP

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;
>

  Réponse avec citation
Vieux 15/06/2008, 20h18   #3
SnakEyez02
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Testing PHP

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.

  Réponse avec citation
Vieux 16/06/2008, 11h03   #4
gorgeous.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Testing PHP

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

  Réponse avec citation
Vieux 16/06/2008, 12h15   #5
supergrabbit
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Testing PHP

: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




  Réponse avec citation
Vieux 16/06/2008, 14h35   #6
Ken Ford
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Testing PHP

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
>
>
>
>

  Réponse avec citation
Vieux 20/06/2008, 16h34   #7
DizzDizzy
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Testing PHP

The information regarding testing php is not enough please give me more information
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 17h17.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11672 seconds with 15 queries