Skip to main content

PHP stop working after I run /scripts/easyapache

Comments

9 comments

  • waleedrdc
    Hello I am sorry to hear about your issue but I would request you to check for any empty extension line in /usr/local/lib/php.ini In case you find any empty extension line (line without content after =) than comment out that line and restart apache. Hope this helps.
    0
  • calvinphanctt
    Hi Waleedrdc, Thank you for your suggestion, I look at my php.ini, I found they are empty at: disable_functions = disable_classes = auto_prepend_file = auto_append_file = doc_root = user_dir = mysql.default_socket = and I saw: ; register_globals = On ; deprecated (is this why it is not working?) By the way, how do I comment it out ? just put the ; in front of that line or ... ? Thank you. Sincerely, Calvin
    0
  • cPanelMichael
    Hello :) Could you check to see if your accounts are using custom php.ini files located within their home directories? If so, try disabling these files to see if that makes a difference. Thank you.
    0
  • calvinphanctt
    Hi Michael, At the moment I don't see any php.ini in the home directory, and there is no .htaccess either Last time I tried to create a php.ini or .htaccess to put register globals on But the website alsways give me "Internal Server Error" So could you please help? Thank you
    0
  • cPanelMichael
    You could upload a "phpinfo" file to see which php.ini file is utilized. Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • calvinphanctt
    Hi Michael, I already upload phpinfo file, but how do I see which php.ini file is utilized? I don't want to open a support ticket since it costs $30 :( Please help me ! Thank you. Sincerely, Calvin
    0
  • cPanelMichael
    Search the output of your "phpinfo" page for "php.ini" in your browser to see what shows up. Note there is no cost for complimentary support tickets if you are using a valid cPanel license. Thank you.
    0
  • calvinphanctt
    Hi Michael, I searched for "php.ini" and I got [QUOTE]Configuration File (php.ini) Path /usr/local/lib Loaded Configuration File /usr/local/lib/php.ini
    By the way my PHP Version is 5.4.27 now after I ran the easyapache Oh, of course I use license Cpanel and my web hosting company paid for it, but I don't know what the heck wrong with them, I made trouble ticket since April 12 and nobody answers over there. Thank you for your help! Sincerely, Calvin
    0
  • cPanelMichael
    You can open a support ticket with us using the link here: Submit A Ticket Thank you.
    0

Please sign in to leave a comment.