We have/had our SMF forum hosted elsewhere and decided to move to DreamHost. I am running into some snags and was hoping for a pointer to a guide with some details on the process, particularly PHP settings. But, since I haven’t run across one yet (any links appreciated), I’ll post here.
- I set up the MySQL database and imported our db data. After a couple of timeout issues, I think everything is there.
- I copied over the SMF forum folders and files from a backup I have into a subfolder of our new web page folder.
- I modified
Settings.phpto point to the new MySQL database on Dreamhost, with the username and password I set when setting up the db.
- Also in
Settings.php, I changed the
$cachedirvariables to point to the new paths. Then, from the site management page,
- From the Dreamhost site management page, I set our php version to 7.3 FastCGI (the SMF install guide says 7.4 is not supported). I left the rest with the defaults (extra web security checked, passenger unchecked).
BTW, the static HTML SMF readme page from the forum folder appears where I expect it and displays fine from a web browser. So, I think the folder and file permissions are okay.
But, when I browse to any of the SMF PHP pages, nothing shows up and I think all of those pages are timing out. I created a simple PHP page that calls
phpinfo() and that loads fine. Most notably, SMF’s
index.php does not load and SMF’s
repair_settings.php does not load.
I cannot tell if I have a PHP setting incorrect. I added some of the lines mentioned in the SMF doc to
myusername/.php/7.3/phprc, beneath the default Dreamhost lines. Most of the settings mentioned in the SMF doc were correct by default, a couple were deprecated like
magic_quotes_sybase, so I did not add them.
It’s also possible there are MySQL settings needing adjustment. But, the forum pages should be returning some HTML, even if there is a problem with the database.