PDA

View Full Version : I modify the php.ini,but it still doesn't work?



r7handsome
08-02-2007, 05:11 AM
I install a oscommerce shopping cart,I know its server environment need the register_globals=On,so I download the php.ini through the FTP.Then modidy the file,let register_globals=On.I think it's ok.But after I upload the new php.ini file,I still find the page is wrong.There's always the same error message "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."

Why?I have use another hostmonster account for a long time,last time I did fix the problem like that?But why it doesn't work this time?

Somebody helps.I will appreciate...

sjlplat
08-02-2007, 08:15 AM
You need a php.ini file in all subdirectories that contain php files.

r2b2
08-02-2007, 04:42 PM
Unless you have FastCGI turned on in which case you have to update the copy in your public_html directory... (well thats what HostMonster seem to say)

(I can see these php.ini questions getting more complicated :) )

charlesgan
08-03-2007, 03:08 PM
talk about fastcgi...
i turned it off lately.. due to many error 500 .. server error.
:(