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
Related
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 am using Windows 7 x64 with PHP 5.5.12 plus.
I am receiving the following error:
line 862 "extension=php_mongo.dll" and the ext_dir "extension_dir = "c:/wamp/bin/php/php5.5.12/ext/""
I placed php_mongo-1.6.8-5.5-vc11-x86_64.dll inside said directory and renamed it tophp_mongo.dll, restarted without problems. Placed it online, also, without problems.
However it is still not installed, tried a full computer restart, neither worked, and not placed in phpinfo().
Using 1.6.10 version, will also give the same results.
EDIT: the error:
[18-Aug-2015 07:10:55 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.
in Unknown on line 0
[18-Aug-2015 07:10:55 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[18-Aug-2015 07:10:55 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_mongo.dll' - The specified module could not be found.
in Unknown on line 0
[18-Aug-2015 07:10:56 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.
in Unknown on line 0
[18-Aug-2015 07:10:56 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[18-Aug-2015 07:10:56 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_mongo.dll' - The specified module could not be found.
in Unknown on line 0
[18-Aug-2015 07:13:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.
in Unknown on line 0
[18-Aug-2015 07:13:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[18-Aug-2015 07:13:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_mongo.dll' - The specified module could not be found.
in Unknown on line 0
[18-Aug-2015 07:13:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.
in Unknown on line 0
[18-Aug-2015 07:13:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[18-Aug-2015 07:13:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_mongo.dll' - The specified module could not be found.
in Unknown on line 0
http://i.imgur.com/YGvLRiC.png image of php just pulling bullshit as usual (everything is there, tried read only and without read only.)
Apparently php cannot find ANY module, even if they're ticked on wamp's menus.
EDIT2:
After adding libsasl.dll to apache's directory following PHP Startup Unable to load dynamic library php_mongo.dll instructions the error changes into:
[18-Aug-2015 07:36:39 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_mongo.dll' - %1 is not a valid Win32 application.
in Unknown on line 0
Are you using the thread-safe or non-thread-safe PHP build? I tried to reproduce the error on my Windows 7 build, which has thread-safe PHP installed, and it wouldn't work with the nts MongoDB driver, but the thread-safe one worked fine.
In short: Be sure to use the driver with 'nts' in the name if you're running the non-thread-safe PHP build.
Hope this helps!
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?
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 am getting following errors when I try to execute any PHP application after I installed IIS FastCGI and PHP 5.3.0 non-thread-safe on Windows XP:
PHP Warning: PHP Startup: Unable to
load dynamic library 'C:\Program
Files\PHP\ext\php_enchant.dll' - The
specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to
load dynamic library 'C:\Program
Files\PHP\ext\php_oci8.dll' - The
specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to
load dynamic library 'C:\Program
Files\PHP\ext\php_oci8_11g.dll' -
The specified module could not be
found. in Unknown on line 0
PHP Warning: PHP Startup: Unable to
load dynamic library 'C:\Program
Files\PHP\ext\php_pdo_oci.dll' - The
specified module could not be found.
in Unknown on line 0
How to get rid of this?
Check that the offending dlls actually are there in the ext folder
Check that in your php.ini the extension_dir value is enclosed by quotes
Finally, check the documentation of those extensions for additional dependencies (e.g. I recall the Oracle extensions requiring some dlls that come with the Oracle client...)