help on migrating from php4 to php5

Forum for you who has PHP installation issues

Moderators: egami, macek, gesf

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

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.


User avatar
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

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
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";

Post Reply