Author Topic: How to edit php.ini file on hostgator webhost?  (Read 80 times)

0 Members and 1 Guest are viewing this topic.

Offline JusticeLeague

  • Sr. Member
  • *
  • Posts: 352
  • Karma: +1/-0
    • View Profile
How to edit php.ini file on hostgator webhost?
« on: January 24, 2010, 10:52:35 AM »
How to edit php.ini file on hostgator webhost?


Also, where can I find php.ini ?

Techronnati | where technology never sleeps

How to edit php.ini file on hostgator webhost?
« on: January 24, 2010, 10:52:35 AM »

Mountain View

Offline MrSpecialist

  • Sr. Member
  • *
  • Posts: 342
  • Karma: +1/-0
  • I'm an expert!
    • View Profile
Re: How to edit php.ini file on hostgator webhost?
« Reply #1 on: January 24, 2010, 10:53:58 AM »
You cant, if you are on a shared host, you wont be able to change php.ini

But you can use .htaccess to do some of which, you would do trough php.ini
As such, you may want to read about it at: http://httpd.apache.org/docs/1.3/howto/h


php.ini is usually located in the directory, where php was installed on the server.

You could also do something like:
<?php
ini_set ('magic_quotes_gpc', 0);
?>

 hope this helps.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
154 Views
Last post November 04, 2008, 12:05:28 AM
by Transformer10
1 Replies
4851 Views
Last post October 28, 2016, 04:54:08 AM
by JusticeLeague
0 Replies
40 Views
Last post January 24, 2010, 10:59:42 AM
by CyborgRepublic
0 Replies
478 Views
Last post November 27, 2015, 06:06:55 AM
by CyborgRepublic
1 Replies
68 Views
Last post November 29, 2015, 10:26:21 AM
by rpmolecule

Posting Disclaimer: Any individual may post a message in this forum and may do so anonymously. Therefore, the sole author is exclusively and entirely responsible for all opinions in that message. They do not represent the official opinions of Techronnati, its administrators or moderators or the Techronnati Management. Techronnati is merely acting as an impartial conduit for constitutionally protected free speech and is not responsible and will not be held liable for the content of such messages. All images and service logos are trademarks of their respective owners.