Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Old app built w/ PHP 5.6 needs updating to PHP 7.4 - What does it take?

    Discuss
    php
    1
    1
    152
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • humptydumpty
      humptydumpty last edited by girish

      I have an old app that was made more than a decade ago and is currently running with PHP 5.6 and I was wondering what does it take to upgrade it to PHP 7.4. I'm not talking about upgrading the server PHP version but the app itself so that it works with PHP 7.4.

      I found this inspector app called PhpStorm and I've loaded some of the PHP files into it and it does show errors & warnings (also typos) but I'm not sure if it truly is an error or just weird code by the original dev. In short, I don't know what I'm doing lol.

      For those familiar with PHP, does the process involve replacing deprecated tags or is it more complicated than that? Is there a need to update the database?

      I know it's impossible to answer this stuff without seeing the app so please let me know what info you need from me.

      What I know about the app:

      • works with PHP 5.6
      • uses a MySQL database (don't ask me about the version)
      • only runs on a subdomain for some odd reason
      • uses the smarty PHP template
      • the app's owner is a PITA but he's family

      Thanks!

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB