Re: if you install cgi programs from rpm, how to configure for actual use in /var/www/html ?

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



On 5 January 2011 16:42, Paul Johnson <pauljohn32@xxxxxxxxx> wrote:
> In Centos 5.5, I've had this same experience over and over.  I have no
> trouble installing CGI programs the old fashioned way (untar into
> /var/www/html and configure), but don't like un-rpm managed files
> floating about.  So I can install, for example, phpMyAdmin, from EPEL.
>
> That phpMyAdmin RPM drops files into a bunch of locations, the php
> files are under /usr/share/phpMysql
>
> and then there are also:
>
> /etc/httpd/conf.d/phpMyAdmin.conf
> /etc/phpMyAdmin
> /etc/phpMyAdmin/config.inc.php
>
> and this:
>
> /var/lib/phpMyAdmin
> /var/lib/phpMyAdmin/config
> /var/lib/phpMyAdmin/save
> /var/lib/phpMyAdmin/upload
>
> In order to make this actually work on the web server, I copy the
> directory /usr/share/phpMyAdmin into /var/www/html and then I edit the
> /etc/httpd/conf.d/phpMyAdmin.conf.  Then it works.

I don't think that step is necessary. The contents of
/etc/httpd/conf.d/phpMyAdmin.conf (specifically the two Alias lines)
should ensure that the software works fine without moving it.

I don't have a Centos box that I can test on right now, but I've just
installed phpMyAdmin on this Fedora 14 box for the first time (using
yum) and it all just works. All I did was to restart the server.

If it's not working for you, then are you sure that your Apache is
configured to use the files in /etc/httpd/conf.d? If the config file
is being loaded successfully, then I can't see why it wouldn't work.

Dave...

-- 
Dave Cross :: dave@xxxxxxxxxxx
http://dave.org.uk/
@davorg
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux