ClintonK
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.
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.
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.u k/wp-inclu des/wp-db. php:1562 Stack trace: #0 /volume1/web/mydomain.co.u k/wp-inclu des/wp-db. php(592): wpdb->db_connect() #1 /volume1/web/mydomain.co.u k/wp-inclu des/load.p hp(404): wpdb->__construct('clinton ', 'mypassword', 'mydomaindb', 'localhost') #2 /volume1/web/mydomain.co.u k/wp-setti ngs.php(10 6): require_wp_db() #3 /volume1/web/mydomain.co.u k/wp-confi g.php(90): require_once('/volume1/web /my...') #4 /volume1/web/mydomain.co.u k/wp-load. php(37): require_once('/volume1/web /my...') #5 /volume1/web/mydomain.co.u k/wp-admin /admin.php (31): require_once('/volume1/web /my...') #6 /volume1/web/mydomain.co.u k/wp-admin /index.php (10): require_once('/volume1/web /my...') #7 {main} thrown in /volume1/web/mydomain.co.u k/wp-inclu des/wp-db. php on line 1562
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.u
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.