what best proceed establish server book therefore settlement php?
i'm perplexing establish best proceed carrying php book establish server script/site now controlling on.
at impulse i have switch()
uses $_server['server_name'] . ':' . $_server['server_port']
establish server it's on. following sets few paths, db tie parameters, smtp paramters debug settings formed server it's on. (there maybe additional parameters depending site needs.)
this means i simply dump site onto any configured servers but carrying change any formula (specifically configuration). it's new server, following i simply supplement new case
it's prepared following on.
we have finished loading config files formed same server_name:server_port
combination, nonetheless found it's another record have maintain, and weren't certain speed parsing ini files, (although carrying additional cases any server competence only slow).
another problem have site mostly changed between 2 servers, nonetheless same server_name
server_port
each. means need temporarily critique box pledge doesn't repo.
another ideas? needs accessible servers (sometimes server_name
server_port
not). also good worked cli php.
Comments
Post a Comment