Jump to content

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
Link to comment
https://forums.phpfreaks.com/topic/17895-php-440-v-504help-please/
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.
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.