Kindly log in to use this feature. We’ll take you to the login page automatically.
LoginGeneral Tech Bugs & Fixes 3 years ago
User submissions are the sole responsibility of contributors, with TuteeHUB disclaiming liability for accuracy, copyrights, or consequences of use; content is for informational purposes only and not professional advice.
There should be an entry in your Apache error log corresponding to each HTTP 500 error. Check /var/log/apache2/error.log (I think) to see any line at the bottom corresponding to the error.
Most of the time that should indicate what the problem is.
By the way, the steps you've taken already conflict with other a bit. You can run either a threadsafe PHP, or PHP with Apache prefork MPM, or PHP as FastCGI running under php-fpm, or PHP as a CGI. But you've installed packages to do all of that, and I'm not sure what additional configuration you've tried.
Simplest solution is just to install apache2 and php, and use the mpm_prefork MPM on Apache (which Ubuntu should use by default if you install PHP) and mod_php.
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
Kindly log in to use this feature. We’ll take you to the login page automatically.
LoginReady to take your education and career to the next level? Register today and join our growing community of learners and professionals.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
Your experience on this site will be improved by allowing cookies. Read Cookie Policy
manpreet
Best Answer
3 years ago
Ubuntu newbie here! Really love this OS so far although I am bumping into a roadblock so apologies if the resolution to my issue is straightforward and a duplicate post.
My machine previously served PHP files successfully however after installing Composer/Laravel without any error messages, now get a HTTP ERROR 500 'This page isn't working' when attempting to serve the same files.
I have made sure my installation is current:
Confirmed apache2 service is running via service apache2 status and that PHP is functioning via:
However, when attempting to serve a PHP file via the browser, such as localhost/index.php, receive HTTP 500 error.
I have unsuccessfully attempted the resolution found here, as below:
Many thanks for any help!