|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Multible servers and sources
I'm, currently, using Windows as my Apache platform. I have a pretty new version of all three: Apache, PHP, and MySQL. My question is, can I have multible servers installed, with different settings in PHP but the same MySQL server?
My main objective is to write try build a enviroment where I have one server, which works as a my development server and one that runs finished projects. It also crossed my mind to try set this up by just defining more complex configurations to my virtual hosts, but don't know if that's possible. Is it?
__________________
-- Tomi Kaistila -- Developer's Journal The more you learn, the more you know. The more you know, the more you forget. The more you forget, the less you know. |
|
#2
|
|||
|
|||
|
Why not? Unless you are trying to isolate the version difference, normally most directives that can be defined globally can also go within <VirtualHost> block. So you really can configure vhosts with completely different environment.
|
|
#3
|
||||
|
||||
|
Sounds pretty logical
![]() But I've failed to find information on how to set different PHP configurations to different virtual hosts. Can you give me an overview or do you know of a such information source? |
|
#4
|
|||
|
|||
|
You can set environment variables in PHP. For php.ini specific configuration you should ask in PHP forum.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Multible servers and sources |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|