I am assisting this client with a move of their Concrete5 website from one hosting provider to another.
I copied the files to a new sub-directory
I have created a new MySQL database and imported the database
Changed the script.php file to point to the new db etc. But I am not familiar with Concrete5 - can it be run on the same instance where we have Wordpress running for another website?
I am getting this error:
This page isn’t working
www.domainname.com.au is currently unable to handle this request.
you’ve mentioned script.php. I’m assuming you actually mean /application/config/database.php, that’s where the database credentials need to be changed
often you need to manually clear a site’s cache after moving a site. Sometimes you can log in to do this via the ‘clear cache’ page in the dashboard, but if not, I normally delete the folders within /application/files/cacheexcept for the thumbnails folder
make sure that where you’ve moved the site is using a compatible PHP version. Occasionally you may also need to enable some PHP modules too.
If you are moving a site to a sub-folder, you may also need to adjust your .htaccess file. Inside will be a line RewriteBase /
If you’ve put your site in a folder, say /newsite, you’ll need to adjust this line to be RewriteBase /newsite
To answer your question, yes, you should be able to run Concrete in the same hosting space as a Wordpress site. But if there is some sort of Wordpress conflict due to .htaccess, an idea is to just set up a temporary subdomain and preview the new site off that.
The biggest issue running older sites is the PHP version.
If it’s the very latest 5.6.x available, so 5.6.4.0, it should be able to run on PHP7.4.
But if it’s an earlier than that, it’ll likely require PHP5.6.
PHP5.6 is very outdated, so many hosts simply don’t offer it anymore. But often it’s still an option in cPanel. You could try PHP5.6 to get the site running, then consider updates to get it to run on something more recent PHP wise.
in /updates, and there might be some folders there with obvious version numbers
or in /concrete/config/version.php
If the top level has about 4 folders, you’re looking at a version 5.7+
If it’s got more like 20 or so folders, you’re going to be looking a 5.6.x site.
For an older site you might simply have to put it on a different hosting account so it doesn’t conflict.
Sometimes you can run multiple sites through the same account, but with different PHP version for each site/folder, but that all comes down to the hosting.