Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

localhost/phpinfo.php

Tags:

php

oauth

ubuntu

I have installed php oauth extension in ubuntu 110.10.

But on http://localhost/phpinfo.php in google chrome it is giving the following error:

Server error
The website encountered an error while retrieving http://localhost/phpinfo.php. It may be down for maintenance or configured incorrectly.
Here are some suggestions:
Reload this webpage later.
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.

This means i am giving link to localhost then getting this error.

And in mozilla it is giving a blank screen.

It is not providing any information about installtion in php How do i resolve this problem?

like image 432
dipanshu Avatar asked May 29 '26 11:05

dipanshu


1 Answers

It may be permission error.. Please check your folder permissions. Bcz, Most of Ubuntu (linux) users can face this type of error.

by the author of question:

sudo chmod 0777 -R /var/www/phpinfo.php
like image 185
Mr. Black Avatar answered Jun 01 '26 01:06

Mr. Black



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!