PHP Warning require once var www html wp-config php failed to open stream Permission denied in var www html wp-load php on line 37

0 votes

I tried creating  a WordPress app server on apache and I am getting an error 500 while going to the URL. So I  checked httpd/logs/error_log and this error was displayed:

[Sun Jan 15 22:42:54.440349 2017] [:error] [pid 767] [client 10.203.116.148:9173] PHP Warning: require_once(/var/www/html/wp-config.php): failed to open stream: Permission denied in /var/www/html/wp-load.php on line 37 [Sun Jan 15 22:42:54.440406 2017] [:error] [pid 767] [client 10.203.116.148:9173] PHP Fatal error: require_once(): Failed opening required '/var/www/html/wp-config.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/wp-load.php on line 37

Then I tried changing the file permissions for Wp-config.php but it didn't work.  How can I do this?

Jun 16 in PHP by narikkadan
• 10,840 points
34 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In PHP

0 votes
0 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Error:PHP Warning: POST Content-Length of 8978294 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

Hello @kartik, 8388608 bytes is 8M, the default ...READ MORE

answered Sep 17, 2020 in PHP by Niroj
• 82,720 points
12,573 views
0 votes
0 answers

SEO friendly url using php

I wanted to use php to make ...READ MORE

Feb 18 in Others by Kichu
• 19,040 points
32 views
0 votes
0 answers

How to open php files through localhost?

I am creating a student management program ...READ MORE

Jun 10 in PHP by narikkadan
• 10,840 points
5 views
0 votes
0 answers

ErrorDocument 404 /404.php is not working in .htaccess file in PHP

This is the Content of my .htaccess file is: ErrorDocument ...READ MORE

Jun 21 in PHP by narikkadan
• 10,840 points
29 views
0 votes
2 answers

Define a SQL query? What is the difference between SELECT and UPDATE Query? How do you use SQL in SAS?

HI.. SQL is Structured Query Language, which is ...READ MORE

answered Aug 8, 2020 in PHP by anonymous
4,469 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP