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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. Old app built w/ PHP 5.6 needs updating to PHP 7.4 - What does it take?

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

Scheduled Pinned Locked Moved Discuss
php
1 Posts 1 Posters 413 Views 1 Watching
  • 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.
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    wrote on last edited by girish
    #1

    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
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Bookmarks
    • Search