Home »
Imported messages »
comp.lang.php »
Re: Is a virtual site-specific php.ini file possible?
Re: Is a virtual site-specific php.ini file possible? [message #172878] |
Wed, 09 March 2011 21:54 |
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.
|
|
|
Goto Forum:
Current Time: Sun Dec 01 03:10:40 GMT 2024
Total time taken to generate the page: 0.02447 seconds