Skip to main content

Hosting provider upgraded PHP and now my website doesn't work

Comments

11 comments

  • Wabun
    Hi, Create a php.ini file in the / of the website [might need in more folders] content of php.ini file. display_errors = off error_reporting = E_ALL & ~E_NOTICE At least it should stop displaying the errors on the website, so you have time to update/fix your website to be compatible with newer php. File rights: Depending on how the server is configured, try for folders 755 and files 644.
    0
  • cPanelMichael
    Hello :) I suggest reviewing the full error logs for your website to determine the specific cause of the internal server error message. You can paste a snippet of the log output here for review. Thank you.
    0
  • the_Dsigner
    Here is a taste of whats in my cPanel error log [Removed - Only File Not Found Errors]
    0
  • the_Dsigner
    [quote="Wabun, post: 1542201">Hi, Create a php.ini file in the / of the website [might need in more folders] content of php.ini file. display_errors = off error_reporting = E_ALL & ~E_NOTICE At least it should stop displaying the errors on the website, so you have time to update/fix your website to be compatible with newer php. File rights: Depending on how the server is configured, try for folders 755 and files 644.
    What do you mean fix to make compatible with newer php? The magento site I have running in the background was supposed to be compatible from V5.2 all the way to the latest. How does it go from working one min and errors the next? I have already switched the folder containing the magento site to permissions 755 and the index.php file is set to either 666 or 644 and it still doesn't work. .vB [COLOR="silver">- - - Updated - - - [Fri Jan 03 09:49:06 2014] [error] [client 69.196.162.201] SoftException in Application.cpp:256: File "/home/thoughtt/public_html/new/index.php" is writeable by group
    0
  • quietFinn
    This error: [Fri Jan 03 09:49:06 2014] [error] [client 69.196.162.201] SoftException in Application.cpp:256: File "/home/thoughtt/public_html/new/index.php" is writeable by group
    tells that permissions of index.php are not correct. Make sure that all php files have permissions 644, and directories 755. If file's permissions are 664 it means it's "writeable by group" (as the error message states).
    0
  • the_Dsigner
    [quote="quietFinn, post: 1542381">This error: [Fri Jan 03 09:49:06 2014] [error] [client 69.196.162.201] SoftException in Application.cpp:256: File "/home/thoughtt/public_html/new/index.php" is writeable by group
    tells that permissions of index.php are not correct. Make sure that all php files have permissions 644, and directories 755. If file's permissions are 664 it means it's "writeable by group" (as the error message states).
    How come this problem didn't show up with the previous version of PHP with the current permission settings? Thanks
    0
  • cPanelMichael
    Is it possible that your hosting provider switched the PHP handler to suPHP? If so, you should be aware of the following suPHP requirements: cPanel - suPHP Considerations Thank you.
    0
  • the_Dsigner
    I'm put the directory and all php files including index.php as permission 644 and it still is giving me errors. [COLOR="silver">- - - Updated - - - [Fri Jan 03 13:47:55 2014] [error] [client 66.249.75.239] File does not exist: /home/thoughtt/public_html/protocol [Fri Jan 03 13:45:29 2014] [error] [client 66.249.75.193] File does not exist: /home/thoughtt/public_html/404.shtml
    0
  • cPanelMichael
    Please ensure you only post the specific error messages related to the website error message. There is no need to post the full output with all "File Does Not Exist" error messages. It looks like you will have to receive assistance from your web hosting provider because the only errors from the error log you posted are for "File Does Not Exist" errors. Thank you.
    0
  • quietFinn
    [quote="the_Dsigner, post: 1542552">I'm put the directory and all php files including index.php as permission 644 and it still is giving me errors. [COLOR="silver">- - - Updated - - - [Fri Jan 03 13:47:55 2014] [error] [client 66.249.75.239] File does not exist: /home/thoughtt/public_html/protocol [Fri Jan 03 13:45:29 2014] [error] [client 66.249.75.193] File does not exist: /home/thoughtt/public_html/404.shtml
    Those have nothing to do with file / directory permissions, seems like googlebot requesting file(s) that do not exist. They don't prevent your site from working.
    0
  • MesinHosting
    from reading from your posted. i have separated two different topic regarding to your problems. the first one you need and want to upgrade php version from php v.5.2 to php v.5.3. but it's cant be made by your host. second, i think you have a problem with file permission on your server. this typical question have different essential and has nothing the same one and other. for the first question. i suggest you to move from your old host to new host. now so many hosting were used cloudlinux os and find the fit one for you. on this typical hosting, you can choice your own php version. i guest now starting from php 5.2 to 5.5 at current momment. beside, cloudlinux much better and newer rather than old typical hosting os. and for the second question i think it's can be solved by runing [root]# chown youruserid:yourusergroup /path/yourfile.php or you can read the php manual about chown and chmod i hope it's will solved your problems
    0

Please sign in to leave a comment.