调用后sudo service httpd restart
出现以下错误:
Starting httpd: Syntax error on line 2 of /etc/httpd/conf.d/phpmyadmin.conf:
Invalid command '\xe2\x80\xb9Directory', perhaps misspelled or defined by a module not included in the server configuration
这是我的/etc/httpd/conf.d/phpmyadmin.conf:
Alias /phpmyadmin /var/www/phpmyadmin
‹Directory "/var/www/phpmyadmin"›
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
#SSLRequireSSL
‹/Directory›
有什么想法吗?我的网站现在关闭了,似乎找不到问题。
FWIW 这是在 EC2 Linux 实例上运行