php not finding php_protobuf_ts and php_curve25519_ts - php

I am using php 7.1.12 on a windows PC, i have tried to install php_protobuf_ts.dll and php_curve25519_ts.dll extensions to php i keep getting this error
Warning: PHP Startup: Unable to load dynamic library 'C:\xampp2\php\ext\php_protobuf_ts.dll' - The specified module could not be found.
in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\xampp2\php\ext\php_curve25519_ts.dll' - The specified module could not be found.
in Unknown on line 0
I am getting this error despite confirming that the above extensions exist on the specified directory. Please help, i have tried everything

Related

PHP Warning: PHP Startup: Unable to load dynamic library pdo_Oci.so

I recently found that the error logs of all the pages I have on a VPS with cloudlinux are full of messages like this one:
PHP Warning: PHP Startup: Unable to load dynamic library
'/opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_oci.so' -
/opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_oci.so: cannot
open shared object file: No such file or directory in Unknown on line
0
I have searched extensively trying to find how can I disable this library or extension because I don't have it. I have changed the PHP versions and the error logs keep showing this error.

PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/tidy.dll' - No such process in Unknown on line 0 [duplicate]

This question already has answers here:
Error In PHP5 ..Unable to load dynamic library
(13 answers)
Closed 1 year ago.
I've recently installed Cygwin to my new work laptop and ever since I've being bombarded with the above Warning message like commercial advertisements whenever I execute commands that involves php scripts
PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/tidy.dll' - No such process in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_tidy.dll' - No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_tidy.dll' - No such file or directory in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_tidy.dll' - No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_tidy.dll' - No such file or directory in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_tidy.dll' - No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/tidy.dll' - No such process in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/tidy.dll' - No such process in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/tidy.dll' - No such process in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/tidy.dll' - No such process in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/tidy.dll' - No such process in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/tidy.dll' - No such process in Unknown on line 0
I've done all the research (online) I could to remove this message / fix the problem. Also I can confirm the missing libraries are in fact NOT MISSING. My cygwin install directory is C:\cygwin. Although I couldn't find /usr/lib in Windows Explorer (C:\cygwin\usr), I could, however find it as well as the libraries in cygwin. Lastly, I tried to add all paths for Windows (C:\cygwin\lib) and linux (/usr/lib) to their environment specific path variables. None of these worked.
This might seem nothing but noise as it doesn't stop me from executing php scripts on command line. But I pretty sure issues like these are never negligible in later stages of development.
thanks Brett for his comment. When I did a search again, I found the following Stack-overflow page that answers my question
Error In PHP5 ..Unable to load dynamic library
The solution is around the following grep command suggested in one of the reply post
grep -Hrv ";" /etc/php5 | grep -i "extension="
As soon as I run it I found the ini file where I could comment the correct extension to get rid of php_tidy.dll message
My issue request fixes in a 2nd place, so as an extension to the above grep command, I used
grep -Hrv ";" /etc/php5 | grep -i "tidy.dll"
which gave me the location another file that requires similar commenting.
Updated both files (php.ini and tidy.ini) rid of the messages. Now my output looked much cleaner.
A more appropriate solution is to install the missing libraries via apt-get, which was discussed in other post. But most of the discussion relates to missing .so files, I'm not sure what to "apt-get" for the dlls. For the time being, I'm happy where I am.

WAMP PHP Startup Error: Unable to load dynamic library

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 !

Apache 2.4 / PHP 5.6 (Error Loading Dynamic Libraries)

I've been having an issue with my Apache 2.4 server which I have setup on Windows 2008 R2 SP1.
When installing PHP most of my extensions are loading without fault my "extension_dir=" is set to the full path and loading a handful of modules without error, However I have a problem with the remainder of these modules.
For example:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Apache24\\php\\ext\\php_intl.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Apache24\\php\\ext\\php_interbase.dll' - The specified module could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Apache24\\php\\ext\\php_ldap.dll' - The specified module could not be found.\r\n in Unknown on line 0
For reference the modules do exist in the required directory.
Does anyone know how I can resolve this?

[PHP/IIS FastCGI]: Error after installing FastCGI and PHP 5.3.0 nts on windows

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...)

Categories