Jump to content

Archived

This topic is now archived and is closed to further replies.

marc_r

PHP 4.4.0 v 5.0.4..help please?

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.