Jump to content


Php.ini file

  • Please log in to reply
1 reply to this topic

#1 kawiki

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 24 May 2006 - 05:46 PM

Hi all,
Not a programmer and I guess if I was, I wouldn't have to ask this question...lol

I need to change a .htaccess file to a php.ini , how do I do this or all i need is for someone to show me how the following code should look in a php.ini file? thanks

This is what the .htaccess file looks like now:

AddType application/x-httpd-php .htm
php_flag magic_quotes_gpc on
php_flag register_globals on


#2 wildteen88

  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 24 May 2006 - 06:22 PM

To php.ini? You cant have multiple copies of a php.ini file! PHP will only use the master php.ini and not secound php.ini file! But any way.

The first line doesnt even go into a php.ini as its an Apache only command. The php_flag magic_quotes_gpc on and php_flag register_globals on can be changed to the following though:
magic_quotes_gpc = on
register_globals = on

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users