FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Re: Is a virtual site-specific php.ini file possible?
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Is a virtual site-specific php.ini file possible? [message #172878] Wed, 09 March 2011 21:54
bobmct is currently offline  bobmct
Messages: 16
Registered: September 2010
Karma: 0
Junior Member
On Tue, 24 Aug 2010 15:10:12 -0400, Marious Barrier
<marious(dot)barrier(at)gmail(dot)com> wrote:

> On 08/24/2010 02:45 PM, bobmct wrote:
>> I am helping someone migrate a blog site to a new hosting service that
>> uses cPanel - WHS to provide the virtual sites.
>>
>> The blog software generates URL based includes which are disallowed by
>> the current php instance. I know there is a directive to allow this
>> but it needs to be for this specific site only.
>>
>> Is anyone aware of a method to achieve this? Any guidance
>> appreciated. Thanks
>
> Not that I know, but you can set php.ini directives in .htaccess files
> if allowed.

Yes - you can place a customized php.ini file in EACH virtual webroot
directory as needed. And the only entries required are the ones that
are different than the global one.

I've done this for the exact same reason you asked - Good luck.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: config.m4 : error: possibly undefined macro: LT_SHARED_LIBADD
Next Topic: PSD to XHTML Conversion Services and PSD to HTML CSS Conversion Services, PSD to Joomla, Drupal, Wordpress Conversion
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 03:10:40 GMT 2024

Total time taken to generate the page: 0.02447 seconds