I have installed Wamp server 2.1e-32bit and ImageMagick-6.8.9-7-Q16-x86-dll in Windows Server 2008 R2-x64. After completed my installation process and run wamp server, i get a error message and Imagick not working
The error msg is:
"PHP Warning: PHP Startup: imagick: 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 in Unknown on line 0"
How to resolve the problem?
Try the 64-bit DLL since you are running on Windows Server 2008 R2-x64 as recommended by the doc.
UPDATE:
If you don't already have the php_imagick.dll extension, you can download it from here. In your case, you will pick the php 5.3 Thread Safe (TS) x86 version. The caveat here is I am unsure if this will work with the latest imagemagick Q16 DLL.
Copy the php_imagick.dll file to your PHP ext folder, and update your php.ini to include extension=php_imagick.dll. Then restart your WAMP server.
Run phpinfo() to ensure the imagick library is loaded properly.
Related
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
I'm trying to install Saxon/C (beta version 0.3.1) on a Windows 7 machine but after following the instructions, when I attempt to restart PHP a Windows dialog box pops up saying;
The program can't start because php5ts.dll is missing from your computer. Try reinstalling the program to fix this error.
Followed by;
PHP Startup: Unable to load dynamic library 'ext\php_saxon.dll' - The specified module could not be found.
I'm using;
Windows 7 32-bit
PHP 5.4.27 (Thread Safety disabled)
nginx 1.4.6
I start PHP from the command prompt by doing;
php-cgi -b 127.0.0.1:9000
If I remove the reference to Saxon extension=php_saxon.dll from php.ini then PHP starts OK but obviously the Saxon/C extension won't work. If I put the reference back into php.ini then the errors appear.
It's as if Saxon/C is expecting PHP to be running in thread-safe mode, however the Saxon documentation implies that it should work with both thread-safe and non thread-safe;
The Saxon/C dll library is a 32-bit version. The PHP extension dll was
compiled for PHP version 5.4 (TS/NTS).
I am on Windows 7 on a 32-bit OS.
I installed ImageMagick-6.8.7-Q16 from Link and I was able to run ImageMagick from command line ("convert" command).
Then I downloaded the VC9 version of php_imagick.dll from http://pecl.php.net/package/imagick/3.1.2/windows.
I placed in the PHP extension directory. I tried both NTS and TS however they recommended TS.
Then I made changes to php.ini file but the extension wouldn't load. In apache error log it says:
PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.13/ext/php_imagick.dll' - The specified module could not be found.\r\n in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.13/ext/php_imagick.dll' - The specified module could not be found.
in <b>Unknown</b> on line <b>0</b><br />
I am using wamp server 2.2 which is compiled using VC9 as well. I want to use Imagick functions in PHP scripts.
Any help with fixing this issue is highly appreciated.
I had this same problem, here is my configuration:
Windows 8.1 64Bit
PHP 5.4 (Thread Safe)
Apache 2.2
I tried to install the Latest Version of ImageMagick but its fail to load and I solved by installing the following version (6.7.7-5-Q16 32bit) and its worked fine with http://ftp.icm.edu.pl/packages/ImageMagick/binaries/ImageMagick-6.7.7-5-Q16-windows-dll.exe.
after install download imagick dll from the link (imagick 3.1.2 Thread Safe )
http://pecl.php.net/package/imagick/3.1.2/windows
after restarted apache and start working
Ok, try the Q8 version php_imagick-3.1.2-5.3-ts-vc9-x86.zip
Yes, it has to be the TS (Thread Safe) version as Apache and PHP are compiled TS in the WAMPServer system.
Also the php_imagick.dll is delivered as part of the Imagick download, look in the unzipped file structure for it. Copy that to the /ext folder, not the PECL one.
Running ImageMagick on XAMPP 1.8.3 with Windows 7
Install details copied:
ImageMagick: ImageMagick-6.7.7-5-Q16-windows-dll (here)
Imagick DLL: PHP 5.5.x version from http://www.peewit.fr/imagick/
I found lots of articles about this problem, however none of them helped me.
Here is a I list of what I 've already tried:
uncomment the semicolon on php.ini
add the dependence file (libmcrypt.dll) on php folder, windows and
windows/system32
I 've restarted the IIS Server after each attempt
I cannot use this method, it was installed with a zip file.
On IIS Manager the extension is shown as enabled but checking the php error log I found this message multiple times:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\PHP\v5.3\ext\php_mcrypt.dll' - %1 is not a valid Win32 application. in Unknown on line 0
Here is a the screenshot of phpinfo()
I have Windows Server 2008 R2 64bit with IIS 7.5 and PHP 5.3.10. Maybe the file (php_mcrytp.dll) is not the good one, where can I download it? On php site I cannot find the php_mcrytp.dll file under ext folder.
Thank you
If you downloaded PHP for Windows from php.net and are running the FastCGI version of PHP (as you should with PHP 5.3.x and IIS), mcrypt library is already compiled statically in the PHP engine. You don't need to install any extra DLL.
If you see the mcrypt section in phpinfo's output then it means mcrypt is already enabled (otherwise the mcrypt section would be missing).
And that's also the reason there is no mcrypt DLL.
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