8/04/2014

lampp/xampp in ubuntu

Access forbidden!

You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.

Error 403

localhost
Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7
解决方式:
  1. In the linux terminal navigate to your lampp directory.
    cd /opt/lampp
    
  2. In the command line type:
    sudo chmod 777 -R htdocs
  3. sudo chmod 755 -cR phpmyadmin //ubuntu 15.04
tiny配置:
数据库名称:shop
账户:admin
密码:
管理员:admin
管理员密码:123456