修改/opt/lampp/etc/httpd.conf

#Options Indexes FollowSymLinks ExecCGI Includes
Options FollowSymLinks ExecCGI Includes

/opt/lampp/lampp restart
搞定!