Apache and PHP problem Please Help
I`m Building 2 web server using Suselinux and i would like to know that it is possible to combine 2 server..
let say server1 i have apache2 on server1 in server2 i have PHP5 only.. it is possible to combine this thing.. i already try the NFS server but failed did not work... i appreciated any kind of suggestion... Thank You!:) |
I'm a bit confused as to why you would want to do so. Why not just put them on the same server?
|
probably not, no, php runs as a module of Apache, so separating php and Apache in such a way would be horribly inefficient at best, impossible at worst, that being said, you CAN keep your php SCRIPTS on an NFS server by simply pointing the document root of the web server at the NFS mount point in your Apache configuration file.
|
Quote:
i`m doing this coz this is the task that management give it to me and also our client want this kind of setup... |
i've worked in a situation where i created an environment as i mentioned in my previous post, apache/php on one server, document root on another via nfs, you could have apache/php on that as well, but as even you admit, what the client wants is impossible, so i guess the best answer is to tactfully explain WHY it's impossible and propose a more sensible alternative.
|
Quote:
|
All times are GMT -5. The time now is 10:38 AM. |