Hello,
I installed oscommerce on a hosting account on my server (I do have access to WHM & Cpanel of that account). After complete installation, it gives following error when I open the oscommerce URL on that account:
Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.
Can anybody help me in editing this PHP.ini file?
I read on some website that you should write the following line: register_globals = On into a file and name it php.ini and upload it to public_html or the directory in which script is located. I tried this too, but it doesn't help.
When I opened htaccess file, it has the following stuff written into it:
Can anybody help me? How can I get rid of this register_globals problem?<IfModule mod_setenvif.c>
<IfDefine SSL>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
</IfDefine>
</IfModule>
# If Search Engine Friendly URLs do not work, try enabling the
# following Apache configuration parameter
#
# AcceptPathInfo On
# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)
#
<IfModule mod_php4.c>
php_value session.use_trans_sid 0
php_value register_globals 1
</IfModule>



LinkBack URL
About LinkBacks
Reply With Quote


i have 3 server n i got same problem. my user can't modify php conf with their own php.ini. 




