Re: isnt /var/www/html the doc root for phpMyAdmin?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 24 October 2006 18:44, Chris Mohler wrote:
> #grep -i DocumentRoot /etc/httpd/conf/httpd.conf
>
> ought to tell you your DocRoot.  Mine is /var/ww/html  - think that's
> default for FC5.
>
>
> Is php installed? (#php -v)
>
> Does the web server's user (usually apache) have permission to access
> /phpmyadmin?
>

It is most likely a permissions issue.

Try these:

chmod -R a+rX /var/www/html
chcon -R -u system_u -t httpd_sys_content_t /var/www/html

The first adds the read bit for all users on all files and folders 
in /var/www/html, which allows the apache user to read them.  It also sets 
the search bit for all users on all folders in /var/www/html, which allows 
the apache user to browse the folder hierarchy.

The second command sets the appropriate user and type SELinux contexts for all 
files and folders in /var/www/html, which assures that SELinux won't block 
httpd from reading the files.  I'm not familiar with phpmyadmin, and there 
may be other changes necessary for it to work properly with SELinux 
enforcing.

-- 
Patrick "The N-Man" Barnes
nman64@xxxxxxxxx

http://n-man.com/

LinkedIn:
http://linkedin.com/in/nman64

Have I been helpful?  Rate my assistance!
http://rate.affero.net/nman64/
-- 

Attachment: pgpUKQfXR40Z0.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux