how install openssl for php 5.3.5 on windows xp? - php

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.

Related

Mongodb extention 1.3.0 not installed in php 5.6.26 wamp

I need to install mango db PHP extension 1.3.0 with my wamp64
WINDOWS
Windows10 64bit
WAMP
apache 2.4.23 / php 5.6.25 / php 7.0
I try everything but still having issue
- see solutions from this Q
PHP Startup Unable to load dynamic library php_mongo.dll
other drivers work fine but I need a specific driver to person some function. experts help appreciated.
Driver I need
https://pecl.php.net/package/mongodb/1.3.0/windows
Why I need
More updates
When I add Mongodb 1.3.0 ts version in wamp / bin / php / php 5.6.25 / ext folder it give me error. I try to fix it with copy paste solution but not worked.
As Cocorico is compatible with PHP 7.1 i would use PHP 7.1 instead of PHP5 and mongodb extension 1.3.4 instead of 1.3.0.
You will find here http://wampserver.aviatechno.net/ most of what you need to use php 7.1 in Wamp.
Take care of TS / NTS and x64 / X86 informations for PHP and pecl mongodb extension.
Last thing don't forget to install the Microsoft VC++ packages as described in the bottom of the page.
Finally, I figured out the issue and fix it with done few more steps and Yes #Tsounabe comment help me to go further in it.
The first step I have php 5.6 , php 7 and php 7.1 in my WAMP server so removed 5.6 to make thing much clear but you guys should keep if you want it. Then i Select php 7.1 and right click on WAMP SERVER icon and change CLI too.
The Second step I already have composer so I uninstall it and install it again with .exe file and select PHP 7.1.
Then restart everything and my mongodb extention worked :)
WAMP SERVER VERSION : 3.1.1 64bit - http://wampserver.aviatechno.net/
PHP VERSION 7.1.12 - You can install WAMP SERVER PHP ADDON from ABOVE URL
MongoDB VERSION 1.3.4 - https://pecl.php.net/package/mongodb/1.3.4/windows

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

install ImageMagick on xampp

I want to use ImageMagick in one of my project. Currently i am using
PHP version: 5.5.9
Windows Version: Windows 8 Pro 64-bit
XAMPP Version: 1.8.3
Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
i want to install ImageMagick 6.7.6 because it is already installed on my server where i want to deploy my project but this is not important i just want to install imageMagick on Xampp
this is what i tried
1 Add php_imagick.dll in C:\xampp\php\ext
extension=php_imagick.dll in php.ini C:\xampp\php\php.ini
Now i restart windows and when i lunch xampp it says
PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_imagick.dll'
- %1 is not a valid Win32 application
Please point me in right direction and tell me how can i install ImageMagick in xampp
The error is happening, because you probably have downloaded the x64 version of ImageMagick, but the architecture of your operating system does not mean that your php version is also x64 - you can check it by running phpinfo() and look at the Architecture part.
What you have to do is really simple. Download the x86 dll file and replace the old one in C:\xampp\php\ext
Also, there is no need to restart windows. An Apache restart from the xampp control panel will do the job.

APC on PHP 5.3.10/Apache 2.2.21

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

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

Categories