FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Where is the php.ini file?

 


venkateshwarans
I was trying to learn php from a websites. The code asks me to change a few parameters in a php.ini file. What is this thing and where is it found? Is it a part of some script or we have to create one?
wumingsden
venkateshwarans wrote:
I was trying to learn php from a websites. The code asks me to change a few parameters in a php.ini file. What is this thing and where is it found? Is it a part of some script or we have to create one?


You do not have access to the file at FriHost, because it is in the root of the server (this means that only steve can access it).
However, if you have your own server, you will have access to it.

What parameters did it ask you to change?
venkateshwarans
Check out -
http://www.developershome.com/wap/wapUpload/wap_upload.asp?page=php2

Could I know what are the default values for these parameters?
garionw
frih.net/phpinfo.php

Ta-da! Its there
the zephyrus
The only ones you might need to change are register_globals and magic_quotes_gpc. The current settings might seem annoying but they're that way for security reasons. Leaving register_globals on and then relying on magic_quotes_gpc is asking for someone to come in and wreak havoc with an uninitialized variable.
ritesh26
if you are learning PHP on your localhost then you can find php.ini file in windows folder.

If you are working on hosting server then its depends on your hosting plan to access the php.ini file.
In this case you can use alternate solution with the help htaccess file.
This will be better option for you.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.