I'm having trouble installing the mssql.so extension in MAMP on Yosemite. I've followed the following tutorial multiple times, with no luck:
http://blog.benjaminwalters.net/?p=10
I'm using PHP v5.6.2; therefore, used/compiled the 5.6.2 version from source when following that section of the tutorial. I've placed the mssql.so library file in the extensions directory as instructed and added the appropriate extension=mssql.so line to the correct version of the php.ini file as displayed from the phpInfo page, in the Loaded Configuration File section of the MAMP start portal.
After these things, the same phpInfo page still does not display the mssql sub-section in the installed extensions area and I am still getting the following error:
Fatal error: Call to undefined function mssql_connect() in /Users/sadmicrowave/Documents/Coding/Astoria/bin/commonfunctionlibrary.php on line 16
I'm not sure what else to do to try and install this extension and get mssql_connect() to work. Any ideas?
Related
I am using
XAMPP :- v 5.6.31 (3.2.1)
apache :- 2.4.26
PHP :- 5.6.31
OS :- Windows 10
When I was trying to run my CakePHP project on xampp server, I got an error "Fatal error: You must enable the intl extension to use CakePHP. in C:\xampp\htdocs\my_project\config\bootstrap.php on line 23", so I search the internet I got the solution that I have to enable the php_intl extension so I have enabled it by uncommenting the line of code from the php.ini .
After that when I tried to restart my apache I got an error, "PHP Startup: Unable to load dynamic library 'C\xampp\php\ext\php_intl.dll' - The specified module could not be found."
I have searched for the resolution but nothing seems to work in my case. Could you please guide me to solve my issue.
I have gone through this links for guidance and no answer solved my problem.
To enable intl extension
To get rid of loading issue of php_intl.dll
I'm working on Wampserver on Windows 10.
I'm using an extension called ZMQ. I downloaded the DLLS from:
https://pecl.php.net/package/zmq/1.1.3/windows
I previously used the version of the extension for PHP 5.6 and it worked. The extension however had a bug, so I decided to upgrade my php version to 7.0.4 and try the new version of the extension.
The extension was successfully installed and it appears in the phpinfo(), but when I try to run "php -v" from the command line (or the CLI service that uses the extension), I get the following error: "Warning: PHP Startup: Unable to load dynamic library 'D:/wamp64/bin/php/php7.0.4/ext/php_zmq.dll' - The specified module could not be found.
in Unknown on line 0"
The weird thing is the file "php_zmq.dll" actually exists in the specified path.
Important note: I have the line "extension=php_zmq.dll" in both my "D:\wamp64\bin\apache\apache2.4.18\bin\php.ini" and my "D:\wamp64\bin\php\php7.0.4\php.ini" (which to my understanding is used by the CLI). I can't remove either of those lines because then the extension is removed, or it doesn't work in the CLI.
I had the same problem. using PHP 7.0 x64 TS. I used the exact dll from pecl but same error. all my other extensions load fine and are in the same directory
i followed all instructions on https://superuser.com/questions/585291/installing-zeromq-on-windows-7-wamp-server.
the main updates would be to do the following:
copy libzmq.dll and libsodium.dll to php root dir. (both are found in the pecl zip files.
I am trying to learn PHP with mongodb backend, but I could not connect PHP to mongo because of the following error:
fatal error Mongo class undefined
I am using Xampp and netbeans as IDE. I looked it up and got that the drivers are to be installed.
So I downloaded the drivers which is php_mongo-1.4.x-5.5-vc11.dll. I put it in the .../php/ext/folder and edit php.ini placing extention = php_mongo.....dll.
But still when I start my apache it says php_mongo...dll not found althought it is placed correctly. Also it says libsasl.dll not found, which when I looked up, it was in place.
I have mongodb installed and I have correct driver version, so why does it happen?
I followed a few steps from http://caseymorford.com to install the OCI8 extension. The only issue was that the install-path on success was different. So i copied the oci8.so file to the right folder.
After restarting Apache and running some php, i still get the message:
Call to undefined function oci_connect()
Is there some other way to download a complete > PHP5.4 version with a build in oci extension?
Hi friends i am using Apache 2.4.4 (Win64), PHP 5.4.12. I need to install a new extension in it. I have a dll file of that extension i.e. pspell.dll. How should i make it work in my Apache? I have copied this dll to apache/Apache2.4.4/bin/. And enabled extension=php_pspell.dll in apache/Apache2.4.4/bin/php.ini. Restarted my apache but still getting no sign of this extension in phpinfo();. Please tell me what should i do?
Also getting this error:
Fatal error: Call to undefined function pspell_new()
Check server logs to see where is the problem.
Usually it's because file can't be found on disk or DLL file is not compatible with PHP - both PHP and DLL have to be compiled for same architecture, with same compiler and thread safety options.