It's straight, I don't know why PHP keep looking for mysql.so in /lib64 because my VPS is running CentOS 6.8 x86.
I have double check and don't see any reference to to /lib64 at all
php.ini: extension_dir = "./"
my.ini: extension=/usr/lib/php/modules/php_mysql.so
Here is httpd error log, any suggestion ?
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - /usr/lib64/php/modules/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Related
wampserver load php_pgsql.dll error :
PHP Warning: PHP Startup: Unable to load dynamic library 'd:/wamp/bin/php/php5.3.13/ext/php_pgsql.dll' -
\xb2\xd9\xd7\xf7\xcf\xb5\xcd\xb3\xce\xde\xb7\xa8\xd4\xcb\xd0\xd0
%1\xa1\xa3\r\n in Unknown on line 0
Just copy the libpq.dll from your PHP directory to the Apache bin directory.
If it do not work out for you, you have to load libpq.dll in the httpd.conf like below
LoadFile "d:/wamp/bin/php/php5.3.13/libpq.dll"
I am trying to configure XAMPP for Oracle 11 on my Windows 7 PC.
I followed these steps:
In my php.ini file I uncommented this line: extension=php_oci8_11g.dll
I made sure that dll is in this location: extension_dir="C:\xampp\php\ext"
I restarted my apache and received the following errors (as pop-ups):
The program can’t start because OCI.dll is missing from your computer.
Try reinstalling the program to fix this problem.
Followed by:
PHP Startup: Unable to load dynamic library
‘C:\xampp\php\ext\php_oci8_11g.dll’ – the specified module is not
found.
But I have checked that the file exists in: C:\xampp\php\ext\
So, any idea what the problem is?
I want to send an email using localhost (XAMPP). When i added this line "extension=php_openssl.dll" to php.ini a warning was diplayed saying that "PHP startup: unable to load dynamic library php_openssl.dll". What does it mean?
Stop apache
Copy libeay32.dll and ssleay32.dll from installdir/php/ to:
C:\Windows\System32
C:\Windows\SysWOW64 ( if x64 bit windows OS)
apache_install_dir\bin
restart apache.
I'm trying to cross to mint11, but xampp installation is giving me a headache!!
So I installed xampp, then installed xdebug, via xdebug pages, (i went with tailored installation, so my xdebug file is ok). I try to debug in NetBeans and nothing, it says waiting for connection. I can see that it is installed via phpinfo(), but when i try to hit
$php -i | grep xdebug
the output tells me that remote_enabled is off, although i edited it in php.ini.
Also, i get this in the beginning :
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/mysql.so' - /usr/lib/php5/20090626+lfs/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/mysqli.so' - /usr/lib/php5/20090626+lfs/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/pdo_mysql.so' - /usr/lib/php5/20090626+lfs/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
/etc/php5/cli/conf.d/xdebug.ini
the [phpinfo()] output tells me that remote_enabled is off, although i edited it in php.ini.
You need to enable that remote_enabled setting, otherwise it won't work with NetBeans.
It's most likely you are editing the wrong php ini file.
The mysql*.so errors you see are most likely not related to xdebug, locate the lines in the diverse .ini files that are scanned and comment those so you don't get distracted by that error.
Then locate the right place where to configure xdebug, most likely in:
/etc/php5/cli/conf.d/xdebug.ini
This is becoming a very frustrating issue. I am trying to do a clean install of apache 2.2 and PHP 5.2.11. Everything seems to be configured correctly but the php modules aren't starting...
PHP Warning: PHP Startup: Unable to load dynamic library '.;C:/Program Files (x86)/Apache Software Foundation/Apache2.2/php/ext/php_mcrypt.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:/Program Files (x86)/Apache Software Foundation/Apache2.2/php/ext/php_mysql.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:/Program Files (x86)/Apache Software Foundation/Apache2.2/php/ext/php_openssl.dll' - The specified module could not be found.\r\n in Unknown on line 0
in the php.ini
include_path = ".;C:\Program Files (x86)\Apache Software Foundation\Apache2.2\php"
extension_dir = ".;C:/Program Files (x86)/Apache Software Foundation/Apache2.2/php/ext/"
All the files are there... The .dll files such as ssleay32.dll, libmcrypt.dll, libmysql.dll, libeay32.dll are all installed at...
C:/Program Files (x86)/Apache Software Foundation/Apache2.2/php/
I also included them in the C:\Windows\System32
and even added C:/Program Files (x86)/Apache Software Foundation/Apache2.2/php/ to the windows path.
I have no idea why this isn't working and it feels like a no win situation. Anyone have any ideas on how to get this all working ok?
Try this:
extension_dir = "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/php/ext/"
without starting with the .;
You just uncomment the extension_dir in php.ini
Just for my future self if no-else. This is with PHP 5.2.13 running in Windows on IIS 8.
I got the following error:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\ext\php_openssl.dll' - The specified module could not be found.
From phpinfo() the loaded php.ini file was C:\Program Files (x86)\PHP\php.ini.
The extension directory:
extension_dir ="C:\Program Files (x86)\PHP\ext"
These were the last two lines of the php.ini file:
[PHP_SQLSRV]
extension=php_sqlsrv_52_nts_vc6.dll
[PHP_OPENSSL]
extension=php_openssl.dll
The php_openssl.dll and php_sqlsrv_52_nts_vc6.dll files are in the ext directory. The php_openssl.dll isn't corrupt (it's the same file size as one on another machine that's working).
PHP will find the sqlsrv dll but not the openssl dll. No idea why. No amounts of IIS restarting did anything.
The solution until I know better was to install the openssl.dll extension using the Windows PHP installer. You can re-run the installer and select 'Change' and it allows you to add or remove libraries. I can't see any difference in the file or the php.ini file now, but now the file loads.
I suspect actually that my problem was similar to this comment about OpenSSL installation on Windows:
At this point, when you start Apache it will attempt to load php_openssl.dll, but if your setup is anything like mine you will see an error. I prefer to start Apache manually, and the error appears in a dialog box: "The ordinal 4114 could not be located in the dynamic link library LIBEAY32.dll". (I'm not sure whether you would get this message if you started Apache as a service). The Apache log also contains an error message saying that php_openssl.dll cannot be loaded, though that message doesn't name libeay32.dll. Welcome to DLL Hell.
Libeay32.dll enters the picture because php_openssl.dll depends on it (and also on ssleay32.dll). What I think happens is that Apache first tries to load php_openssl.dll programmatically from the path specified by the extension_dir key. But then, the loading of the so-called dependent DLLs is left to Windows' default mechanism. If Windows finds an incompatible version of a dependent DLL, you get the error.
I noticed errors about ssleay32.dll when trying to run php -i from the command line. I just assumed that it didn't have it in the environment. IIS made no mention of any ssleay32.dll errors in its logs.
Had same errors, but instead of copying files added php folder to system path and restated the server.
Windows 8.1 have a bib problem with system PATH names what cannot editable with the general editor because this line is too long......and for PHP module extension good loading must to define PHP path in the system enviroments.
ONLY one thing helped for me:
https://rix0rrr.github.io/WindowsPathEditor/