Here are the details of my PHP installation:
PHP Version: 5.3.8
Apache Version: 2.2.21
PHP Extension Build: API20090626,TS,VC9
XAMPP location: C:\xampp.
File name: php_mongo.dll. (downloaded file for mongodb extension for
php "php_mongo-1.3.1-5.4-vc9")
I moved php_mongo.dll file to C:\xampp\php\ext and added the extension (extension=php_mongo.dll) in php.ini file. When I'm trying to restart the Apache server I'm getting the below error:
title:http.exe- Entry Point Not Found
The procedure entry point zend_new_interned_string could not be
located in the dynamic library php5ts.dll
When I click the OK button, the Apache server stops.
Use below extension
mongo-1.1.4-php5.3vc9ts
from https://github.com/mongodb/mongo-php-driver/downloads
Hope it will work for you.
Related
Please help me to install librdkafka on windows xampp for php development.
PHP : 7.1.12, x86, Thread Safe, MSVC14
I downloaded compatible package from https://pecl.php.net/package/rdkafka/3.0.5/windows
Copied php_rdkafka.dll to ext folder of my php xampp and librdkafka.dll to System32 folder (also to ext folder).
But the extension is not working. I am getting following error:
PHP Warning: PHP Startup: Unable to load dynamic library
'C:\xampp\php\ext\php_rdkafka.dll' - The specified module could not be
found. in Unknown on line 0
I suspect that librdkafka is not properly installed.
I managed to make it work by doing below steps.
Copy librdkafka.dll to C:\Windows\SysWOW64 if x86 otherwise copy to C:\Windows\System32. Don't copy to both folders.
Then run regsvr32 librdkafka.dll in command prompt.
Then copy php_rdkafka.dll to ext folder of your php.
Then add extension=php_rdkafka.dll to your php.ini file
Restart PHP, DONE!!!
The accepted answer did not work for me, instead I installed the dependency as following:
Download the library from https://pecl.php.net/package/rdkafka
Extract the file librdkafka.dll to the the root PHP directory (same level as php.exe for example C:\xampp\php).
Extract the file php_rdkfaka.dll to the ext folder: C:\xampp\php\ext
Add the line extension=php_rdkafka.dll to the php.ini.
Restart the server.
Note: within the library you will download, you will find a README.md with a link to the official documentation.
I have a problem with installing dBase extension in XAMPP with PHP 5.5.11.
I added php_dbase.dll to php/ext folder and added following line to the php.ini file:
extension=php_dbase.dll
But when I try this code in my script:
dbase_open('file.dbf');
I got an error message:
Call to undefined function dbase_open()'
How to properly install dBase extension?
Try with this link:
http://pecl.php.net/package/dbase/5.1.0/windows
In my case i have:
XAMPP 1.8.3
[PHP: 5.5.15]
And i use:
php_dbase-5.1.0-5.5-ts-vc11-x86.zip
Download the correct version for your PHP windows environmet.
Regards,
You need to check in PHP directory is file php_gmp.dll enable and if it does, then in php.ini add this string in extensions section:
extension=php_gmp.dll
For more info go here.
You need to to check the php_dbase.dll is compatiable with your php version.
here i am using php 5.3.27 ThreadSafe version with vc9 and i downloaded the php_dbase-5.3-svn-20101022-vc9-x86.zip file from http://downloads.php.net/pierre/ and i did same all above you mentioned.
everything is working for me.
I have Windows XP and recently I installed wamp (apache-mysql-php) 32-bit.
I tested the installation (connect to mysql database with php and apache) and everything was working fine.
Now i need to connect to an Oracle database so I tried to enable some extensions
related to Oracle and oci8.
And I did:
1) I opened php.ini file and I removed the semicolons before the following lines:
before:
;extension=php_oci8.dll
;extension=php_oci8_11g.dll
after:
extension=php_oci8.dll
extension=php_oci8_11g.dll
2) I restarted apache and all Services and i get a
"PHP StartUp" Warning.
3) In php_error.log file I get:
**PHP Warning: PHP Startup: in Unknown on line 0**
So, i thought that it would be a good idea to check where my extension php folder is
and if those dll files are there.
In php.ini my extension folder is located at:
extension_dir = "C:/wamp/bin/php/php5.4.16/ext/"
The folder exists and both of these libraries (php_oci8.dll php_oci8_11g.dll)
are inside that folder.
4) I added in my 'Path' system variable in Windows the following:
C:\wamp\bin\php\php5.4.16\ext;
5) I copied both of these dll files in Apache's folder but again it didn't work!
C:\wamp\bin\apache\Apache2.4.4\bin
6) Also, I checked the phpinfo page and the only entry I get for "oci8" is the following:
Configure Command
"--with-oci8=C:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=C:\php-sdk\oracle\instantclient11\sdk,shared"
Hm...the following folders do not exist in my system:
C:\php-sdk\oracle\instantclient10\sdk
C:\php-sdk\oracle\instantclient11\sdk
So, what am I supposed to do next in order to correctly enable the oci8 extensions?
thanks
[SOLVED]
I downloaded the Instant Client Package - Basic (version 10.2.0.5) and I extracted it.
Afterwards I copied all the files of that package in the following folders:
C:/wamp/bin/php/php5.4.16/ext/
C:/wamp/bin/apache/Apache2.4.4/bin
It worked for me in this way.
After that the oci8 module was loaded.
When downloading the instantclient, verify that architecture have installed wamp.
In my case instantclient to download the x64 but had installed the x32 and had problems.
Downloaded the correct architecture and it worked fine.
I am using
Ultimate goal: To install wordpress in IIS with MSSQL as DB backend (sqlsrvmethod)
Primary Objective: info.php doesn't shows, "slqsrv".
So trying to install that extension or directive into php. Configuration as below,
Web server - IIS,
mssql driver 3.0,
sqlsrv NOT PDO,
PHP version 5.4.3 (PHP-CGI.exe is being used from D: loaded which is present in wamp/bin/php/php.5.4.3. Since couldn't get any php-cgi.exe along with php file from php.net)
MSSQL 2008
Thread Safety - Enabled, can't able to download php_sqlsrv_54_nts.dll or php_pdo_sqlsrv_54_nts.dll.
Ended up with below, PHP Warning: PHP Startup: Unable to load dynamic library 'D:\wamp\bin\php\php5.4.3\ext\php_sqlsrv_53_ts.dll' - The specified module could not be found.
The php must be installed in the default location of C: drive. Then point it in IIS using PHP manager.
The SQLSRV.v.3.0 must be installed in default location C:
These helped me to resolve the issue easier.
First you must have:
extension=php_sqlsrv_54_ts.dll
extension=php_pdo_sqlsrv_54_ts.dll
in your php.ini file, and both above mentioned drivers must be in "ext" folder of php and you must restart your apache or iis server, then it should show as you expected.....
I am having problems installing the php_imap.dll extension for a webserver running apache and php 5.2.6 on windows server 2003 r2.
I have other extensions installed so I know the basics. I have confirmed that my php.ini file is pointing the the right extension directory. This is in my php.ini config
extension=php_gd2.dll
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_imap.dll
and I put the php_imap.dll in the /ext folder of apache where the others are located.
Then in the php error log I get:
12-Jan-2012 10:09:48] PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\php_imap.dll' - The specified procedure could not be found.
I think the issue is I have the wrong version of the php_imap.dll. The version I have is from my windows workstation that is running wamp against php version 5.3. and this works. But when I copy that same .dll to the server runnning a different version of php it does not work. Does anyone know where I can find the correct version of the php_imap.dll?
http://us3.php.net/manual/en/install.pecl.windows.php
At the above site they say I should download the correct version, and some dlls are listed, but not the one that I need.
PHP API 20041225
Thread Safety enabled
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" "--with-extra-includes=C:\Program Files (x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\MFC\INCLUDE" "--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\VC98\MFC\LIB"
If you only need this php_imap.dll for php5.2.6, you will find it in WampServer addons archive. There is a 5.2.6 addon
It will not replace your php/apache current installation, but this addon contain a lot of non standard extensions for PHP
My advice is to extract it on your workstation, and take only the php_imap.dll and drop it in you ext/ folder in windows server 2003 r2.
Hope this helps !