dudas de apache
| From: | Guillermo Rodriguez | Date: | Thu, 21 Dec 2006 08:13:26 +0000 |
| Subject: | dudas de apache | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-60115@lists.php.net to get a copy of this message | ||
Estoy cambiándome de IIS a apache sobre Windows, y hasta el momento todo va
bien
Solo tengo una duda los procesos de PHP se deben guardar en la carpeta
CGI-BIN de apache
o ¿esta carpeta esta dirigida solamente a .cgi, .pl?
¿Por que pregunto esto?
Al ejecutar los ficheros .php todo marcha bien pero cuando intento correr
un script
Guardado en la carpeta cgi-bin (definida con ScriptAlias) me da un error
interno de servidor como el siguiente:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable
to complete your request.
Please contact the server administrator, and inform them of the time the
error occurred, and anything you might have done that may have caused the
error.
More information about this error may be available in the server error log
Y en el log de errores de apache aparece lo siguiente:
[error] [client *miIP]
C:/wamp/www/subdomains/development/local-cgi-bin/taskcontrol/secdog/login..ph
p is not executable; ensure interpreted scripts have "#!" first line,
referer: http://*miurl
[error] [client *miIP] (9)Bad file descriptor: don't know how to spawn
child process:
C:/wamp/www/subdomains/development/local-cgi-bin/taskcontrol/secdog/login..ph
p, referer: http://*miurl <http://*miurl/>
¿Alguien me podria ayudar o corregir?
Gracias de antemano!