Results 1 to 3 of 3

Thread: php.ini

  1. #1
    Registered Generalissimo's Avatar
    Join Date
    Mar 2005
    Location
    Huddersfield, UK
    Posts
    409

    php.ini

    OSCommerce is telling me to:

    FATAL ERROR: register_globals is disabled in php.ini, please enable it!


    How do I access php.ini to edit it? Can I do this in WHM?
    Sean Spurr. Incka Media.
    £49 Link Building Service

  2. #2
    Registered Member moonshield's Avatar
    Join Date
    Aug 2004
    Location
    Charlotte
    Posts
    1,281
    SSH in and then run use your text editor to edit /etc/php.ini

  3. #3
    Web Monkey MarkB's Avatar
    Join Date
    Nov 2003
    Location
    London, UK
    Posts
    1,783
    Or, if you use Cpanel it could be in /usr/lib/php.ini or /usr/local/lib/php.ini

    Type: locate php.ini to find it

    Then use vi or pico to edit it, and look for the line regarding register_globals. Make the necessary changes, save it, and then restart Apache.

    (Unfortunately, no you can't do it in WHM)
    Stepping On Wires - the new blog

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
  •