1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

PHP & Apache compatibility

Discussion in 'Apache' started by Akhtar Usman, Oct 6, 2016.

  1. #1
    I am currently using PHP 4.2 with Apache version 1.3 and my web pages were running since long with these software versions.
    Now I have to shift the server to a new machines and I am facing problems with new software versions.

    what can be the best possible options to migrate to new server with latest versions of php and apache without modifying php code?

    Any help will be appreciated
     
    Akhtar Usman, Oct 6, 2016 IP
  2. pavv

    pavv Well-Known Member

    Messages:
    275
    Likes Received:
    8
    Best Answers:
    3
    Trophy Points:
    120
    #2
    Keep the same settings on the new server for the beginning. Then update PHP to 5.0 for example and see if your site is working fine. And so on...
     
    pavv, Oct 6, 2016 IP
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #3
    Eh... if your site (php code) crashes when you go to a newer version, your code is crap/outdated/vulnerable. Update the code. You're about 10-12 years behind on server versions...
     
    PoPSiCLe, Oct 14, 2016 IP
  4. GLucas

    GLucas Active Member

    Messages:
    42
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    90
    #4
    As PoPSiCLe suggested above. You should definitely either opt to stay on an old machine or go ahead and update your code. You are actually using a vulnerable PHP version no longer being maintained.
     
    GLucas, Oct 14, 2016 IP
  5. danserv

    danserv Member

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #5
    You're way to out of date, might be worth looking at Cloudlinux to get hardened PHP for older code that will still work. Does the problem lie in the PHP version or Apache?
     
    danserv, Oct 17, 2016 IP