RE: [PHP-ES] Problemas al cargar DLL
| From: | Vladimir Hernández | Date: | Sun, 17 Apr 2005 22:11:18 +0000 |
| Subject: | RE: [PHP-ES] Problemas al cargar DLL | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-54218@lists.php.net to get a copy of this message | ||
On Sun, 17 Apr 2005 17:47:56 -0400, Reynier Perez Mira wrote
> Pues este es mi php.ini
... parte del texto ha sido omitido por Vladimir Hernández para aumentar
claridad...
> ; The root of the PHP pages, used only if nonempty.
> ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set
> doc_root ; if you are running php as a CGI under any web server
> (other than IIS) ; see documentation for security issues. The
> alternate is to use the ; cgi.force_redirect configuration below
>
> doc_root = "D:\WWW"
>
> ; The directory under which PHP opens the script using /~username
> used only ; if nonempty.
>
> user_dir =
>
> ; Directory in which the loadable extensions (modules) reside.
> extension_dir = "ext/"
>
> ; Whether or not to enable the dl() function. The dl() function
> does NOT work ; properly in multithreaded servers, such as IIS or
> Zeus, and is automatically ; disabled on them. enable_dl = On
>
Primero, para aclarar, no me refería a tu php.ini, sino a correr la función
phpinfo(). Ésto se haría así:
1.- Crea dentro de un directorio accesible desde tu servidor de HTTP el
archivo info.php
2.- Pon dentro de ese archivo el siguiente código: <?php phpinfo(); ?>
3.- Entra a través de un navegador a tu archivo info.php
Segundo: Aparentemente tu servidor es de los listados en la última parte del
párrafo, donde dice que para servidores multihilo la función dl() está
automáticamente desactivada. Eso explica tu error, aún cuando tú mismo le
pones "enable_dl=on".
Tercero: Cuando corras ahora sí el phpinfo(), verás que en la sección
"Configuration PHP Core", en el renglón 28 aproximadamente, está el directorio
donde se supone que se deben colocar las extensiones dinámicas a cargar.
Revisa que realmente las estés colocando ahí.
--
Vladimir Hernández
http://linuxbaja.org
Linux registered user # 374079