APC on PHP 5.3.10/Apache 2.2.21 - php

I tried to install APC on my wamp(PHP 5.3.10/Apache2.2.21). OS which i`m using is Windows 7.
I downloaded 'APC 3.1.9 for PHP 5.3 vc9 (Win7/2008)' dll from http://dev.freshsite.pl/php-accelerators/apc.html.
I copied php_apc.dll to wamp/php/5.3.10/ext and I added extension=php_apc.dll to php.ini file.
phpinfo() don`t display APC configuration, and APC is not working.
phpinfo() values Compiler:MSVC9, Architecture:x86, Enabled for Thread Safety.
Thank you

Check out this guide it solved the problem for me.
http://mnshankar.wordpress.com/2011/03/25/installing-apc-3-1-6-on-wamp-64-bit/
You can see why here:
http://forum.wampserver.com/read.php?2,70601

Related

PHP PDO sqlsrv Unable to load dynamic library

Hi I have wampserver 64 version 2.5, php version 5.5.12 and my operating system windows 10
I downloaded the sqlsrv drivers and I put it here in the directory
C:\wamp\bin\php\php5.5.12\ext
and I paste this in my php.ini,
extension=php_pdo_sqlsrv_55_ts.dll
extension=php_sqlsrv_55_ts.dll
the php.ini is located here C:\wamp\bin\php\php5.5.12
when I restart the services this is the error will pop up
I don't know how to fix this or is there something wrong that i miss ?
Thank you in advance.
As far as I am aware there is no 64bit PHP compatible SQL Server library. You will have to install WAMPServer 32bit. This is not a WAMPServer limitation, its just that Microsoft has not yet completed the 64 bit PHP extension.
Probably they were waiting for PHP7 which is the first truly 64bit version of PHP

MongoDb with php on windows 7 64 bits

I installed wampserver, and mongodb both up and running i installed the mongodb extension PHP 5.3 VC6 Thread-Safe Mongo extension and added php_mongo.dll extension to php.ini, restarted the server but it won't show up in phpinfo() and of course it won;t work. Where did i skip a step ?
PHP x86 or x64 ? Look at "Architecture" in phpinfo. Official drivers doesn't work with Apache + PHP x64.
Look at this post: http://groups.google.com/group/mongodb-user/browse_thread/thread/1d2cecd9734e54fc/ff785888cb8e2c39?lnk=gst&q=x64#ff785888cb8e2c39
php_mongo.dll is now available for 64 bit architecture too. You can download the same from github. No need to downgrade now to 32-bit.
https://github.com/downloads/mongodb/mongo-php-driver/php_mongo-1.2.12.zip
parent link : https://github.com/mongodb/mongo-php-driver/downloads
Have you checked the php_mongo.dll is actually in the PHP exstension dir?
In my case Windows 7 64 bits, php-5.6.14-Win32-VC11-x64 and php_mongo-1.6.11-5.6-ts-vc11-x64
After check the VSVC Versions, configure the php.ini location, in the php.ini put the correct file the extensio_dir. And add to sytema PATH the location of php.
You need to copy libeay32.dll, libsasl.dll and ssleay32.dll into c:\windows\system32 and c:\windows\syswow64
Good day.

how install openssl for php 5.3.5 on windows xp?

i want to send emails with gmail in my project and so i should enable openssl(when i checked in phpinfo , that was disabled
----> OpenSSL support disabled (install ext/openssl) )...
i am using that latest ver of wamp server :
DOWNLOAD WampServer 2.1e (32 bits)
Apache 2.2.17
Php 5.3.5
Mysql 5.5.8
PhpMyadmin 3.2.0.1
SQLBuddy 1.3.2
XDebug 2.1.0-5.3
webGrind 1.0
XDC 1.5
my os is windows xp //
for install ext/openssl i went to this site
http://www.php.net/manual/en/openssl.installation.php
but i could not install openssl/what exactly should i do for install that ?
would u plz lead me step by step for install ext/openssl?
thanks in future advance
best regards
this problem solved / we should uncomment extension=php_openssl.dll in the php.ini file -
there are two php.ini files and we should edit that one has a path in phpinfo.
Dan Grossman - Really Thanks - I am so glad for introduce me to ServerFault or SuperUser.

Install APC on PHP For Windows 7 x64

When I try to start Apache with
[PHP_APC]
extension = php_apc.dll
[apc]
apc.shm_segments=1
apc.optimization=0
apc.shm_size=128
apc.ttl=7200
apc.user_ttl=7200
apc.num_files_hint=1024
apc.mmap_file_mask=/tmp/apc.XXXXXX
apc.enable_cli=1
in php.ini, it fails. I have the php_apc.dll in the ext directory.
Using Apache 2.2.17 and PHP 5.2.14 on Windows 7 x64.
Any suggestions?
After trying a lot of solutions, I found one that worked for me... so I am going to post this as an answer just to help people that may have the same problem finding the correct version to use.
I am using Windows 7 32bits, PHP 5.3.13, Apache 2.2.22, and the php_apc.dll found in the file apc-igbinary-fastlz-snap20110301-5.3-ts-vc9-x86.zip in this site: http://downloads.php.net/pierre/
I have registered the extension by just pasting the following code to the end of php.ini file:
[PHP_APC]
extension=php_apc.dll
Then I checked the result of phpinfo(), by using this php file:
phpinfo.php
<?php phpinfo(); ?>
Best bet, due to the limited windows PECL support atm, is to install Zend Server CE w/ PHP 5.3. You can have it install itself on IIS or Apache on the windows machine. Zend Server comes with APC built in (As well as many other PHP modules missing from the current 5.3 PECL stack).
As a side note, you could probably (I haven't tested this so...is just a possibility) install the server, "steal" the dlls, and install PHP however you like w/o zend server. BUT, that said, Zend server is actually pretty nice :)
Fixed. Was using the wrong version of APC.
when on Windows use APC VC6 from here
http://downloads.php.net/pierre

How do I install the php_gd2 extension in MAMP on a Mac?

I'm running MAMP 1.7.2 on a Mac and I'd like to install the extension php_gd2. How do I do this? I know that on Windows using WAMP I'd simply select the php_gd2 entry in the extensions menu to activate it. How is it done when using MAMP? I know that I can do it using MacPorts but I'd prefer not to make any changes to my default OS X PHP installation.
You shouldn't need to install the extension. I have 1.7.2 installed and running right now and it has GD bundled (2.0.34 compatible).
From the MAMP start page, click on phpinfo and you should see a GD section.
php.ini for MAMP 1.7.2 is located:
if using php5, here: /Applications/MAMP/conf/php5/php.ini
if php4, here: /Applications/MAMP/conf/php4/php.ini
hope that helps...

Categories