Sujet : Erreur FastCGI Windows
Salut Hywan , je te détail ici mon processus pour essayer de faire fonctionner Bhoa sous windows xD
Alors j'ouvre une console pour php-cgi
C:\Users\Julien\Desktop\php-5.3.8-nts-Win32-VC9-x86>php-cgi -v
PHP 5.3.8 (cgi-fcgi) (built: Aug 23 2011 12:14:38)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
C:\Users\Julien\Desktop\php-5.3.8-nts-Win32-VC9-x86>php-cgi -b 127.0.0.1:9000Un seconde console :
C:\Users\Julien\Desktop\php-5.3.8-nts-Win32-VC9-x86>php -v
PHP 5.3.8 (cli) (built: Aug 23 2011 12:14:39)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
C:\Users\Julien\Desktop\php-5.3.8-nts-Win32-VC9-x86>php C:\wamp\www\Cxp\Data\Bin
\Hoa.php
Hoa
Welcome in the command-line interface of Hoa :).
List of available commands
Main
welcome This homepage.
version The framework version and revision.
tree Print contents of a directory.
uuid Generate an universally unique identifier.
debugger Start the debugger client.
bhoa Start a damn stupid HTTP server.
pp Compile a language with a grammar in PP.
Protocol
resolve Resolve a hoa:// URI.
tree Print the whole hoa:// protocol as a tree.
Documentation
php About PHP functions, classes, extensions etc.
Test
initialize Initialize a new test revision.
run Run a test revision.
remove Remove a test revision.
praspel Interactive Praspel shell.
Worker
start Start a worker.
stop Stop a worker.
status About worker PID, uptime, memory etc.
C:\Users\Julien\Desktop\php-5.3.8-nts-Win32-VC9-x86>php -v
PHP 5.3.8 (cli) (built: Aug 23 2011 12:14:39)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
C:\Users\Julien\Desktop\php-5.3.8-nts-Win32-VC9-x86>php C:\wamp\www\Cxp\Data\Bin
\Hoa.php bhoa -r hoa://Application/Public/
Server is up, on tcp://127.0.0.1:8888!
Root: hoa://Application/Public/.
Waiting for connectionÔǪJ'accède a l'url http://localhost:8888/ => page vide
avec la réponse dans la console N°2 :
:\Users\Julien\Desktop\php-5.3.8-nts-Win32-VC9-x86>php C:\wamp\www\Cxp\Data\Bin
Hoa.php bhoa -r hoa://Application/Public/
erver is up, on tcp://127.0.0.1:8888!
oot: hoa://Application/Public/.
å? GET / (waitingÔǪ) Uncaught exception (Hoa\FastCgi\Exception\Exception):
oa\FastCgi\Responder::send(): (0) Bad request (not a well-formed FastCGI reques
).
n C:\wamp\www\Hoa\Central\Library\FastCgi\Responder.php at line 249.
:\Users\Julien\Desktop\php-5.3.8-nts-Win32-VC9-x86>Je sais bien que tu as déja vu ces codes erreurs ^^ mais bon
la version de php est fraichement dézippé en direct de windows.php.net ^^
Cdt Hawk
Dernière fois dit par thehawk (29 Sep. 2011 07:24)