yanayun Posted July 9, 2006 Posted July 9, 2006 hi, My server using register_global =off. how to modify .htaccess to use register_globals on PHP5, Apache 1.3.x i found only php4 on .htaccess. <IfModule mod_php4.c> php_value session.use_trans_sid 0 php_value register_globals 1 </IfModule> yanayun
Daemonj Posted July 9, 2006 Posted July 9, 2006 Change the php4 to php5. ;) You could also remove the entire IfModule block and just leave the php_value statements. "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
yanayun Posted July 9, 2006 Author Posted July 9, 2006 After remove : Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
Daemonj Posted July 9, 2006 Posted July 9, 2006 Did you remove the IfModule block or change the PHP4? "Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein
yanayun Posted July 9, 2006 Author Posted July 9, 2006 Did you remove the IfModule block or change the PHP4? i only remove ifmodule. i leave only this : php_value session.use_trans_sid 0 php_value register_globals 1
Recommended Posts
Archived
This topic is now archived and is closed to further replies.