php-windows Digest 3 Jan 2007 16:00:37 -0000 Issue 3100
Topics (messages 27337 through 27340):
Re: php5
27337 by: awkenney.gmail.com
27338 by: Lester Caine
27339 by: git
Missing PHP registered Streams: https and ftps
27340 by: Stelios Sakalis
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
For the most part, from what what I have experienced. I have had zero issues
with the scripts I have used, but I have heard of others who have problems when
they get into very specific functions, especially those that use extensions.
Mysql support is longer built directly into php 5. I had no problem setting up
mysql support for php 5 in fedora core 4, however windows proved to be a
challenge and I still don't remember how I did it because I can't do it again.
If you use mysql and you do not have a good reason to upgrade to php 5, I do
not recommend the upgrade. For many windows servers, I did not see it as a
necessity because my php 4 simply wasn't broke. Therefore I did not fix it.
-Aaron k
Sent via BlackBerry from T-Mobile
-----Original Message-----
From: "Mike harrell" <[EMAIL PROTECTED]>
Date: Mon, 1 Jan 2007 20:56:05
To:[email protected]
Subject: [PHP-WIN] php5
Is php5 backwards compatable with php4 scripts ?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
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? )
--
Lester Caine - G8HFL
-----------------------------
L.S.Caine Electronic Services - http://home.lsces.co.uk
Model Engineers Digital Workshop -
http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Treasurer - Firebird Foundation Inc. - http://www.firebirdsql.org/index.php
--- End Message ---
--- Begin Message ---
On Tue, 02 Jan 2007 08:10:22 +0000, Lester Caine wrote:
> 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
--- End Message ---
--- Begin Message ---
Hello Guy's,
we have a problem. Our customer is running an Internet Shop with osCommerce.
We have installed for him an Contribution for making Credit Card payments.
But when the connection to the credit card company must establish the page
shows us an error:
quote:
------------------------------------------------------------------------------
Notice: file(): Unable to find the wrapper "https" - did you forget to
enable it when you configured PHP? in
C:\Inetpub\vhosts\xxxxxxxxxxxxxx.eu\httpdocs\test_file2.php on line 10
Warning: file(https://www.saferpay.com/hosting/CreatePayInit.asp): failed
to open stream: Invalid argument in
C:\Inetpub\vhosts\xxxxxxxxxxxxxx.eu\httpdocs\test_file2.php on line 10
Notice: file(): Unable to find the wrapper "https" - did you forget to
enable it when you configured PHP? in
C:\Inetpub\vhosts\xxxxxxxxxxxxxx.eu\httpdocs\test_file2.php on line 13
Warning: file(https://www.saferpay.com/hosting/CreatePayInit.asp): failed
to open stream: Invalid argument in
C:\Inetpub\vhosts\xxxxxxxxxxxxxx.eu\httpdocs\test_file2.php on line 13
Warning: join(): Bad arguments. in
C:\Inetpub\vhosts\xxxxxxxxxxxxxx.eu\httpdocs\test_file2.php on line 13
------------------------------------------------------------------------------
Our php-info file shows us this:
quote:
------------------------------------------------------------------------------
Registered PHP Streams php, http, ftp, compress.zlib
------------------------------------------------------------------------------
We think thats the fault. How can we get "https" and "ftps" into "Registered
PHP Streams"?
We hope for your help.
Thanks in advance.
--- End Message ---