Link to home
Start Free TrialLog in
Avatar of ClintonK
ClintonKFlag for United Kingdom of Great Britain and Northern Ireland

asked on

multiple wordpress sites on synology DS918+

I have a Synology DS918+ and have read various blogs/articles on how to create serparate instances of Wordpress so that multiple websites can be hosted without sharing a database.
These are a few of the resources I've used:

http://sridhar.blog/install-multiple-wordpress-sites-synology-nas/
https://www.oppedahl.com/wordpress/
https://synologywordpress.blogspot.com/

Each takes me very close but I can't get past the dreaded "HTTP ERROR 500"

I have managed to get as far as http://mytestdomain/wp-admin which prompts me for the database name, the username and password but I can't get past this point - each time I get HTTP ERROR 500

I've pretty much run out of things to try.
Any help would be greatly appreciated.
Avatar of David Favor
David Favor
Flag of United States of America image

Synology are disk arrays. Likely no bearing on Apache (or other Webserver) Internal 500 errors.

Refer to your Apache error logs for reason of 500 error.

Also enable WP_DEBUG in your wp-config.php file, as this may provide further information.

Tip: Likely you've already done this... and... be sure to create your empty database using correct user/pass/host before starting up your WordPress installation process.
Avatar of ClintonK

ASKER

Created a wp-config.php as described in Sri's document (http://sridhar.blog/install-multiple-wordpress-sites-synology-nas/)
Set wp_debug to TRUE

Database: mydomaindb
Username: clinton
Password: mypassword

Windows host file configured for 192.168.1.10 mydomain.co.uk

Connected to http://mydomain.co.uk/wp-admin and get error

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /volume1/web/mydomain.co.uk/wp-includes/wp-db.php:1562 Stack trace: #0 /volume1/web/mydomain.co.uk/wp-includes/wp-db.php(592): wpdb->db_connect() #1 /volume1/web/mydomain.co.uk/wp-includes/load.php(404): wpdb->__construct('clinton', 'mypassword', 'mydomaindb', 'localhost') #2 /volume1/web/mydomain.co.uk/wp-settings.php(106): require_wp_db() #3 /volume1/web/mydomain.co.uk/wp-config.php(90): require_once('/volume1/web/my...') #4 /volume1/web/mydomain.co.uk/wp-load.php(37): require_once('/volume1/web/my...') #5 /volume1/web/mydomain.co.uk/wp-admin/admin.php(31): require_once('/volume1/web/my...') #6 /volume1/web/mydomain.co.uk/wp-admin/index.php(10): require_once('/volume1/web/my...') #7 {main} thrown in /volume1/web/mydomain.co.uk/wp-includes/wp-db.php on line 1562
ASKER CERTIFIED SOLUTION
Avatar of ClintonK
ClintonK
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial