fairycat

Updated:
Created:
Fairycat

ubuntu apahce+php+mysql 相关命令

phpmyadmin

phpmyadmin 位置 /usr/share/phpMyAdmin

apt-get install phpmyadmin

mysql

apt-get install mysql-server mysql-client

apache

apt-get install apache2
a2enmod rewrite
a2ensite xxx

修改配置 /etc/apache2/apache2.conf

ServerName 127.0.0.1 

php

apt-get install php libapache2-mod-php
apt-get install php-curl php-mbstring php-pdo-mysql

评论

Name

Email

Website

Subject