Jump to content


Photo

PHP 4.4.0 v 5.0.4..help please?


  • Please log in to reply
1 reply to this topic

#1 marc_r

marc_r
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 17 August 2006 - 10:42 PM

I built a site on my local server on which i was running PHP 5.0.4 and recently the company I'm working for got a new server. A lot of my code wasn't running the way it was supposed to on this new server and i couldn't figure out why..and i just found out that they're running 4.4.0..could this have a huge impact? should i ask them to update or is there more behind this problem?

thanks

#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 18 August 2006 - 08:58 AM

PHP4 and PHP5 are the same except PHP5 has better OOP support compared to PHP4. If your project was done in OOP then this may be the problem why your project isnt working on the PHP4 box. Also make sure you are not using short tags (<? ?> or <?= ?>) and use the full tags (<?php ?> or <?php echo ?>) and that you are not using any PHP5 specific functions.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users