1,apt-get update 更新源
2,apt-get install php5 会自动安装apache2和php5
3,apt-get install php-mysql 安装php的mysql驱动
4,站点的程序默认在:/var/www/
5,apache配置文件在:/etc/apache2
6,php配置文件在:/etc/php5/
Ubuntu下简单配置PHP5
最新推荐文章于 2024-04-17 01:03:10 发布
1,apt-get update 更新源
2,apt-get install php5 会自动安装apache2和php5
3,apt-get install php-mysql 安装php的mysql驱动
4,站点的程序默认在:/var/www/
5,apache配置文件在:/etc/apache2
6,php配置文件在:/etc/php5/