Re: [PHP 5.2 with Apache 2.2] PHP can't found the activated extensions

From: Date: Sun, 06 Jan 2008 14:36:24 +0000
Subject: Re: [PHP 5.2 with Apache 2.2] PHP can't found the activated extensions
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-28687@lists.php.net to get a copy of this message
Benoit Crauet wrote:
Hello. For begin, I'm new on this newsgroup, and I'm French. I speak a little english, I'm sorry. My problem is on a Windows Server 2003 O.S. I want to run PHP as a module of Apache 2.2.6. So, I was edited the Httpd configuration for PHP 5.2:
    Action application/x-httpd-php "C:/php5/php-cgi.exe"
    LoadModule php5_module "C:/Php5/php5apache2_2.dll"
        AddType application/x-httpd-php .php .phtml .php3 .php5
    AddType application/x-httpd-php-source .phps
My PHP binaries are in C:\Php5\ The problem is here : PHP send me a multiple error messages: PHP Startup: Unable to load dynamic library 'C:/php5/ext/php_mysql.dll' - The specified module could not be found. But my activated extensions are in the C:\php5\ext\ directory!
Do you actually have MySQL installed on the machine. The error message can be a bit misleading as the module will fail to load if it can't find all the OTHER parts of a program that it needs.
This is my PHP configuration : extension_dir = "C:/php5/ext/" All DLLs are founds in this directory. Can you help me please? Thanks! ;)
-- Lester Caine - G8HFL ----------------------------- Contact - http://home.lsces.co.uk/lsces/wiki/?page=contact L.S.Caine Electronic Services - http://home.lsces.co.uk MEDW - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/ Firebird - http://www.firebirdsql.org/index.php

« previous php.windows (#28687) next »