Home > Archive > PHP Programming > March 2004 > migrating to PHP5
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| somaBoy MX 2004-03-26, 11:17 pm |
| I'm planning on installing the PHP5 RC1 on my local machine as a testing
server. Are there any particulars I should be aware of for all my
PHP4-developed applications to keep working? Or should the transition go
smoothly..?
..soma
| |
| Savut 2004-03-26, 11:17 pm |
| unless you use new PHP5 feature, all build-in function are the same.
Just a remark, domxml is not include in PHP5 as It was in PHP4 (for windows
users). Just download and install it if you need domxml as most people use
it for XML parsing. But now PHP5 use libxml which is as far as I see better
than domxml, but you had to rewrite all the code :D, but I did it and the
code is more clean .
Another point is mysql is not enabled by default, and the new function
file_put_content is somewhat whack but still save some line and useful for
fast coding.
Savut
"somaBoy MX" <none@nonesuch.net> wrote in message
news:4062eca4$0$1968$ba620e4c@news.skynet.be...
> I'm planning on installing the PHP5 RC1 on my local machine as a testing
> server. Are there any particulars I should be aware of for all my
> PHP4-developed applications to keep working? Or should the transition go
> smoothly..?
>
> .soma
>
>
| |
| Ruby Tuesdays 2004-03-26, 11:17 pm |
| How do you enable MySQL modules for PHP for Win32 platform? I tried to use
it by setting it up in extension e.g:
....
extension=php_mysql.dll
extension=php_mysqli.dll
....
Both gave me errors so I disable it by commenting it. Help. Thanks
| |
| Thierry B. 2004-03-26, 11:17 pm |
| I believe you shoud not enable both extension at the same time ...
TB
--
Click below to answer / cliquez ci dessous pour me repondre
http://cerbermail.com/?MQkxTL4vUP
"Ruby Tuesdays" <NoSpamPlease_rubytuzdaiz@yahoo.com> a écrit dans le message
de news:c3v9dd$2ckeud$1@ID-205437.news.uni-berlin.de...
> How do you enable MySQL modules for PHP for Win32 platform? I tried to use
> it by setting it up in extension e.g:
>
> ...
> extension=php_mysql.dll
> extension=php_mysqli.dll
> ...
>
> Both gave me errors so I disable it by commenting it. Help. Thanks
>
>
| |
| somaBoy MX 2004-03-26, 11:17 pm |
| "Savut" <webki@hotmail.com> wrote...
> Just a remark, domxml is not include in PHP5 as It was in PHP4 (for
windows
> users). Just download and install it if you need domxml as most people use
> it for XML parsing. But now PHP5 use libxml which is as far as I see
better
> than domxml, but you had to rewrite all the code :D, but I did it and the
> code is more clean .
Very well... the move should be quite painless then. I have avoided using
PHP for xml parsing because these changes had been announced a long time
ago, now I can dive straight in.
> Another point is mysql is not enabled by default, and the new function
> file_put_content is somewhat whack but still save some line and useful for
> fast coding.
It does look useful.
What about the new object model? Will my old classes still work?
..soma
| |
| Thierry B. 2004-03-31, 11:36 am |
| You will get 'stric_warning' for declaring variables as var $sthing instead
of public/private/protected $sthing, but these warnings are not enabled by
default. Hopefully classes are BC, I think we will have to wait PHP6 before
writing fully PHP5 compliant classes, as they will not work with PHP4, but
at this time we will drop PHP4 support (?).
TB
--
Click below to answer / cliquez ci dessous pour me repondre
http://cerbermail.com/?MQkxTL4vUP
"somaBoy MX" <none@nonesuch.net> a écrit dans le message de
news:40642666$0$2055$ba620e4c@news.skynet.be...
>
> What about the new object model? Will my old classes still work?
>
>
> .soma
>
>
|
|
|
|
|