You are here: Re: [PHP] Fshockopen error while opening a https stream urgent help needed « PHP « IT news, forums, messages
Re: [PHP] Fshockopen error while opening a https stream urgent help needed

Posted by "Richard Lynch" on 06/17/05 00:47

On Thu, June 16, 2005 5:08 am, choksi said:

I'm not 100% sure, but...

> I am running PHP5.0.2 over apache 1.3.29 and openssl-0.9.7d on a Debian
> Php Configure command './configure' '--with-apxs=/www/bin/apxs'

> '--with-openssl-dir=/usr/local­/src/webserver/openssl-0.9.7d/­'

This "didn't work"

You know it didn't work because 'ssl' didn't show up in the list of stream
and sockets below.

You may be able to find out more about why it didn't work in the
"config.log" file in your PHP source directory.

Most likely, you're using the OpenSSL source directory instead of where
SSL got installed, which is probably /usr/ or /usr/local

In other worlds, go back to OpenSSL and do:

"make install"

and watch all the stuff fly by VERY carefully.

See where it (probably) says stuff about where it's copying the .so and .h
files.

Whatever directories those are, take the "common" ancestor directories,
and use that for --with-openssl-dir

You may also need to do "ldconfig" for the "new" system libraries to get
registered, after you do the "make install" of OpenSSL. But "ldconfig" is
only for some distributions. Others do the same thing other ways. Some
do it automatically. YMMV.

> '--enable-trans-sid' '--disable-libxml'
>
> Registered PHP Streams : php, file, http, ftp
> Registered Stream Socket Transports : tcp, udp, unix, udg
> allow_url_fopen : On On

--
Like Music?
http://l-i-e.com/artists.htm

 

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

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