阿里雲ubuntu14.04建立用戶並安裝lamp server

建立用戶參見: http://www.ruanyifeng.com/blog/2014/03/server_setup.htmlphp

安裝lamp server:html

  1. sudo apt-get update
  2. sudo apt-get install tasksel
  3. sudo tasksel install lamp-server

解決 phpmyadmin error 「json extension is missing」:apache

go to /etc/php5/mods-available/json.ini and uncomment priority=20 (remove the semicolon) restart apache2 ( sudo service apache2 restart ) and it will be okjson

解決 Forbidden You don't have permission to access / on this server: <VirtualHost *:80> ....ui

# Set access permission
<Directory />
    Require all granted
</Directory>

....

</VirtualHost>this

安裝gd: sudo apt-get install php5-gdrest

相關文章
相關標籤/搜索