Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
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.
I'm a bit confused as to why you would want to do so. Why not just put them on the same server?
actually i know that it is impossible i just want to know if theirs a way to combine with separate php and apache.
i`m doing this coz this is the task that management give it to me and also our client want this kind of setup...
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
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.
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.
Thank you for suggesting... i hope they can understand.. that it is really impossible for that kind of setup...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.