Buenos días.
En mi proyecto actual me estoy metiendo, creo yo, dónde no me llaman.
Estoy usando Apache, PHP y MySQL, en Windows.
Estos son los archivos de configuración:
Apache
Código:
DirectoryIndex index.html index.html.var index.php
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php-cgi.exe"
ScriptAlias /cgi-bin/ "C:/Program Files (x86)/Apache Group/Apache2/cgi-bin/"
ScriptAlias /php/ "c:/php/"
<Directory "C:/Program Files (x86)/Apache Group/Apache2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Directory "C:/php">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
PHP
Código:
; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
; extension_dir = "./"
; On windows:
extension_dir = "ext"
extension=php_mysqli.dll
ERRORES
Código:
[Sat Jan 26 15:49:41 2013] [error] [client 127.0.0.1] script not found or unable to stat: C:/Program Files (x86)/Apache Group/Apache2/cgi-bin/login.php, referer: http://localhost/movies/
[Sat Jan 26 15:50:35 2013] [error] [client 127.0.0.1] File does not exist: C:/Program Files (x86)/Apache Group/Apache2/htdocs/favicon.ico
[Sat Jan 26 15:50:44 2013] [error] [client 127.0.0.1] C:/Program Files (x86)/Apache Group/Apache2/cgi-bin/login.php is not executable; ensure interpreted scripts have "#!" first line, referer: http://localhost/movies/
[Sat Jan 26 15:50:44 2013] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: C:/Program Files (x86)/Apache Group/Apache2/cgi-bin/login.php, referer: http://localhost/movies/
¿Alguna sugerencia? ¿Dónde me he equivocado? Muchas gracias.