how to install php_sdo with xampp lite - php

Actually I was using SDO_DAS_XML::create(); function in my php code and it requires php_sdo.dll. So I install it from net and save this at C:\xampplite\php\ext location after that I add this to my php.ini file. But it still not working even when I start apache from xampp it shows warning
PHP Startup: sdo: Unable to inilialize module. *Module compiled with module API =20060613. PHP compiled with module API=20090626.* These options need to match.`
Please help me how to add php_sdo with my xampp. I am using windows xp.

what i conclude from this post is that the dll file you downloaded might be compiled for a version of PHP older to the one you have..you can try this dll file as it's not giving me problem with PHP 5.3.1

Related

How do I fix "PHP Warning: PHP Startup: Unable to load dynamic library 'mongodb' "

I am trying to install and set up mongodb with a laravel application for the first time. I read that I have to install the extension and libraries but after I do that I get the above error when I try to execute a php command in the terminal.
I am running windows 10 x64 and PHP 7.3.1.
First of all I installed the mongodb from the official mongodb site
I got the latest mongodb dll from https://pecl.php.net/package/mongodb/1.6.0/windows
I extracted the dll into the c:/xampp/php/ext folder according to the instructions and restarted the server.
I also included the extension = php_mongodb.dll in the php.ini file
This is what I get...
I found a similar post on here PHP unable to load dynamic library (mongo.so) that could have solved my problem but that solution is for users on mac and I am on windows.
I'm answering my own question here. Turns out my xampp version was x86 and so x64 version of the dll would obviously not work... Solution was to just use x86 version of the dll instead.

Datastax Cassandra PHP extension in WAMP

I am using WAMP with php v5.5.12.
Trying to install datastax php driver(https://github.com/datastax/php-driver).
1. I take the compiled dll file from here and put it in /ext folder
2. Add the extention=php_cassandra.dll to php.ini
3. Restarting WAMP server
I get this error in wamp php error log:
[28-Jan-2016 07:32:57 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_cassandra.dll' - The specified module could not be found.
Also installed Pear package, but there are no changes.
Does anyone here experience with cassandra new driver on windows?
What can be the problem?
I could not either make the .dll found on the pecl php site work. Same error.
But the .dll found here works!
http://downloads.datastax.com/php-driver/windows/cassandra/
You will need to use the Thread Safe version (TS) and of course the one for PHP5.5. Also you need to use the x86 if you WAMPServer is the 32 bit and the x64 if WAMPServer is the 64bit version
That dll should be place into the \wamp\bin\php\php5.5.12\ext folder

curl is not working on php 5.4.3 of wamp server

I am using wamp server that installs php version 5.4.3 and I enabled curl extension, edited php.ini files to uncomment curl extensions lines but the problem is that when I try installing composer using console, it gives me a message that says "PHP Startup: unable to load dynamic library 'c:/wamp/bin/php/php5.4.3/ext/php_curl.dll", here is a screenshot of it
I followed instruction from different posts, downloaded curl versions from anindya but with no hope..
Thanks in advance for your time
Make sure your dll is compiled for the version of PHP you're using. So one compiled for 5.5 won't work on 5.4, etc. There's a link in this question that's relevant
PHP cURL not working - WAMP on Windows 7 64 bit
It sounds like you are running a 32bit PHP and have downloaded a 64bit version of PHP_CURL. That wont work
This dll should come as standard with WAMP's PHP's.
Are you sure your problem was not that you forgot that when running PHP in CLI mode you have to configure it using the 'php.ini' file that lives in the c:\wamp\bin\php\php5.4.3\php.ini
So if you uncomment the php_curl extension line in that file it should have worked, until you downloaded the wrong curl dll.
So get a 32bit curl dll for the correct version of php and try again.

Can't install gmagick on Windows 7 XAMPP

I have XAMPP 1.8.1 with PHP 5.4.7 installed. When I add php_gmagick_ts.dll to my php.ini (I made sure that I need the ts and not the nts version), upon restarting Apache I'm getting these errors:
The procedure entry point php_checkuid_ex could not be located in the
dynamic link library php5ts.dll
and after that one:
PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_gmagick_ts.dll' - The specified procedure could not be found.
Any help?
AFAIK there is currently no GraphicsMagick DLL available working with PHP 5.4 on Windows.
As the availability of php_gmagick_(n)ts.dll for latest PHP versions is always a problem, I recommend that you either drop back to PHP 5.3 (DLLs available here) or that you use the standalone version of GraphicsMagick and call it from within PHP using exec() commands.

PHP Startup: unable to initialize module

i'm trying to install mongoDB in my system. As instructed in
http://www.mongodb.org/display/DOCS/PHP+Language+Center,
I downloaded php_mongo.dll and put it in ../php5.3.0/ext folder. Then I added extension=php_mongo.dll to php.ini. When I restarted WAMP, I got the following errors:
PHP Startup: unable to load dynamic library php5.3.0/ext/php_gd2.dll
and the same error for
php_mbstring.dll,php_mysql.dll,php_mysqli.dll,php_pdo_mysql.dll,php_pdo_sqlite.dll.
After that, I got another error:
PHP Startup: Mongo: Unable to initialize module
Module compiled with build ID=API20090626, TS, VC9
PHP compiled with build ID=API20090626, TS, VC6.
These options need to match.
After some reading up from the net, I realize that I have to change the compiler for PHP. Does anyone know on how to update php compiler VC6 to php compiler VC9?
My Apache version 2.2.11
PHP version 5.3.0
thank you
http://windows.php.net/download/
Download the zip file for VC9 x86 Thread Safe (which is for PHP run as Apache module).
Extract the contents of the zip somewhere
Stop apache
Backup the php.ini file you have in your current PHP directory ../php5.3.0/
Delete (or backup) the rest of the contents you have in ../php5.3.0/
Place the extracted content in ../php5.3.0/
Put php_mongodb.dll in ../php5.3.0/ext/
Put php.ini back also
Restart Apache
edit:
Sorry, I forgot to mention that you also need to replace your apache install with the one from apachelounge as well, and have Microsoft 2008 C++ Runtime (x86) or the Microsoft 2008 C++ Runtime (x64) installed, as per the remarks in "Which version do I choose?" on the same page http://windows.php.net/download/
For time being, check which module is in warning message, just go to php.ini file and comment it. This could work

Categories