Closed Thread
Results 1 to 2 of 2

Thread: 500 error on site with php_value auto_prepend_file

  1. #1
    tabre0759 is offline x10Hosting Member tabre0759 is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    2

    500 error on site with php_value auto_prepend_file

    In my .htaccess file, I add php_value auto_prepend_file /home/lionel/public_html/etc/scripts/guard.php , and I know this code is correct, but I get a 500 error. Is this caused by the server setup? Thanks in advance!
    ~Lionel

  2. #2
    Livewire's Avatar
    Livewire is offline Abuse Compliance Officer Livewire is a glorious beacon of lightLivewire is a glorious beacon of light
    Join Date
    Jun 2005
    Location
    Behind a keyboard.
    Posts
    8,995

    Re: 500 error on site with php_value auto_prepend_file

    That's because we currently disallow changing of php.ini flags via the .htaccess file; it'll throw a 500 internal server error because the server can't change the flag on the fly, so it errors.


    TOS breakers will be suspended regardless of race, creed, national origin, hair color, or favorite food. Thanks for your understanding!

Closed Thread

Similar Threads

  1. Replies: 2
    Last Post: 05-26-2011, 08:16 AM
  2. Replies: 1
    Last Post: 04-22-2011, 06:00 PM
  3. Replies: 1
    Last Post: 02-13-2011, 04:41 PM
  4. HELP php_value magic_quotes_gpc 0 .>>?
    By justm3 in forum Free Hosting
    Replies: 6
    Last Post: 05-12-2010, 08:02 AM
  5. php_value in .htaccess - does it work for you?
    By misson in forum Free Hosting
    Replies: 5
    Last Post: 10-15-2009, 09:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers