On Wed, Jul 28, 2010 at 9:11 PM, Sharad Birmiwal
<[email protected]> wrote:
>> In most cases, phpmyadmin from distro repositories gets installed in
>> /usr/share/phpmyadmin
>> So that may be a possible reason. If that's the case, make a symbolic
>> link in your document root to /usr/share/phpmyadmin or whatever, and
>> add Options +FollowSymLinks in .htaccess or httpd.conf in the
>> directory where you have linked it.
>> I.e., if /var/www/phpmyadmin links /usr/share/phpmyadmin, you should
>> have an .htaccess at /var/www/.htaccess which says:
>> Options +FollowSymLinks
>>
>
> It is not a good idea to use a symlink in this case IF the
> installation in /usr/share/phpmyadmin is owned by root. Not only do
> you need to add followsymlinks but apache should be running as root as
> well (generally a bad idea). IMHO, if the installation is in
> /usr/share/phpmyadmin , it is wiser to copy it from there into
> /var/www .
>
> Thanks,
> Sharad
>
> --
> l...@iitd - http://tinyurl.com/ycueutm
>

How does it matter if it's owned by root? In most cases, you don't
need write access.
If you do want write access, then copying is the best solution.

-- 
Regards,
Nilesh Govindarajan
Facebook: http://www.facebook.com/nilesh.gr
Twitter: http://twitter.com/nileshgr
Website: http://www.itech7.com
VPS Hosting: http://www.itech7.com/a/vps

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to