M
M
MoyMirok2021-06-17 12:02:19
CakePHP
MoyMirok, 2021-06-17 12:02:19

How to migrate a cakePHP application?

Hello. There is a cakePHP application on the server, which I did not configure or install anything.
What is the best way to transfer it to another, clean server?
By simply transferring Apache files and the application itself, the matter was not resolved, it gives a 500 error.

Ubuntu Server OS

Thanks in advance

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
ThunderCat, 2021-06-17
@MoyMirok

Firstly, a 500 error is not exactly what will help you, you need to look at the logs
. Secondly, there is also a database that actually contains most of the site's data.
Most likely, you need to transfer the database and configure the user, either according to the settings of the old application, or create a new one and configure the application configs for it.
The error.log will tell you the rest, if the version is old enough, a lot of things may not work, or work wrong. Just as often, in older versions, all paths are clogged manually, or are determined once during installation, most likely it will also need to be reconfigured during transfer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question