PHP, chargement d'extensions. (Architecture AMD64)
Bonjour,
Je dois installer un serveur comportant plusieurs environnements web:
- Développement (dev)
- Intégration (int)
- Production (prod)
J'ai opté pour une solution Apache 2.2, PHP, MySQL (pour l'instant), le tout étant compilé pour une architechture 64 bits
J'ai installé les services Apache et MySQL, soigné ma configuration en chargeant des fichiers personnalisés au démarrage des-dits services, ceux ci se lancent sauf que dans les logs d'Apache j'ai ces messages d'erreur en provenance de PHP:
Citation:
Envoyé par httpd-error.log
[Tue Jun 30 17:11:27 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.5 (x64) configured -- resuming normal operations
[Tue Jun 30 17:11:27 2009] [notice] Server built: Dec 20 2008 15:34:10
[Tue Jun 30 17:11:27 2009] [notice] Parent: Created child process 2356
PHP Warning: PHP Startup: Unable to load dynamic library 'd:\\bin\\php-5.2.5-x64\\ext\\php_mysql.dll' - Le module sp\xe9cifi\xe9 est introuvable.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'd:\\bin\\php-5.2.5-x64\\ext\\php_mysqli.dll' - Le module sp\xe9cifi\xe9 est introuvable.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'd:\\bin\\php-5.2.5-x64\\ext\\php_pdo_mysql.dll' - Le module sp\xe9cifi\xe9 est introuvable.\r\n in Unknown on line 0
[Tue Jun 30 17:11:28 2009] [notice] Child 2356: Child process is running
[Tue Jun 30 17:11:28 2009] [notice] Child 2356: Acquired the start mutex.
[Tue Jun 30 17:11:28 2009] [notice] Child 2356: Starting 64 worker threads.
[Tue Jun 30 17:11:28 2009] [notice] Child 2356: Starting thread to listen on port 81.
Pourtant ces les fichiers d'extension sont bien présents.
Est-ce que le problème pourrait venir du fait que les extensions ne soient pas 64bits? Comment puis-je vérifier comment ces dernières ont été compilées?
NB: mon Apache est bien 64 bits, le "(Win32)" peut prêter à confusion.
Citation:
Envoyé par httpd -V
Server version: Apache/2.2.11 (Win32)
Server built: Dec 20 2008 15:34:10
Server's Module Magic Number: 20051115:21
Server loaded: APR 1.3.3, APR-Util 1.3.4
Compiled using: APR 1.3.3, APR-Util 1.3.4
Architecture: 64-bit
Server MPM: WinNT
threaded: yes (fixed thread count)
forked: no
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/winnt"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/apache"
-D SUEXEC_BIN="/apache/bin/suexec"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error.log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
NB2: Le tout tourne sur Windows server 2008 Standard edition 64Bits