Re: [PHP-WIN] Missing PHP registered Streams: httpsand ftps
Hello Frank, The extension is already loaded in the php.ini File. I don't think this is the error. > Loading the OpenSSL extension should help. Just add > extension=php_openssl.dll to your php.ini file and restart the web server. > > - Frank -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] php5
I have the scenario where on my local PC I have PHP 5.0, but on the web hosting server where my clients sites are held they have PHP 4.3.* (its version 4.*.*, I know that for sure). Recently I had to perform a fix, so got the files off the server, and then loaded them up on my local PC (running 5.0). I had quite a few problems. For example, using didn't work, I had to change them to (is there something I can change in the PHP.ini file so that PHP 5.* can use Mike harrell wrote: >> Is php5 backwards compatable with php4 scripts ? > > We run a lot of PHP5 code that works fine on PHP4 as well, but there are > a number of areas that will give problems and may need you to make > changes to code. > > http://uk2.php.net/manual/en/migration5.php is the starting point, but a > number of other annoying changes happened between 5.0, 5.1 and 5.2 so > you will need to check the additional migration notes for each of those. > > ( Do we need a proper Migrate PHP4 to PHP5.2 document? ) I have found that each version of PHP is not backwards compatable with the one before. 4.4 is not compatable with 4.3 etc. Each release seems to have a set of little fiddles that make something break. Going from 4.4 to 5.x makes just about every script we have break - badly. It would be a major coding task requiring at least one dedicated regression tester and 3 programmers for us to get up to stable at 5.x in in a realistic space of time. The COM stuff is totally different. Object handling in 5.x is complete overkill, default reference passing behaviour has changed. Oh - and in all the tests I have done, php 5.x is slower that php4 :-( IMHO php 4.4.x is a really cool interpreter which is ideal for web tasks of any size. PHP 5.x has lost its way, trying to compete head on with asp.net and jsp. If I want jsp, I'll go get jsp. If I want asp.net - I get psychotherapy! "If it ain't busted, don't fix it!" AJ -- Cubical Land: www.cubicalland.com Nerds-Central: nerds-central.blogspot.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] php5
Hi Trystan! Recently I had to perform a fix, so got the files off the server, and then loaded them up on my local PC (running 5.0). I had quite a few problems. For example, using didn't work, I had to change them to (is there something I can change in the PHP.ini file so that PHP 5.* can use Don't know, if it works for http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] php5
Hi Stefan, thats probably it :) Will give it a try when I get home. Tryst -Original Message- From: [EMAIL PROTECTED] To: php-windows@lists.php.net Sent: Thu, 4 Jan 2007 2.30PM Subject: Re: [PHP-WIN] php5 Hi Trystan! > Recently I had to perform a fix, so got the files off the server, and then > loaded them up on my local PC (running 5.0). I had quite a few problems. For > example, using didn't work, I had to change them to echo some code ?> (is there something I can change in the PHP.ini file so > that PHP 5.* can use http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] Missing PHP registered Streams: httpsand ftps
Hello Stelios, php_openssl.dll requires one or more dll's to load. Can't remember the names off hand, but it's something like sas*32.dll. If these are not found the extension will not load. You can check phpinfo() to see if it loads. - Frank > Hello Frank, > > The extension is already loaded in the php.ini File. > I don't think this is the error. > > > Loading the OpenSSL extension should help. Just add > > extension=php_openssl.dll to your php.ini file and restart the web server. > > > > - Frank > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] Missing PHP registered Streams: httpsand ftps
Hello Frank, Thursday, January 4, 2007, 9:51:30 AM, you wrote: > php_openssl.dll requires one or more dll's to load. Can't remember > the names off hand, but it's something like sas*32.dll. If these are > not found the extension will not load. You can check phpinfo() to > see if it loads. libeay32.dll A good resource to check PHP extension dependencies. http://php.mirrors.powertrip.co.za/manual/en/install.windows.extensions.php -- TBUDL/BETA/DEV/TECH Lists Moderator / PGP 0x5D167202 __ Geocaching:http://gps.PCWize.com ( ) ( ___)(_ _)( ___) TBUDP Wiki Site: http://www.PCWize.com/thebat/tbudp )(__ )__) _)(_ )__) Roguemoticons & Smileys:http://PCWize.com/thebat ()()()(__)PHP Tutorials and snippets:http://www.DevTek.org 99 little bugs in the code, 99 bugs in the code, fix one bug, compile it again... 101 little bugs in the code -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] php5
I ran into this problem a lot as well, then just decided to never use short tags and have since had no problems. The other thing I found helpful is to setup my development environment on my local system to be the same (or as close to as possible) as what's on my host's server. It took me some arguing to get a few specific PHP settings from them (such as magic quotes enabled which I normally don't use) but finally got them to provide me the details. Once I did this, my development time was cut down significantly because I could do all my development and testing locally and be able to upload to the server and it would work. If you can do something similar, I highly recommend it. Cheers. Armando [EMAIL PROTECTED] wrote: Hi Stefan, thats probably it :) Will give it a try when I get home. Tryst -Original Message- From: [EMAIL PROTECTED] To: php-windows@lists.php.net Sent: Thu, 4 Jan 2007 2.30PM Subject: Re: [PHP-WIN] php5 Hi Trystan! > Recently I had to perform a fix, so got the files off the server, and then loaded them up on my local PC (running 5.0). I had quite a few problems. For example, using didn't work, I had to change them to (is there something I can change in the PHP.ini file so that PHP 5.* can use Don't know, if it works for short_open_tag = On will allow using Regards, Stefan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] Missing PHP registered Streams: httpsandftps
Frank M. Kromann wrote: Hello Stelios, php_openssl.dll requires one or more dll's to load. Can't remember the names off hand, but it's something like sas*32.dll. If these are not found the extension will not load. You can check phpinfo() to see if it loads. - Frank Hello Frank, The extension is already loaded in the php.ini File. I don't think this is the error. Loading the OpenSSL extension should help. Just add extension=php_openssl.dll to your php.ini file and restart the web server. - Frank -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php To be exact, you're looking for the following libraries ssleay32.dll libeay32.dll Furthermore, you're looking for those to be in the %SYSTEMROOT% directory. The following link usually has an updated version of the files you'll need to run ssl on windows. http://hunter.campbus.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] Missing PHP registered Streams: httpsand ftps
Stelios Sakalis wrote: Hello Frank, The extension is already loaded in the php.ini File. I don't think this is the error. Loading the OpenSSL extension should help. Just add extension=php_openssl.dll to your php.ini file and restart the web server. - Frank I have had the same question for about a year now. A year and a half ago, I managed to get a copy of Php4 that has https and ftps as registered streams, but I can not figure out how to do the same in Php5. Loading the openssl extension and putting ssleay32.dll and libeay32.dll into %SYSTEMROOT% (WINDOWS/SYSTEM32) has not helped. In fact, I still have the openssl extension commented out in the version 4 php.ini file and https and ftps are registered streams. (I believe I got that Php4 from the xampp package, but I am not really sure.) If you figure this one out, I'd love to know the answer. My best guess is that it takes a "custom" compilation of Php. -- * Chuck Anderson • Boulder, CO http://www.CycleTourist.com * -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] Missing PHP registered Streams: httpsand ftps
Here is the output from phpinfo(); Registered PHP Streams php, file, data, http, ftp, compress.zlib and when I load the openssl extension I get Registered PHP Streams php, file, data, http, ftp, compress.zlib, https, ftps I have all the PHP files in c:\php5, including the extra DLL's. I'm running CGI for this test. (using the binaries from my site http://kromann.info/php.php) - Frank > Stelios Sakalis wrote: > > Hello Frank, > > > > The extension is already loaded in the php.ini File. > > I don't think this is the error. > > > > > >> Loading the OpenSSL extension should help. Just add > >> extension=php_openssl.dll to your php.ini file and restart the web server. > >> > >> - Frank > >> > > > > > > > > I have had the same question for about a year now. A year and a half > ago, I managed to get a copy of Php4 that has https and ftps as > registered streams, but I can not figure out how to do the same in Php5. > > Loading the openssl extension and putting ssleay32.dll and libeay32.dll > into %SYSTEMROOT% (WINDOWS/SYSTEM32) has not helped. In fact, I still > have the openssl extension commented out in the version 4 php.ini file > and https and ftps are registered streams. (I believe I got that Php4 > from the xampp package, but I am not really sure.) > > If you figure this one out, I'd love to know the answer. My best guess > is that it takes a "custom" compilation of Php. > > -- > * > Chuck Anderson Boulder, CO > http://www.CycleTourist.com > * > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-WIN] Missing PHP registered Streams: httpsand ftps
Chuck Anderson wrote: Stelios Sakalis wrote: Hello Frank, The extension is already loaded in the php.ini File. I don't think this is the error. Loading the OpenSSL extension should help. Just add extension=php_openssl.dll to your php.ini file and restart the web server. - Frank I have had the same question for about a year now. A year and a half ago, I managed to get a copy of Php4 that has https and ftps as registered streams, but I can not figure out how to do the same in Php5. Loading the openssl extension and putting ssleay32.dll and libeay32.dll into %SYSTEMROOT% (WINDOWS/SYSTEM32) has not helped. In fact, I still have the openssl extension commented out in the version 4 php.ini file and https and ftps are registered streams. (I believe I got that Php4 from the xampp package, but I am not really sure.) If you figure this one out, I'd love to know the answer. My best guess is that it takes a "custom" compilation of Php. I've found this to be a very good tutorial for installing Apache with SSL on Windows. You'll have to do some tweaking to adjust for apache 2.2.3. Also, If you can help it, DON'T USE INSTALLERS! Apache uses PHP as a module without using a PHP installer. If you install everything correctly, you shouldn't see ANY new programs in your "Add/Remove Programs" list Anyways, here's the link: http://www.neilstuff.com/apache/apache2-ssl-windows.htm -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php