Greetings,
I am stumped and hope someone here can give me a hand?
I have installed:
Apache 2.2
MySQL 5.0.27
PHP 5.2.5
Windows XP SP2
I have been trying for 2 weeks now to figure out this problem, which is, that the only extensions that will run from php are php_mysql.dll and php_mysqli.dll. I have 3 other extensions I am trying to use and they are:
php_mcrypt.dll
php_mbstring.dll
php_gd2.dll
I am trying to install Moodle, which requires php_gd2.dll to display graphics properly. I am using phpMyAdmin to manage my DBs and it is always giving me warning messages upon logging in that both mcrypt and mbstring modules cannot be found.
I have a very simple directory structure. All my apps are in C:\www. And I have my php.ini file in C:\Windows. I have Both my MySQL and Apache config files pointing to C:\Windows for the php.ini file. I know it is being read because when I use command line to execute php I get the following errors when those 3 extensions are uncommented within php.ini:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:>php
PHP Warning: PHP Startup: SVït$►Wï=╝ü5☺VhHt6☺j: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: SVWh: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: SVWj: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=1
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
When I comment the 3 extensions out I don't get the warnings. I have searched on the Internet for a long time and tried many things, but so far no success.