|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
PHP on a seperate box
Hello,
I'd like to setup a scaleable production environment with Apache, PHP, and MySQL. I have 3 servers. 1 for apache 1 for MySQL and 1 for PHP. I know you can configure MySQL to accept connections remotely, but can you do the same for PHP. I.E could I install PHP on a remote and configure so that when it sees a request coming n for a php program it hands it off to the remote server where PHP is installed? |
|
#2
|
|||
|
|||
|
RE: PHP on a seperate box
I am not an expert on this but PHP is a Hypertext PreProcessor hence "PHP" it intergrates with Apache to pass the data back through Apache. I am just having trouble finding the reason why you would want to split it on to two servers. Maybe it could be as CGI Someone else might know
|
|
#3
|
|||
|
|||
|
RE: PHP on a seperate box
The only thing that comes to mind is to set up two servers that both run apache, and one runs php. You could them route any static page requests to one server, and any dynamic page requests to the other server (with php on it). Many sites do similar things. In fact, slashdot has I think 6 or so servers. If I remember correctly, 2 serve static pages while 4 serve dynamic.
You will need to have apache on the box serving php.... |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > PHP on a seperate box |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|