500 error on site with php_value auto_prepend_file

Status
Not open for further replies.

tabre0759

New Member
Messages
2
Reaction score
0
Points
0
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
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
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.
 
Status
Not open for further replies.
Top