hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Per site PHP settings in IIS?
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Per site PHP settings in IIS?

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-20-2006, 01:31 AM
Canadaka Canadaka is offline
Junior Guru
 
Join Date: Sep 2002
Location: BC, Canada
Posts: 177
Question

Per site PHP settings in IIS?


I use Windows 2003, IIS6, PHP 5 on my server.

I am wondering if there is a way with windows/IIS to have per site settings like there is with apache/*nix with vhosts and .htaccess.

What i want and need to do is enable eaccelerator for just some of my hosted sites. Right now if I added the enable flag to eaccelerator in the php.ini it will apply to all the sites in IIS.

I know with apache/nix you can use .htaccess to set per site PHP settings, thus disabling or enabling eaccelerator and other things per site.

My problem is I don't have those things on a windows server, I am wondering if there is a way to do this with windows/IIS?

__________________
Canada Kicks Ass Canadian content & forums! | Canadian Hottie.ca Sexy Canadian babes for free!

Reply With Quote


Sponsored Links
  #2  
Old 04-21-2006, 04:03 PM
Canadaka Canadaka is offline
Junior Guru
 
Join Date: Sep 2002
Location: BC, Canada
Posts: 177
anyone? There must be something.. maybe. If not its one of the few things I have found that IIS can't do that apache can.

__________________
Canada Kicks Ass Canadian content & forums! | Canadian Hottie.ca Sexy Canadian babes for free!

Reply With Quote
  #3  
Old 04-23-2006, 12:04 PM
besty besty is offline
Web Hosting Master
 
Join Date: Mar 2006
Posts: 644
IIS too support this feature... you can have seperate php.ini file for each individual sites.

Reply With Quote
Sponsored Links
  #4  
Old 04-24-2006, 04:49 AM
Canadaka Canadaka is offline
Junior Guru
 
Join Date: Sep 2002
Location: BC, Canada
Posts: 177
ok, but how?

__________________
Canada Kicks Ass Canadian content & forums! | Canadian Hottie.ca Sexy Canadian babes for free!

Reply With Quote
  #5  
Old 04-24-2006, 06:00 AM
besty besty is offline
Web Hosting Master
 
Join Date: Mar 2006
Posts: 644
If your php.ini file is in c:/windows/php.ini . Then each site can have their own php.ini files inside his wwwroot(root directory). This is enough. Let me know if it is working?

Reply With Quote
  #6  
Old 04-30-2006, 05:48 AM
Canadaka Canadaka is offline
Junior Guru
 
Join Date: Sep 2002
Location: BC, Canada
Posts: 177
I tried putting a php.ini in one of my sites root folder with error reporting on, my windows\php.ini has it off. Restarted IIS and doens't seem it works, the site doens't seem to read the php.ini in its root.

Is there something else you need to do?

And.... is it safe to have php.ini's in public web folders?

__________________
Canada Kicks Ass Canadian content & forums! | Canadian Hottie.ca Sexy Canadian babes for free!

Reply With Quote
  #7  
Old 04-30-2006, 11:24 AM
besty besty is offline
Web Hosting Master
 
Join Date: Mar 2006
Posts: 644
Wink

1. Did you renamed the file in php/php.ini. and do the steps what i have said it before if not

2. If not assign the domain.com_web user denied permission on that file c:\php\php.ini and place the customized php.ini file in their domain root folder.

:-)

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Aussie Web Host DWHS Rebrands to WebHost.pro, Adds Plans and Features Web Hosting News 2013-02-14 14:41:25
Web Optimization Provider Yottaa Launches Version 2.0, Adds Patented QuickTune Technology Web Hosting News 2012-09-17 15:18:17
StopTheHacker Releases Version 3.3 of Security Tool with Redesigned Dashboard Web Hosting News 2012-06-25 10:49:09
VMTurbo Releases Cloud Operations Manager for Virtual and Cloud Environments Web Hosting News 2011-07-20 19:00:04
Apple Confirms Discontinuation of iWeb, MobileMe Hosting in 2012 Web Hosting News 2011-06-24 20:15:37


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?