Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    859

    Default Is there any way to "hard code" our current php.ini settings?

    I would like to be able to hard-code our current php.ini settings, so that for example, a individual vsite php.ini file would not be able to re-enable allow_url_fopen and the like.

    Anyway to do this?

  2. #2
    Member
    Join Date
    Apr 2005
    Posts
    41

    Default

    at the bottom of /opt/suphp/etc/suphp.conf there are some lines:

    Code:
    [phprc_paths]
    ;Uncommenting these will force all requests to that handler to use the php.ini
    ;in the specified directory regardless of suPHP_ConfigPath settings.
    ;application/x-httpd-php=/usr/local/lib/
    ;application/x-httpd-php4=/usr/local/php4/lib/
    ;application/x-httpd-php5=/usr/local/lib/

    Can you check if once those lines are uncommented, the local php.ini would loose effectiveness or not?

Similar Threads & Tags
Similar threads

  1. Replies: 5
    Last Post: 01-03-2012, 12:34 PM
  2. Replies: 8
    Last Post: 02-11-2011, 01:39 PM
  3. Trying to save php file after using "Code Editor"
    By cmkelly29 in forum New User Questions
    Replies: 1
    Last Post: 01-16-2011, 04:34 AM
  4. Replies: 0
    Last Post: 09-14-2010, 02:50 AM
  5. I want to add a "new (#)" icon on "Email/current accts"
    By LOGISTIKA_TSM in forum E-mail Discussions
    Replies: 1
    Last Post: 03-26-2008, 10:26 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube