Do you know where I can found the Gmagick.dll (not the Imagick.dll) for php 5.2 in VC6. I do a lot of search but cannot found it in vc6.
Thanks.
http://pecl.php.net/package/gmagick
Main site for GraphicsMagick
You are probably referring to the GraphicsMagick extension for PHP (which provides the class Gmagick in PHP) - not to the generic GraphicsMagick executable (that can be called from the Win command line or through exec() from within PHP)?!
I do not have a source for a VC6 version, but the following link provides at least some VC9 versions:
http://valokuva.org/builds/
To use it your PHP and Apache versions must be compiled with VC9.
VC9 versions are available for PHP since v5.3 and for Apache since v2.2.
Related
do they make mongodb php extension for visual studio 2010 (on a win7 32bt operating system) and php version 5.2?
i've seen sites that have the dll for download. (sites listed at the end of this text).
but, looking a the different dlls, i only see them for vc9 and vc11. does that mean that isn't mongo/php extension for my version of visual studio?
any info would be greatly appreciated. thank you.
https://github.com/mongodb/mongo-php-driver/downloads
https://s3.amazonaws.com/drivers.mongodb.org/php/index.html
If you're going to download and use a precompiled PHP extension for MongoDB, the important details to match up are: your version of PHP, what compiler was used, and whether it is 32-bit or 64-bit.
You can get this information from the phpinfo() details or by running php -i from a commmand line.
Look for a "PHP Extension Build" line similar to:
PHP Extension Build => API20100525,TS,VC9
You should then download the latest MongoDB driver DLL zip and find the appropriate DLL to install (matching PHP version, TS vs NTS, and VC version).
For example, with the above output from my 64-bit PHP 5.4 install I would use the php_mongo-1.4.x-5.4-vc9-x86_64.dll.
If your PHP extensions require something other than VC9 or VC11 (which is what the current versions are built with) you can try older driver versions, or ideally update your PHP to a newer version.
I need to install PHP 5.3.x (preferably x >= 4) on Windows box running Apache. Unfortunately, in the PHP downloads page, I cannot find any PHP 5.3.x compiled with VC6. So...
Can I use the VC9 binaries on Apache?
If so, how? Do I have to do anything special?
From the release announcement:
Windows users: please mind that we do no longer provide builds created
with Visual Studio C++ 6. It is impossible to maintain a high quality
and safe build of PHP for Windows using this unmaintained compiler.
For Apache SAPIs (php5_apache2_2.dll), be sure that you use a Visual
Studio C++ 9 version of Apache. We recommend the PHP builds as provided
by ApacheLounge. For any other SAPI (CLI, FastCGI via mod_fcgi, FastCGI
with IIS or other FastCGI capable server), everything works as before.
Third party extension providers must rebuild their extensions to make
them compatible and loadable with the Visual Studio C++9 builds that we
no longer provide.
http://www.apachelounge.com/download/
http://www.apachelounge.com/viewtopic.php?t=2743 - In this thread, they say that using VC9 PHP is not recommended at all with VC6 Apache, even though it might work at first. They don't say why.
http://windows.php.net/qa/ - Here, they also state not to use PHP5.3 VC9 with Apache compiled with VC6 (and also don't state why).
I think it might be best to upgrade your Apache to the VC9 version: http://www.apachelounge.com/download/
PHP 5.3.5 for VC6 server is still available: http://windows.php.net/downloads/releases/archives/
I'm fairly sure you can install the VC9 versions of Apache from http://www.apachelounge.com/download/ and they will work with the 5.3.x VC9 builds.
I have a copy of php_memcache.dll (from php_memcache-2.2.6-5.3-nts-vc9-x86.zip) which I have placed in my C:\wamp\bin\php\php5.3.5\ext folder.
In WAMP I can see php_memcache in my extensions list, however whenever I start the extension I get the following warning:
PHP Startup: Unable to load dynamic
library
'C:/wamp/bin/php/php5.3.5/ext/php_memcache.dll'
- The specified module could not be found.
This does not happen for any other extension that I can turn on or off.
Have tried moving php_memcache.dll to C:\windows\system32 but makes no difference.
Any ideas?
Your extension probably not fit the compilation mode of wampserver.
Is it compiled with vc9 (visual 2008) and a non threads safe support ?
My wampserver (latest available) is compiled in VC6 TS.
To know this info check phpinfo() on line :
Compiler
Thread safety
I'd suggest trying other versions of the dll.
2.2.5.0 works for me using WAMP.
The VC9 builds are the only supported builds. VC6 (which is used as convenience builds by Apache) is not supported anymore.
Latest PHP version (and PELC extensions) are only available as VC9 builds. Xamp are already moving their suite to VC9, other already did. You can also do it yourself using apachelounge.com builds, which are the ones we recommend to use with PHP Binaries.
How can I install APC on Windows? I am using PHP 5.3, Windows 7 x64.
I used
pecl install apc
I got
C:\PHP>pecl install apc
downloading APC-3.0.19.tgz ...
Starting to download APC-3.0.19.tgz (115,735 bytes) ............
done: 115,735 bytes 47 source files, building
WARNING: php_bin c:\php\php.exe appears to have a suffix \php.exe, but config
variable php_suffix does not match running: msdev APC.dsp /MAKE "APC - Release"
ERROR: Did not understand the completion status returned from msdev.exe.
Installing an extension with the pecl command means :
downloading the sources
compiling them
And, generally speaking, a windows machine doesn't have what's required to compile software like PHP and/or PHP extensions.
A better / easier solution, in your case, would probably be to find a pre-compiled .dll of the extension, that matches your system and your version of PHP.
With a bit of luck, maybe one of the versions provided on http://downloads.php.net/pierre/ could be OK ?
(It's what kind of acts as replacement of the old pecl4win, until the extensions for windows are available on windows.php.net)
For more informations about which version you should use, take a look at the Which version do I choose? section, in the left side-bar of http://windows.php.net/
It is not really important, whether you are running Windows 32-bit or 64-bit version. What matters is what Apache (webserver) version you have installed (32/64). Since lots of PHP extensions (like APC) are not available for 64-bit systems, most common setup is as follows:
Operating system 32 or 64-bit (not really important). Apache 32-bit will run easily on Windows 64-bit. The difference is, that for 32-bit apache you MUST install PHP 32-bit. Once you install 64-bit PHP, you may find difficult to install some extensions - there are almost no extensions available for 64-bit PHP platform.
therefore your webserver should be 32-bit if you care about special extensions, like APC, Imagick etc... Also you need to know if your apache is thread safe (TS) or not thread safe (NTS) and whether it has been compiled in Visual Studio 6 (VC6) or newser Visual Studio 2008 (VC9). You will easily find all this info from phpinfo() function.
as for the APC, some nice compilation for Windows are available from http://dev.freshsite.pl/php-accelerators/apc.html.
For php 5.3 you use php.net/pierre/php_apc-3.1.10-5.3-vc9-x86.zip.
Download it and copy php_apc.dll to your php ext directory. (I choose the file under ts I have thread safe php installation. There is also an apc dll file for non thread safe.)
Add extension=php_apc.dll into your php.ini file
Restart your web server
Run phpinfo() to see if it's installed or not.
I am using php 5.4 and I downloaded php.net/pierre/php_apc-3.1.10-5.4-vc9-x86.zip and its working fine.
Hope this will help mate.Good luck.
Also, make sure that the compiled version from here http://downloads.php.net/pierre/
matches your php version, otherwise the extension will not load (php v. 5.2.17 requires php_apc.dll v 5.2.17.17 - which doesn't seem to be available as of this writing - I had to downgrade the php version to play with apc).
Another point, pierre's zip packages, at least the one I downloaded, did not include the management script. you can get it from here: http://pecl.php.net/package/APC - select the version you downloaded, then navigate to Browse Source, then find your version in the 'tags' folder. the apc.php script should be there.
There's no available version for php > 5.4.
I'm using APCu instead. Just download the dll and reference it in php.ini.
This website offers updated dll and installers for Apache, PHP and APC compiled to work on windows 64 bit. I've been using it for a while and it works fine. You could an APC version compatible with PHP 5.3.22 here
I recently setup a server using the latest version of XAMPP for Windows. With it came PHP 5.3. I'm now looking for a memcache.dll file that works with PHP 5.3 I've used some of the previous .dll files and recieved an error message:
"PHP Startup: memcache: Unable t initialize module.
Module compiled with module API=20060613
PHP compiled with module api=20090626
These options need to match"
Any links to a PHP 5.3 memcache.dll file would be greatly appreciated.
Thanks for the help!
If you are using php 5.3 from within xampp 1.7.2/1.7.3, this distribution works fine:
http://shikii.net/blog/downloads/php_memcache-cvs-20090703-5.3-VC6-x86.zip
It's a real pity that windows.php.net is still not up yet with PECL windows binaries.
Links are not working any more. But you can use following SVN repository to download the file.
http://zhiliansns.googlecode.com/svn-history/r4/trunk/software/php_memcache-cvs-20090703-5.3-VC6-x86.zip
There are compiled extension available from http://downloads.php.net/pierre/
Amongst those, you'll find :
php_memcache-cvs-20090703-5.3-VC6-x86.zip (2009-07-03 05:30 -0700)
php_memcache-cvs-20090703-5.3-VC9-x64.zip (2009-07-03 05:45 -0700)
php_memcache-cvs-20090703-5.3-VC9-x86.zip (2009-07-03 06:11 -0700)
php_memcache-cvs-20090703-5.3-nts-VC6-x86.zip (2009-07-03 05:29 -0700)
php_memcache-cvs-20090703-5.3-nts-VC9-x64.zip (2009-07-03 05:35 -0700)
php_memcache-cvs-20090703-5.3-nts-VC9-x86.zip (2009-07-03 06:07 -0700)
Depending on the version of PHP 5.3 you are using, one of those might do ;-)
If you don't know which one you should choose, take a look at the "Which version do I choose?" block on the left of http://windows.php.net/ (quoting) :
If you are using PHP with Apache 1 or
Apache2 from apache.org you need to
use the VC6 versions of PHP
If you are using PHP with IIS you
should use the VC9 versions of PHP
VC6 Versions are compiled with the
legacy Visual Studio 6 compiler
VC9 Versions are compiled with the
Visual Studio 2008 compiler and have
improvements in performance and
stability. The VC9 versions require
you to have the Microsoft 2008 C++
Runtime (x86) or the Microsoft 2008
C++ Runtime (x64) installed
Do NOT use VC9 version with apache.org
binaries
Maybe one day, extensions will be on this site too (as pecl4win is down)... Would be nice, actually ^^
Found this blog which has a PHP 5.3 version that worked for me:
http://shikii.net/blog/installing-memcached-for-php-5-3-on-windows-7/
You should download this extension from code.google.com:
php client for php 5.3(VC6) in xampp
I have php 5.3.13 and in my case the link which seven provided didn't work. But this one did: http://downloads.php.net/pierre/php_memcache-2.2.6-5.3-vc9-x86.zip