.htaccess php directives on CGI SAPI

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

.htaccess php directives on CGI SAPI

Post by Ollie Saunders »

You can't use .htaccess php directives like these:

Code: Select all

php_flag register_globals Off
on CGI SAPI right?

Cause I have an internal server error, I'm presuming because Apache can't talk to PHP in that way. It there any other way to achieve it?
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

Adjust the ini file?
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Post by Ollie Saunders »

I haven't got access to that.
Post Reply