help on migrating from php4 to php5

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

Post Reply
fazbob
New php-forum User
New php-forum User
Posts: 13
Joined: Fri Sep 03, 2004 5:51 am

help on migrating from php4 to php5

Post by fazbob » Mon Sep 06, 2004 6:21 am

Hi all,

Firstly how do i confirm which php is installed on my server? i just joined this company recently and thats when i started using php, and its excellent!!
so how can i check which version of php is installed?

Secondly, i need an easy step-by-step guide (for a php newbie) on how to migrate from php 4 to php 5. The main reason i want to migrate is coz of the simpleXML extension, which i suppose is not in the previous versions, ya? is there any other easy alternative to simpleXML? (that is if we dont end up migrating to php5 soon).

ur help will be of great help.

thanx

User avatar
WiZARD
Moderator
Moderator
Posts: 1256
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Re: help on migrating from php4 to php5

Post by WiZARD » Tue Sep 07, 2004 4:47 am

first: you can view info about version php in command line like php.exe -v
or create file like with content like <?php phpinfo(); ?> and run it

second: I reccomend firsly learn php4 coz not all hosters use php5

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest