Ubuntu搭建LAMP环境的详细步骤

2025-07-07 01:39:26

1、安装Apache2,apt-get update更新源之后,切换到管理员root

Ubuntu搭建LAMP环境的详细步骤

2、安装PHP模块,apt-get install php5 -y 如下图:

Ubuntu搭建LAMP环境的详细步骤Ubuntu搭建LAMP环境的详细步骤

4、安装 其他模块 libapache2-mod-php5、libapache2-mod-auth-myql、 php5-mysql、 php5-gd 如下图:

Ubuntu搭建LAMP环境的详细步骤Ubuntu搭建LAMP环境的详细步骤

7、安装phpmyadmin,sudo apt-get install phpmyadmin安装过程中选择apache2,点击确定。下一步选择是要配置数据库,并输入密码。

Ubuntu搭建LAMP环境的详细步骤Ubuntu搭建LAMP环境的详细步骤Ubuntu搭建LAMP环境的详细步骤Ubuntu搭建LAMP环境的详细步骤
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢