You are here: Php5 with support for https and ftps « PHP Programming Language « IT news, forums, messages
Php5 with support for https and ftps

Posted by Chuck Anderson on 08/10/06 20:04

I am trying to install Php5 on my WindowsXP machine (at home, not on the
'net). I downloaded the Php Windows binary at php.net, unzipped it to
c:/Php5, changed my Apache config file to use Php5 with:

LoadModule php5_module "c:/Php5/php5apache2.dll"

.... and restarted apache (Apache/2.0.55 (Win32) mod_ssl/2.0.55
OpenSSL/0.9.8a)

Php5 works fine, but when I execute phpinfo, the registered streams are:
php, file, http, ftp, compress.zlib

I have application scripts that need to use ftps and https (to read
access log files from the Cpanel over a secure link on my remote shared
host).

I went through this with Php4, and I now can't quite remember how I
finally got the secure streams usable. I downloaded a complete package
(and I can't remember which one it was ... d'oh!) and then picked and
pruned away until all I had left was a Php installation I could use with
my existing Apache 2 server and MySQL service.

Does anyone understand what the difference is between between a version
of Php that has https and ftps as registered streams and one that does
not? Is it done during compilation? If so,how can I get a binary that
was compiled that way?

When I flip back to Php4:

LoadModule php4_module "c:/Php/php4apache2.dll"

.... my registered streams are:
php, http, ftp, https, ftps, compress.zlib

How do I get Php5 to do the same?

--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
*****************************

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация