473,399 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

migrating to PHP5

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
Jul 17 '05 #1
5 2557
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" <no**@nonesuch.net> wrote in message
news:40**********************@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


Jul 17 '05 #2
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
Jul 17 '05 #3
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" <No**********************@yahoo.com> a écrit dans le message
de news:c3*************@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


Jul 17 '05 #4
"Savut" <we***@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
Jul 17 '05 #5
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" <no**@nonesuch.net> a écrit dans le message de
news:40**********************@news.skynet.be...

What about the new object model? Will my old classes still work?
.soma


Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Rob Ristroph | last post by:
I have tried out PHP 5 for the first time (with assistance from this group -- thanks!). The people I was working with have a site that uses lots of php objects. They are having problems with...
11
by: neur0maniak | last post by:
Hi, I've been eager to try out PHP5, so I've dumped it on my little dev machine. It's running WinXP with IIS5. I've put the php-cgi.exe in the "mappings" page as I'm used to doing with PHP4....
4
by: badbetty | last post by:
Dear Googlers I have installed PHP5 to run on WinXP against Apache 2. It works! ie. I have tested a few simple scripts and a basic xml document parse. I now want to try the XSL extension so I...
3
by: David | last post by:
Somebody know How can I migrate that function? The source of the php function is in http://www.oxxus.net/php-web-hosting/php5/source-md5crypt.htm The function name is: md5_crypt Thanks!!
5
by: Aziz | last post by:
Hi, I've recently contacted technical service of a web hosting company and asked them wheter or not they're gonna upgrade to PHP5 and MySQL5. Here's a quote from their response which confused me...
3
by: Karl Groves | last post by:
Does anyone out there have a list (or link to same) that discusses possible issues when switching to PHP5? TIA -- Karl Groves www.karlcore.com
4
by: Chuck Anderson | last post by:
I am trying to install Php5 on my WindowsXP machine (at home, not on the 'net). I downloaded the Php Windows binary at php.net, unzipped it to c:/Php5, changed my Apache config file to use Php5...
19
by: McKirahan | last post by:
I am working in two environments neither configuration of which I can change; one's my Web host the other a client. My Web host requires the use of the ".php5" extension to use PHP v5.1.4; where...
1
by: vituko | last post by:
Hi, I have another problem migrating to php5. An important piece of my "web kernel" is a system of include / require throw exceptions : Instead of : require $x I do : trigger_error...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.