I'm trying to install mysql.so extension for php 7.0. Unfortunately, I have this problem:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/mysql.so' - /usr/lib/php/20151012/mysql.so: undefined symbol: _zend_list_find in Unknown on line 0.
I've searched internet for the solution and I didn't find anything. I tried also installing zend-framework, but nothing happened.
Recently, I've upgraded PHP to version 7.0.4. After that I tried to re-install Redis client (PHP Redis) by following steps similar to these instructions.
However, when I run PHP I get the following error:
$ php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/redis.so' - /usr/lib/php/20151012/redis.so: undefined symbol: zval_used_for_init in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/redis.so' - /usr/lib/php/20151012/redis.so: undefined symbol: zval_used_for_init in Unknown on line 0
Does anyone have an idea how to solve this?
In beginning of march 2016 stable branch of phpredis does not support php7. But you can use it with php7-brunch. It still has some bugs but actually can be used.
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!
I'm running a Virtualbox Environment (laravel project) that I haven't touched in a while.
When I SSH into vagrant and try running the 'php' command, I get the following error:
vagrant#sched:/etc/php5/mods-available$ php
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/pdo_mysql.so' - /usr/lib/php5/20100525+lfs/pdo_mysql.so: undefined symbol: pdo_parse_params in Unknown on line 0
^C
vagrant#sched:/etc/php5/mods-available$ php
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525+lfs/pdo_mysql.so' - /usr/lib/php5/20100525+lfs/pdo_mysql.so: undefined symbol: pdo_parse_params in Unknown on line 0
Any ideas where to proceed from here? I tried to purge my php5 and php5-mysql installations and re-installing, but it seems that didn't do anything.
My WAMP server was working absolutely fine yesterday. Today I had to restart my computer and something fouled up the works. The server never fully starts... the task bar icon stays orange. My projects will open, but only the HTML load and not the PHP. Here is my error log from PHP...
[04-Oct-2014 01:36:27 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:36:27 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:36:27 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.
in Unknown on line 0
[04-Oct-2014 01:36:27 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:36:27 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:36:27 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.
in Unknown on line 0
[04-Oct-2014 01:37:28 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:37:28 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:37:28 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.
in Unknown on line 0
[04-Oct-2014 01:37:29 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:37:29 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:37:29 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.
in Unknown on line 0
[04-Oct-2014 01:38:42 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:38:42 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:38:42 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.
in Unknown on line 0
[04-Oct-2014 01:38:43 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:38:43 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:38:43 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.
in Unknown on line 0
[04-Oct-2014 01:44:47 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:44:47 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:44:47 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.
in Unknown on line 0
[04-Oct-2014 01:44:48 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:44:48 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.
in Unknown on line 0
[04-Oct-2014 01:44:48 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'W:/wamp/bin/php/php5.5.12/ext/php_smtp.dll' - %1 is not a valid Win32 application.
in Unknown on line 0
All of the librarys' files are still present in the correct folder. Anyone know what could cause this?
Update: Not sure why I have so many different versions, but here they are:
Update: I did a full reinstall of wamp and I am still getting these errors.
This is just a hiccup in the 2.5 installation process.
All you need to do is this:-
Using the wampmanager (the W icon in the system tray ) do
left click wampmanager -> Apache -> Version -> (and click on the version number)
This will cause wampmanager to rebuild all the SYMLINKS in the apache/bin folder, and restart Apache. This should fix the issue and stop the errors from appearing in the php error log.
It's a version mismatch or a missing dependency of these extension dll's.
You might need to install Visual C++ Redistributable:
The PHP VC9 builds (5.4) require you to have the Visual C++ Redistributable for Visual Studio 2008 SP1 x86 or x64 installed.
The VC11 builds (5.5, 5.6) require to have the Visual C++ Redistributable for Visual Studio 2012 x86 or x64 installed.
php_ldap might need libeay32.dll and ssleay32.dll, too... but these file are part of the PHP distribution. This would only be a problem, if they were deleted or if the PHP folder is not on your ENV PATH var.
Try with a fresh PHP download:
http://windows.php.net/downloads/releases/php-5.5.17-Win32-VC11-x86.zip
http://windows.php.net/downloads/releases/php-5.5.17-Win32-VC11-x64.zip
http://windows.php.net/downloads/releases/php-5.5.17-nts-Win32-VC11-x86.zip
http://windows.php.net/downloads/releases/php-5.5.17-nts-Win32-VC11-x64.zip
This can be corrected by using the Wamp Menus.
Check the apache version that you have.It might be 2.4.9.
It will cause WAMPServer to rebuild of all the SYMLINK's in the apache2.4.9/bin folder and that will put the correct symlinks in there for these 2 extensions. as says here.
So you would need to edit the \wamp\script\config.inc.php and find the variable $phpDllToCopy and make changes like
$phpDllToCopy = array (
'icudt52.dll',
'icuin52.dll',
'icuio52.dll',
'icule52.dll',
'iculx52.dll',
'icutest52.dll',
'icutu52.dll',
'icuuc52.dll',
'icudt51.dll',
'icuin51.dll',
'icuio51.dll',
'icule51.dll',
'iculx51.dll',
'icutest51.dll',
'icutu51.dll',
'icuuc51.dll',
'icudt50.dll',
'icuin50.dll',
'icuio50.dll',
'icule50.dll',
'iculx50.dll',
'icutest50.dll',
'icutu50.dll',
'icuuc50.dll',
'icudt49.dll',
'icuin49.dll',
'icuio49.dll',
'icule49.dll',
'iculx49.dll',
'icutest49.dll',
'icutu49.dll',
'icuuc49.dll',
'libeay32.dll',
'libsasl.dll',
'libintl.dll',
'php5isapi.dll',
'php5nsapi.dll',
'ssleay32.dll',
'php5ts.dll',
'fribidi.dll',
'fdftk.dll',
'libmcrypt.dll',
'libmhash.dll',
'libmysql.dll',
'libmysqli.dll',
'msql.dll',
'ntwdblib.dll',
'php5activescript.dll',
);
It happened to me after adding a new PHP version to wamp (7.3.17), Adding the path
wamp\bin\php\Path_of_your_PHP
in Environmental variable PATH solved this problem.
Please uninstall wamp which you had been installed.. Try to install Visual C++ ie, the link is given here http://www.microsoft.com/en-in/download/confirmation.aspx?id=30679 use this link.
after downloading and installing Visual C++ you can install the Wamp server again.. So that it will work..correctly...
RESOLVED !!
I was getting the following errors:
1) 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.
2) The program can't start because MSVCP110.dll is missing from your computer. Try reinstalling the program to fix this problem.
The error was still there even after installing Visual C++ Redistributable.
I resolved it by copying MSVCP110.dll to Windows\System32 folder. It is up and running now !