phpMyAdmin - apache configuration issue

william drescher william at TechServSys.com
Tue Jan 26 11:38:16 UTC 2016


On 1/25/2016 10:16 AM, Brandon Tomlinson wrote:
...
>
>
> Only after the phpmyadmin package is installed. So if there is something that wipes out your links and re-initializes them, the phpmyadmin link would only reappear if it it installed again.
>
> So to amend my previous statement:
>
> Do 'ln -sf ../../phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf’
> Then a2enmod phpmyadmin.

Thanks Brandon and Karl

after copying and linking here is what I have:

william at ubuntu-backup:/etc/apache2$ ls -l conf-available
total 28
-rw-r--r-- 1 root root  315 Jan  3  2014 charset.conf
-rw-r--r-- 1 root root  127 Aug 11  2013 javascript-common.conf
-rw-r--r-- 1 root root 3224 Jan  3  2014 localized-error-pages.conf
-rw-r--r-- 1 root root  189 Jan  3  2014 other-vhosts-access-log.conf
-rw-r--r-- 1 root root 1108 Jan 26 06:21 phpmyadmin.conf
-rw-r--r-- 1 root root 2190 Jan  3  2014 security.conf
-rw-r--r-- 1 root root  455 Jan  7  2014 serve-cgi-bin.conf

william at ubuntu-backup:/etc/apache2$ ls -l conf-enabled
total 0
lrwxrwxrwx 1 root root 30 Oct  1 03:13 charset.conf -> 
../conf-available/charset.conf
lrwxrwxrwx 1 root root 40 Jan 17 15:05 javascript-common.conf -> 
../conf-available/javascript-common.conf
lrwxrwxrwx 1 root root 44 Oct  1 03:13 localized-error-pages.conf 
-> ../conf-available/localized-error-pages.conf
lrwxrwxrwx 1 root root 46 Oct  1 03:13 
other-vhosts-access-log.conf -> 
../conf-available/other-vhosts-access-log.conf
lrwxrwxrwx 1 root root 43 Jan 26 06:32 phpmyadmin.conf -> 
/etc/apache2/conf-available/phpmyadmin.conf
lrwxrwxrwx 1 root root 31 Oct  1 03:13 security.conf -> 
../conf-available/security.conf
lrwxrwxrwx 1 root root 36 Oct  1 03:13 serve-cgi-bin.conf -> 
../conf-available/serve-cgi-bin.conf

but

william at ubuntu-backup:/etc/apache2$ sudo a2enmod phpmyadmin
ERROR: Module phpmyadmin does not exist!

bill







More information about the ubuntu-users mailing list