Apache, MySQL on same or different servers?
Added by sm3 over 4 years ago
For performance reasons I was considering putting Apache and MySQL on 2 different servers. Is this OK or does Apache with PHP need to be running on the same server as the Ryzom Core services?
Thanks,
sm3
Replies (3)
RE: Apache, MySQL on same or different servers? - Added by FatDevil over 4 years ago
You need only change settings in config files:
- code/ryzom/tools/server/www/login/config.php - change $DBHost;
- code/ryzom/tools/server/admin/config.php - change define of NELTOOL_DBHOST;
- code/ryzom/server/sql.cfg - change DBHost.
RE: Apache, MySQL on same or different servers? - Added by sm3 over 4 years ago
Excellent! Thanks, FatDevil.
sm3
RE: Apache, MySQL on same or different servers? - Added by sm3 over 4 years ago
For the future reference of anyone else trying this, Ryzom Core does work in this configuration. I've setup Apache and MySQL each on their own servers. I had to copy the tools/admin and www directories to the Apache server. I'm able to login with the client and certain features of the webtool work. I'll continue experimenting.
sm3
(1-3/3)