I’ve created and added a sub-domain to my website which is called mis.
The project is implemented with laravel 5.6 and php 7.2.
When I load the www.mis.example.com, it gives me:
mis.example.com is currently unable to handle this request.
HTTP ERROR 500
There is a code of .htaccess file:
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
Can you guys help me with this error?
2
Answers
Do some optimization – https://laravel.com/docs/5.6/deployment#optimization
Folow Step
1] check your php info
2] search “mbstring”
if mbstring still not installed, you can ask the provider to installed that.
if already installed and still got the error 500, better you must check your php version in phpinfo(). And clear your cache with php artisan command. when you have a permission to shell, you can try to check your php version with command “php -v” and see the default php with which php.