Re: problemas con instalacion de php como modulo
| From: | Javier | Date: | Sat, 16 Nov 2002 09:15:38 +0000 |
| Subject: | Re: problemas con instalacion de php como modulo | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-29376@lists.php.net to get a copy of this message | ||
On 15/11/2002 at 22:09 Asier Lopez Rodriguez wrote:
>Estoy intentando instalar el php bajo apache en un winXP. La cosa es
>que como cgi, usando el php.exe no me da ningun problema pero si
>intento ajecutarlo como modulo, y asi es como me gustaria, no hay
>manera porque siempre me responde que no encuentra la libreria
>php4apache.dll. He probado con diferentes rutas, todas validas, y no
>hay manera que lo encuentre.
>Las lineas que utilizo son las tipicas:
> LoadModule php4_module c:/php/sapi/php4apache.dll
> AddModule mod_php4.c
> AddType application/x-httpd-php .php
>
>Por que no me permite instalarlo como modulo??
Seguiste al pie de la letra las instrucciones de la instalacion ?
A mi me paso una vez que olvide copias php4ts.dll a winnt/system32.
Fijate bien:
------------------------------------------
You need to ensure that the dlls which php uses can be found. The precise
dlls involved depend on which web server you use and whether you want to
run php as a cgi or as a server module. php4ts.dll is always used. If you are
using a server module (e.g. isapi or apache) then you will need the relevent
dll from the sapi folder. If you are using any php extension dlls then you
will need those as well. To make sure that the dlls can be found, you can
either copy them to the system directory (e.g. winnt/system32 or
windows/system) or you can make sure that they live in the same directory
as the main php executable or dll your web server will use (e.g. php.exe,
php4apache.dll).
-------------------------------------------------
Si sigue sin funcionar fijate en log del Apache que error ta da y mandalo a la lista.
Suerte
<jl>