Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member
    Join Date
    Sep 2005
    Posts
    33

    Question HELP::::::register_globals is disabled in php.ini

    Please.....

    How I make to decide this problem? Which the correct and complete commands?

    Debtor already for the aid


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

  2. #2
    aby
    aby is offline
    Member aby's Avatar
    Join Date
    May 2005
    Location
    India
    Posts
    638

    Lightbulb

    Quote Originally Posted by serverptx
    Please.....

    How I make to decide this problem? Which the correct and complete commands?

    Debtor already for the aid


    FATAL ERROR: register_globals is disabled in php.ini, please enable it!
    You have to enable that in php.ini.. If you need to enable that only for a particular domain by adding the php_admin_flag, you can do it by editing the httpd.conf. But as a server admin, you should know the limit you set for security.
    Aby

    MSN "abyvarghese007"
    Yahoo " abyattaikkulathu"

    http://slashome.com

  3. #3
    Member
    Join Date
    Sep 2005
    Posts
    33

    Default

    The problem appeared when I installed zend!
    Now I do not know as to decide and no domain this functioned! It can teach the correctos commands to me to make for ssh?

  4. #4
    Member
    Join Date
    Sep 2005
    Posts
    33

    Exclamation

    helppppp

  5. #5
    aby
    aby is offline
    Member aby's Avatar
    Join Date
    May 2005
    Location
    India
    Posts
    638

    Lightbulb

    Quote Originally Posted by serverptx
    helppppp
    first you have to find the path of the php.ini.

    Then edit it using any editors...

    There search for register_globals and turn that to On... That is it..

    pretty simple.... get to me on IM.. if you are still unable to do it urself...
    But if you are administering the server, you should know howto do this..
    else i'd suggest you to hire someone affordable for you..
    Aby

    MSN "abyvarghese007"
    Yahoo " abyattaikkulathu"

    http://slashome.com

  6. #6
    Member
    Join Date
    Sep 2005
    Posts
    33

    Exclamation

    Therefore....

    That I do not only have no ideia of where to start or as to procurer me cannot indicate the way to make for ssh?

    Debtor since already

  7. #7
    Member
    Join Date
    Aug 2005
    Posts
    134

    Default

    You can do it for every account by adding the following line in the .htaccess file:

    php_flag register_globals on

  8. #8
    Member
    Join Date
    Feb 2004
    Posts
    469

    Default

    Quote Originally Posted by DigitalSurgeon
    You can do it for every account by adding the following line in the .htaccess file:

    php_flag register_globals on
    If php is running as a cgi (phpsuexec) then that won't work at all and will give errors.
    phpsuexec requires a php.ini file to contain the php directives in the directory where the php scripts are to be executed from.

  9. #9
    Member
    Join Date
    Aug 2005
    Posts
    134

    Default

    Quote Originally Posted by Izzee
    If php is running as a cgi (phpsuexec) then that won't work at all and will give errors.
    phpsuexec requires a php.ini file to contain the php directives in the directory where the php scripts are to be executed from.
    Thanks but I am not fully sure about what you said.Any Other Thoughts????

  10. #10
    Member
    Join Date
    Feb 2004
    Posts
    469

    Default

    Quote Originally Posted by DigitalSurgeon
    Thanks but I am not fully sure about what you said.Any Other Thoughts????
    No PHP values can be put in
    .htaccess (php.ini must be used instead) if you convert to using phpsuexec.
    Is that any clearer for you?

  11. #11
    Member
    Join Date
    Sep 2005
    Posts
    33

    Default

    Friends... were the following one, I actualizei the apache and installed zend, after this all the sites give to error the error to me that appears is following 500 Internal Server Error

    More information about this error may be available in the server error log.


    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    somebody can help to decide me the problem? I only have access root for ssh!


    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, root@host.server-pt.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

  12. #12
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    helppppp
    Seriously, this is not a linux help forum. If you don't understand the first thing about server admin you either need to teach yourself (there are plenty of guides on the web and a good starting point is www.tldp.org) or you need to hire a server admin. Asking about the question is fine, but you need to show some initiative in doing the work yourself.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. How to modify PHP.ini? (register_globals problem)
    By Bahrian in forum cPanel and WHM Discussions
    Replies: 12
    Last Post: 02-17-2008, 02:31 PM
  2. PHPSuexec and Register_globals / php.ini?
    By Ralph9110 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-20-2007, 12:52 AM
  3. TIP: PHP 5.1.6 + phpsuexec + local php.ini (register_globals)
    By Bazer in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-13-2007, 03:25 PM
  4. PHP Version 4.4.2, register_globals ON php.ini no longer works!
    By sh4ka in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-02-2006, 04:06 PM
  5. Replies: 7
    Last Post: 02-02-2006, 05:51 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube