Wednesday, March 16, 2011

[Pro. PHP Dev.] Re: FILE_GET_CONTENTS with SSL on XAMPP

Well, if I didn't know so much about SSL I'd think that was all
hieroglyphics!

Charlie

On Mar 16, 4:52 pm, Néstor <rot...@gmail.com> wrote:
> Here is an example httpd.conf file running both port 80 and port 443
> after google search "apache httpd.conf port 443 80"
>  http://www.apache-ssl.org/httpd.conf.example
>
> You might want to read this also:http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html
>
>
>
> On Wed, Mar 16, 2011 at 12:56 PM, Charlie <shymath...@gmail.com> wrote:
> > Ok, what do I do?  Remember, I don't know anything about SSL.
>
> > On Mar 16, 3:41 pm, Joseph Williams <joseph.s.willi...@gmail.com>
> > wrote:
> > > Might have to do with http defaults to port 80 and https defaults to 443
>
> > > On Mar 16, 2011 2:32 PM, "Charlie" <shymath...@gmail.com> wrote:
>
> > > Hello All,
>
> > > I am trying to use file_get_contents($url) under XAMPP to get the HTML
> > > where $url starts with "https://ssl.companyname"and it says "failed
> > > to open stream".  It works when $url starts with "http://www.domain.com".
> >  I read to remove the # in line "#LoadModule
> > > ssl_module modules/mod_ssl.so" in file httpd.conf but it is already
> > > removed.  Here are all references to "ssl" in this file:
>
> > > LoadModule ssl_module modules/mod_ssl.so
> > > . . .
> > > #<IfModule ssl_module>
> > > #    LoadModule log_sql_ssl_module modules/mod_log_sql_ssl.so
> > > . . .
> > > # Secure (SSL/TLS) connections
> > > Include conf/extra/httpd-ssl.conf
> > > #
> > > # Note: The following must must be present to support
> > > #       starting without SSL on platforms with no /dev/random
> > > equivalent
> > > #       but a statically compiled-in mod_ssl.
> > > #
> > > <IfModule ssl_module>
> > > SSLRandomSeed startup builtin
> > > SSLRandomSeed connect builtin
> > > </IfModule>
>
> > > I know PHP programming but I don't know anything about SSL.
>
> > > Thanks,
>
> > > Charlie
>
> > > --
> > > This group is managed and maintained by the development staff at 360 PSG.
> > An
> > > enterprise application development company utilizing open-source
> > > technologies for todays small-to-medium size businesses.
>
> > > For information or project assistance please visit :
> >http://www.360psg.com
>
> > > You received this message because you are subscribed to the Google Groups
> > > "Professional PHP Developers" group.
> > > To post to this group, send email to Professional-PHP@googlegroups.com
> > > To unsubscribe from this group, send email to
> > > Professional-PHP-unsubscribe@googlegroups.com
> > > For more options, visit this group athttp://
> > groups.google.com/group/Professional-PHP
>
> > --
> > This group is managed and maintained by the development staff at 360 PSG.
> > An enterprise application development company utilizing open-source
> > technologies for todays small-to-medium size businesses.
>
> > For information or project assistance please visit :
> >http://www.360psg.com
>
> > You received this message because you are subscribed to the Google Groups
> > "Professional PHP Developers" group.
> > To post to this group, send email to Professional-PHP@googlegroups.com
> > To unsubscribe from this group, send email to
> > Professional-PHP-unsubscribe@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/Professional-PHP- Hide quoted text -
>
> - Show quoted text -

--
This group is managed and maintained by the development staff at 360 PSG. An enterprise application development company utilizing open-source technologies for todays small-to-medium size businesses.

For information or project assistance please visit :
http://www.360psg.com

You received this message because you are subscribed to the Google Groups "Professional PHP Developers" group.
To post to this group, send email to Professional-PHP@googlegroups.com
To unsubscribe from this group, send email to Professional-PHP-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Professional-PHP