Whenever I try to run a PHP script on the command line, it crashes imediately. I get this errors:
Xdebug requires Zend Engine API version 220090626.
The Zend Engine API version 220100525 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
Warning: PHP Startup: imap: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
Warning: PHP Startup: gettext: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
Warning: PHP Startup: mcrypt: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
Warning: PHP Startup: yaz: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
Warning: PHP Startup: pgsql: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
Warning: PHP Startup: pdo_pgsql: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
Warning: PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
Warning: PHP Startup: uploadprogress: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0
This is the PHP part of my .profile.
# make sure we use MAMP version of php and other binaries
export PATH=/Applications/MAMP/bin/php/php5.3.14/bin/:$PATH
# make sure we use MAMP version of mysql and other binaries
export PATH=/Applications/MAMP/Library/bin:$PATH
# make sure we are using the same php.ini as MAMP PRO
export PHPRC='/Library/Application Support/appsolute/MAMP PRO/conf/php.ini'
# make brew doctor happy
export PATH=/usr/local/bin:$PATH
export PATH=/usr/local/sbin:$PATH
This has been working for months without problems. But leatly I updated to Maverik and had to update XCode and lots of homebrew stuff. After all I thought all my PHP stuff is comming from MAMP and should not be related to this.
Any ideas?
Related
I need to install SSH2 to my PHP5.6. So as I read this accepted answer I downloaded zip from here then coppied php_ssh2.dll and php_ssh2.pdb to php/ext and libssh2.dll to Windows/system32. And after Apache restart and SSH2 call it throws me this error:
PHP Warning: PHP Startup: ssh2: Unable to initialize module
Module compiled with module API=20121212
PHP compiled with module API=20131226
These options need to match
in Unknown on line 0
Warning: PHP Startup: ssh2: Unable to initialize module
Module compiled with module API=20121212
PHP compiled with module API=20131226
These options need to match
How can I solve it? Thanks you.
Installed EasyPHP 16.1.1 on Windows 10 but when launching, I get the following errors:
[core:warn] [pid 10808:tid 580] AH00098: pid file C:/Program Files (x86)/EasyPHP-Devserver-16.1/eds-binaries/httpserver/apache2418vc11x86x160806141849/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
PHP Deprecated: Comments starting with '#' are deprecated in C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-binaries\php\php5624vc11x86x160810035427\php.ini on line 877 in Unknown on line 0
PHP Warning: PHP Startup: gd: Unable to initialize module\nModule compiled with module API=20131226\nPHP compiled with module API=20121212\nThese options need to match\n in Unknown on line 0
PHP Warning: PHP Startup: mbstring: Unable to initialize module\nModule compiled with module API=20131226\nPHP compiled with module API=20121212\nThese options need to match\n in Unknown on line 0
PHP Warning: PHP Startup: mysql: Unable to initialize module\nModule compiled with module API=20131226\nPHP compiled with module API=20121212\nThese options need to match\n in Unknown on line 0
PHP Warning: PHP Startup: mysqli: Unable to initialize module\nModule compiled with module API=20131226\nPHP compiled with module API=20121212\nThese options need to match\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-binaries\php\php5624vc11x86x160810035427\ext\php_pdo_pgsql.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-binaries\php\php5624vc11x86x160810035427\ext\php_pgsql.dll' - The operating system cannot run %1.\r\n in Unknown on line 0
PHP Warning: PHP Startup: sockets: Unable to initialize module\nModule compiled with module API=20131226\nPHP compiled with module API=20121212\nThese options need to match\n in Unknown on line 0
and some other errors.
I'm assuming this is because I have older versions of EasyPHP/PHP/MySQL on my drive but was not able to figure out how to properly uninstall them. What is going on and what needs to be done to get the new version to work properly?
I'm using Softaculous AMPPS on Mac and trying to use PHP 7, but I'm having some problems.
First, when I changed my php version from 5.6 to 7, I had to made these changes at httpd.conf to make the Apache server start:
comment this line:
LoadModule php5_module {$path}/php/libphp5.so
add this line
LoadModule php7_module {$path}/php/libphp7.so
It started, but when I typed php -v at Terminal, I was getting the wrong version (5.4.45, my machine native php), so I had to change the path env to the PHP AMPPS path. Now when I type php -v I get the right version, but now I get these warnings:
PHP Warning: PHP Startup: bz2: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
Warning: PHP Startup: bz2: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: curl: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
Warning: PHP Startup: curl: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so in Unknown on line 0
PHP Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so in Unknown on line 0
PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
Warning: PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so in Unknown on line 0
PHP Warning: PHP Startup: sqlite3: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
Warning: PHP Startup: sqlite3: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: zlib: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
Warning: PHP Startup: zlib: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
PHP 7.0.2 (cli) (built: Jan 10 2016 03:00:54) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
iMac-de-MundusCarbo:~ admin$ php -v
PHP Warning: PHP Startup: bz2: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
Warning: PHP Startup: bz2: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: curl: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
Warning: PHP Startup: curl: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/intl.so in Unknown on line 0
PHP Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
Warning: PHP Startup: mbstring: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/mysqli.so in Unknown on line 0
PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
Warning: PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/soap.so in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so' - dlopen(/Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so, 9): Symbol not found: _zval_used_for_init
Referenced from: /Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so
Expected in: flat namespace
in /Applications/AMPPS/php-5.6/lib/extensions/ext/sockets.so in Unknown on line 0
PHP Warning: PHP Startup: sqlite3: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
Warning: PHP Startup: sqlite3: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: zlib: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
Warning: PHP Startup: zlib: Unable to initialize module
Module compiled with module API=20131226
PHP compiled with module API=20151012
These options need to match
in Unknown on line 0
PHP 7.0.2 (cli) (built: Jan 10 2016 03:00:54) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
The extensions I selected at Php Extensions window could not be initialiazed.
What could be happening?
I also tried to install pear/pecl to manually install/update these packages. But when I type pear version, I got the 5.4.45 PHP version, then I'm having problems to use pecl, I couldn't set the pear to use the AMPPS php (version 7).
Any hints will be nice, I'm lost. I'm a newbie too :)
In my case, it was happening just because I didn't restart my terminal session after switching from PHP-7.0.15 to PHP-5.6.30.
Indeed it was trying to load php7 modules when I was doing php -v after updating the php executable to php-5.6 in my ~/.bash_profile
i don't know if this is the right place to ask a question but i'm going to try anyway...
I was looking for a leightweight alternative of phpmyadmin and found sqlbuddy. Very good performance at first an very customizable.
However, since a few days it became very slow on login and just as slow with some insert functions. So the first thing i did was to place a fresh download in a new folder. Same issue...
I am not good with sql and php so what i am looking for are some tips and tricks to check some stuff.
First of all, is there a way to see what takes so long to logon. A logon in phpmyadmin on the same server runs smoothly on hostgator. Or can it be that the database is not on the same server wich causes the delay? When i use a website analyzer it tells me the fage load good but it onky loads the login form so that is no help.
The website itself has decent performance but every now and then it tells me too many connections when i have no connection at all. When i look in the phpadmin status is see between 100-120 connection but is that my current connection and normal behaviour?
Other custom scripts i use to connect and read data perform good so everything points to sqlbuddy for me.
I get the errors below...
[08-Sep-2013 05:14:07 America/Chicago] PHP Warning: PHP Startup: magickwand: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
[08-Sep-2013 05:14:07 America/Chicago] PHP Warning: PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
[08-Sep-2013 05:14:07 America/Chicago] PHP Warning: PHP Startup: mailparse: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
[08-Sep-2013 05:14:07 America/Chicago] PHP Warning: PHP Startup: PDO: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
[08-Sep-2013 05:14:07 America/Chicago] PHP Warning: PHP Startup: pdo_sqlite: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
[08-Sep-2013 05:14:07 America/Chicago] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/sqlite.so: undefined symbol: third_arg_force_ref in Unknown on line 0
[08-Sep-2013 05:14:07 America/Chicago] PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
[08-Sep-2013 05:14:07 America/Chicago] PHP Warning: PHP Startup: uploadprogress: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
[08-Sep-2013 05:14:07 America/Chicago] PHP Warning: PHP Startup: SourceGuardian: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
I hope someone can show me the right direction...
I want to work with PDO, through PHP command line.
It works perfect through the PHP web API, but not through the command line.
But when I execute the command: php test.php, it says unknown class PDO.
I think it has something to do with the thread-safety difference.
Because, when I execute the above command, the following warnings come: -
F:\shema\htdocs>php test.php
PHP Warning: PHP Startup: soap: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
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: sockets: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
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: mysql: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
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: pdo_mysql: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
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: pdo_pgsql: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
PHP Fatal error: Class 'PDO' not found in F:\shema\htdocs\test.php on line 2
PHP version: 5.2.9-2, downloaded from
here.
OS: Windows Vista
If the problem is with the modules, where do I get the thread safe modules for those modules?
Your PHP and your modules were compiled with different thread-safety (turned "on" in PHP, turned "off" in the modules). Grab the correct non-thread-safe (or "nts") build of PHP to match the modules you're trying to use and your problem should clear up.
Ah, you see
Module compiled with module API=20060613, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=1
Thread safety mismatch. You need to get the ones with thread safety turned on.
You have an error defining extension_dir in your php.ini. Try to put there absolute path.