SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 1999
    Location
    Singapore
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi. How do I modify the magic_quotes_gpc option in the php.ini file? I used the pico editor and saved changes but for some reason, thos were not reflected. So how can I modify my php.ini file?
    Adolescent Adulthood - Learn All ABout Flirting, Dating And Dumping.

  2. #2
    SitePoint Author Kevin Yank's Avatar
    Join Date
    Apr 2000
    Location
    Melbourne, Australia
    Posts
    2,571
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    You should be able to edit the file just as you have described. Just make sure you have write access to the file (this will probably mean you'll need root access on the server), and that you're editing the right one (you might have several copies of php.ini, only one of which is actually used by your server). Finally, don't forget to restart your Web server (/etc/rc.d/init.d/httpd restart) after making changes so that they take effect.
    Kevin Yank
    CTO, sitepoint.com
    I wrote: Simply JavaScript | BYO PHP/MySQL | Tech Times | Editize
    Baby’s got back—a hard back, that is: The Ultimate CSS Reference

  3. #3
    SitePoint Enthusiast
    Join Date
    Nov 1999
    Location
    Singapore
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah, i didnt restart it.
    Adolescent Adulthood - Learn All ABout Flirting, Dating And Dumping.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •