|
|
|
|
||||||
| comp.info.servers.win Web servers for MS Windows and NT. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
|
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 18 Dec 2005 03:14:41 -0800, v.jahn@uni-bonn.de wrote:
>Hi all, > >I have Apache HTTP server installed on Win2k pro with standard >configurations for ColdFusion MX 7 and PHP 5. Everything is running >fine, execution of cfml-pages as well as php-pages work well. >Now I don't want to have the ColdFusion process (running as a service) >running all the time as the system is a development system which I use >for everyday work (like office, web browsing, development, etc.), >especially because the CF service is using big chunks of the machines >resources. But I still want php served then. >If I turn off the coldfusion service, Apache also stops handling >php-pages and even plain html is slowed dramatically. The error-log >says Apache is unable to load ColdFusion modules. >So I guess I'm looking for a way to have Apache working independently >of the state of the coldfusion service (access the module it if service >is running, don't bother with cfm if the service is dead). You could try to install a second instance of Apache with a different service name and its own httpd.conf without the ColdFusion stuff, or using the -D name parameter to [de]activate <IfDefine name> blocks. bin\apache -h will tell you the options and parameters. You could try: bin\apache -k install -n apanocf -f apanocf.conf If you like registry hacks: the command line parameters can also be put into server start registry values. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\A pache2\Parameters\ConfigArgs or something like that. Don't forget to set both service definitions to "Manual startup" and start just the one you need. >Thanks >Volker I hope this works for you. -- ( Kees ) c[_] Madness takes its toll. Please have exact change. (#199) |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On 18 Dec 2005 03:14:41 -0800, v.jahn@uni-bonn.de wrote:
>Hi all, > >I have Apache HTTP server installed on Win2k pro with standard >configurations for ColdFusion MX 7 and PHP 5. Everything is running >fine, execution of cfml-pages as well as php-pages work well. >Now I don't want to have the ColdFusion process (running as a service) >running all the time as the system is a development system which I use >for everyday work (like office, web browsing, development, etc.), >especially because the CF service is using big chunks of the machines >resources. But I still want php served then. >If I turn off the coldfusion service, Apache also stops handling >php-pages and even plain html is slowed dramatically. The error-log >says Apache is unable to load ColdFusion modules. >So I guess I'm looking for a way to have Apache working independently >of the state of the coldfusion service (access the module it if service >is running, don't bother with cfm if the service is dead). You could try to install a second instance of Apache with a different service name and its own httpd.conf without the ColdFusion stuff, or using the -D name parameter to [de]activate <IfDefine name> blocks. bin\apache -h will tell you the options and parameters. You could try: bin\apache -k install -n apanocf -f apanocf.conf If you like registry hacks: the command line parameters can also be put into server start registry values. HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\A pache2\Parameters\ConfigArgs or something like that. Don't forget to set both service definitions to "Manual startup" and start just the one you need. >Thanks >Volker I hope this works for you. -- ( Kees ) c[_] Madness takes its toll. Please have exact change. (#199) |
|
![]() |
| Outils de la discussion | |
|
|