Re: INICIAR PHP EN SO WINDOWS
| From: | Jordi Canals | Date: | Sun, 02 May 2004 10:02:19 +0000 |
| Subject: | Re: INICIAR PHP EN SO WINDOWS | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-48178@lists.php.net to get a copy of this message | ||
Luis Tabeira wrote:
Para iniciar PHP, agregué en httpd.conf: #INDICADO EN PHP/Install.txt 161 LoadModule php4_module C:/Archivos de programa/Apache Group/Apache/PHP/php-4.3.5-Win32/sapi/php4apache.dll 162 AddModule mod_php4.c 163 AddType application/x-httpd-php .php Al tratar de iniciar Apache en consola obtengo el siguiente mensaje: Syntax error on line 161 of c:/archivos de programa/apache group/apache/conf/htt pd.conf: LoadModule takes two arguments, a module name and the name of a shared object fi le to load it from Note the errors or messages above, and press the <ESC> key to exit. 28...Luis, En lugar de poner el PHP en la misma carpeta del Apache, te recomiendo lo tengas en C:\PHP. El problema te lo dan los espacios en el nombre de archivo. Concretamente el espacio entre Apache y Group. Tambien podrias tratar de poner el nombre de archivo entre comillas: 161 LoadModule php4_module "C:/Archivos de programa/Apache Group/Apache/PHP/php-4.3.5-Win32/sapi/php4apache.dll" Aunque no estoy seguro que esta segunda opción vaya a funcionar. Un Saludo, Jordi.