Website reinstallation directly copy the database link information in the local program file to be changed to online, then mysql, apache, etc. have not changed
Error after running
mkdir() Permission denied
This is because the runtime directory does not have permissions
Solution
chown -R apache runtime
This is to give the runtime directory to the user apache to be in the current directory. The directory diagram is as follows
Or give 777 permission directly
chmod -R 777 runtime
or