How to turn a html site into a php site? #1868
Answered
by
gingerbeardman
gingerbeardman
asked this question in
Support Requests
-
is there a recommended way to turn a html site into a php site?
|
Beta Was this translation helpful? Give feedback.
Answered by
gingerbeardman
Oct 10, 2024
Replies: 1 comment 4 replies
-
My workaround, which was less than ideal, but not too much effort:
Downtime was only a few minutes. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
gingerbeardman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My workaround, which was less than ideal, but not too much effort:
ee site create backup.example.com --php=7.4
cp -R /opt/easyengine/sites/html.example.com/app/htdocs/* /opt/easyengine/sites/backup.example.com/app/htdocs/
ee site delete html.example.com
ee site create php.example.com --php=7.4 --ssl=le
cp -R /opt/easyengine/sites/backup.example.com/app/htdocs/* /opt/easyengine/sites/php.example.com/app/htdocs/
Downtime was only a few minutes.