Skip to content

How to turn a html site into a php site? #1868

Discussion options

You must be logged in to vote

My workaround, which was less than ideal, but not too much effort:

  1. create temp site to backup some files
    • ee site create backup.example.com --php=7.4
  2. copy files manually on command line from html site to temp site
    • cp -R /opt/easyengine/sites/html.example.com/app/htdocs/* /opt/easyengine/sites/backup.example.com/app/htdocs/
  3. delete html site (had SSL)
    • ee site delete html.example.com
  4. create new php site (with SSL)
    • ee site create php.example.com --php=7.4 --ssl=le
  5. copy files manually on command line from temp site to php site
    • cp -R /opt/easyengine/sites/backup.example.com/app/htdocs/* /opt/easyengine/sites/php.example.com/app/htdocs/

Downtime was only a few minutes.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@marcoandrei
Comment options

@gingerbeardman
Comment options

@marcoandrei
Comment options

@gingerbeardman
Comment options

Answer selected by gingerbeardman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants