403 Error When Trying to Use PHP 7.1 or 7.2
I have used easyapache4 to install php 7.1, and php 7.2.
I am using litespeed webserver, and I made sure php 7.1, and 7.2 are both configured there as well.
I can use php 7.0 no problem. If I try to switch php to 7.1 or 7.2 in any way shape or form my website refuses to load, I only get a 403 error. I checked the error logs and did not find anything helpful.
Looking for a little guidance on how to troubleshoot/proceed. Thanks!
-
I can use php 7.0 no problem. If I try to switch php to 7.1 or 7.2 in any way shape or form my website refuses to load, I only get a 403 error. I checked the error logs and did not find anything helpful.
Hello, Did you check the Apache error log (/usr/local/apache/logs/error_log) to see if anything appeared when you encountered that error code in your browser? If so, feel free to open a support ticket using the link in my signature so we can take a closer look. Thank you.0 -
Log shows: MIME type [application/x-httpd-php72] for suffix '.php' does not allow serving as static file, access denied! 0 -
Hello, Could you open a support ticket using the link in my signature so we can take a closer look? Thank you. 0 -
Looks like it's not a cpanel issue. Its something to do with litespeed. Feel free to close this, I will take it up with them 0 -
Same problem here. Any solution? 0 -
Same problem here. Any solution?
Hello, Do you have root access to this system? If so, did you check the Apache error log (/usr/local/apache/logs/error_log) to see if anything appeared when you encountered that error code in your browser? Thank you.0 -
I have the root access. It's dedicated server but I have no idea on how to view /usr/local/apache/logs/error_log. 0 -
2018-03-19 23:23:26.260342 [NOTICE] [/home/technopa/public_html/sosyal/.htaccess:14] Unsupported ErrorDocument URL: default, must start with '/' or 'http'. 2018-03-19 23:23:26.260351 [NOTICE] [/home/technopa/public_html/sosyal/.htaccess:15] Unsupported ErrorDocument URL: default, must start with '/' or 'http'.0 -
Hello, The error message suggests you are using an unsupported ErrorDocument entry in the .htaccess file referenced in the log output. You can remove those entries from the .htaccess file, as custom ErrorDocument entries are not required. Instead, you simply upload the custom error pages to the document roots of the websites and they take affect automatically. Thank you. 0 -
I've created a new topic. It is not just XenForo but Wordpress too giving 403. 0 -
Hello, We will respond to your new thread shortly: Thank you. 0
Please sign in to leave a comment.
Comments
11 comments