#70: Kudos to #fedora - php test issue resolved
---------------------+------------------------------------------------------
Reporter: xuxa | Owner:
Type: feedback | Status: new
Priority: trivial | Milestone: Fedora 14
Version: | Severity: Neutral
Keywords: |
---------------------+------------------------------------------------------
Please fill in this template fully and provide all requested information.
Incomplete tickets may be dropped.
This feedback is:
{{{
[x] Positive
[ ] Negative
[ ] Neutral
}}}
My IRC nick is: xuxa
Please briefly describe the interaction that caused you to file this
ticket:
The support and expertise at #fedora was wonderful! After installing
httpd, php, and php-common I was unable to get a test.php file to work.
/var/www/httpd/error_log gave the following error.
[Fri Sep 09 13:24:35 2011] [error] [client 192.168.1.174] PHP Fatal error:
Unknown: Failed opening required '/var/www/html/test.php'
(include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0
Affix determined the problem was with SELinux. I had moved the test.php
from /tmp/ (where it was created) to /var/www/html/, and so had to
explicitly grant SELinux permissions to allow the file to be web-readable.
Affix showed me the following command.
chcon -Rv --type=httpd_sys_content_t /var/www/html/*
This solved the issue.
Please note other IRC nicks that are involved in this interaction:
Affix, EvilBob, DiscordianUK, JPT
Please describe what action or positive change could be adopted based on
this feedback:
EvilBob 's nick should be EvilButAwesomeBob
Any additional notes or logs:
Thank you to the #fedora folks! What a great channel!
Thanks for your feedback!
--
Ticket URL: <
https://fedorahosted.org/irc-support-sig/ticket/70>
irc-support-sig <
irc://irc.freenode.net/#fedora>
Feedback and tracking of issues for the folks who try and improve support in #fedora on
irc.freenode.net