最近我已经配置VPS,但它不工作。VPS,Apache MySql和phpMyadmin错误
什么问题?我安装了Apache2,MySql,PHP,使用yum install,并且我从源代码安装了phpmyadmin,编译它基本上我遵循在线教程。
当我试图让SSH的phpMyAdmin的工作,我进入 '服务的httpd重新启动' 它给了我这个错误
[[email protected] ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [Fri Oct 04 13:43:08 2013] [warn] The Alias directive in /etc/httpd/conf.d/phpmyadmin.conf at line 9 will probably never match because it overlaps an earlier Alias.
[Fri Oct 04 13:43:08 2013] [warn] The Alias directive in /etc/httpd/conf.d/phpmyadmin.conf at line 10 will probably never match because it overlaps an earlier Alias.
PHP版本
PHP 5.5.4 (cli) (built: Sep 19 2013 15:01:01)
MySQL版本
mysql Ver 14.14 Distrib 5.5.34, for Linux (i686) using readline 5.1
我不知道如何修复它,当我尝试访问phpmyadmin它给我403错误
我希望有人能帮助我解决这个问题
在服务器上有安装了CentOS 5.8
感谢提前:)
编辑:
phpmyadmin.conf
#
# Web application to manage MySQL
#
#<Directory "/usr/share/phpmyadmin">
# Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
#</Directory>
Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin
这应该被移到到serverfault这不是一个编程问题 – Pitchinnate
看看文件/etc/httpd/conf.d/phpmyadmin.conf,尤其是第9和第10行。别名是否就像前8行中的别名? – aynber
我编辑后,你可以看到如何phpmyadmin.conf看起来像 –