Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to install the openssl.dll in window XP?

Status
Not open for further replies.

rca63

Programmer
Jun 26, 2011
12
HK
thread 434-1653000

Please forgive me that I am new in php, I try to install the php-openssl.dll for SMTP sending out email, I think I mixed up and confused, though I read the php manual
and do the following

In your php_info() page please check where your "extension_dir" attribute points to .please point it to the c:\yourphpsrcfolder\ext\ .

Then uncomment the dll in php.ini file.Please look the same in the phpinfo() where your php.ini file is located.

restart your server .This should help
the original extension_dir was C:/AppServ\php5\ext
so I change it to C:/AppServ\
I shall appreciate very much for your help.
 
i've said this before. there is no particular installation that you must do if you just want to use openssl for connecting to secure sites.

i have no idea what appserv is but i suspect it is a WAMP server. why don't you use a vanilla installation of apache, php and mysql? if you use a WAMP server then your questions are better directed to the author of the WAMP package or the community that they provide.

most distros of php will come with the relevant dll in them. you must use that one. do not try to use the dll from any other distros as they may be compiled differently.

the ext_dir must look like this on windows
Code:
c:/path/to/extensions

or
Code:
c:\\path\\to\\extensions

you must then locate the directory in which the file libeay*.dll is to be found. typically this is in the php binaries directory. I have no idea where this might be in AppServ: again consider using a vanilla install.

so let us assume that the dll (and php binaries) is/are to be found in c:/php. you then MUST ensure that this directory is in the windows PATH environment variable. there are a number of ways to do this. here is an easy one

Code:
1. open terminal (start->run->cmd)
2. type 
set PATH=%PATH%;c:\php
3. press return
4. reboot the box
 
Thank you for your reply and care, I like to ask basic things. I have my php source scripts in the folder phptest2, so I can put the extension_dir C:/AppServ/
I have the WAMP downloaded in a folder, but not exec. I am afraid to change, do I need that?

What is a vanilla installation of Apache, I search how to do that.
Do I have to clean up(erase) all the old software of Apache,Php etc.

"most distros of php" what is mean by distros?

Lastly, the code 1. open terminal (start->run->cmd), is it mean I should go to C:\Windows\system32\cmd.exe then I type set PATH=%PA
right after C:\Documents and Settings\Venus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top