Customised Php.ini

Jul 19, 2007

There is a shared server running PHPSuexec, and we need to change some php settings, and therefore doing that in .htaccess is not possible.

We copied php.ini from /usr/local/lib/, made a modification and placed it in the web root path.

I thought that any settings that have been changed would 'propagate' throughout the rest of the website (i.e. all paths underneath the web root, in the heirarchy), but unfortunately, we have found out that this is not the case. The settings that were modified, were only reflected in the web root path.

Is there some method to ensure that the php modifications are reflected throughout the entire website ? We don't really want to have to place a copy of the entire (modified) php.ini in every path.

View 2 Replies


ADVERTISEMENT

Customised "Banned IP" Page

May 16, 2008

We've blocked a few problematic users from our server using CSF (IP block).

Could anyone tell me how I could get a custom page to appear for this who are blocked on the server?

I'd like a message informing the user(s) that they have been banned from the server rather than a blank screen.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved