Hi,

I have an old drupal site made in version 5 which is working in PHP 5.4. I have not been active and I understand the security risks of using old Drupal version in this new era. But, please help...

When using PHP 7.x, the site breaks and gives internal server error 500. Is there a way to make Drupal 5 work in PHP 7.x?

Maybe by making changes in php.ini? Or anything else as I couldn't find when googling it.

Comments

danrod’s picture

EDIT: I though you meant Drupal 7, if you are still using Drupal 5, I suggest a complete site rebuild at this point.

vm’s picture

No. Drupal 5 cannot be made to run on PHP 7.x unless you rewrite Drupal 5 to be Drupal 7.

himagarwal’s picture

Thank you for letting me know. Maybe I will have to ask the new host if they can allow PHP 5.x.

vm’s picture

between PHP 5 and Drupal 5, you'd be running such an insecure site, I'd be leery of any host that allows it.