南十八子 發表於 2023-11-2 00:00:00

CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤

<p><strong>一、简介</strong></p><p><strong>什么是lamp</strong><br/>
        lamp是一种web网络应用和开发环境,是linux, apache, mysql, php/perl的缩写,每一个字母代表了一个组件,每个组件就其本身而言都是在它所代表的方面功能非常强大的组件。<br/>
        lamp这个词的由来最早始于德国杂志“c&#39;t magazine”,michael kunze在1990年最先把这些项目组合在一起创造了lamp的缩写字。这些组件并不是开始就设计为一起使用的,但是,这些软件都是开源的,可以很方便的随时获得并免费使用,这就导致了这些组件经常在一起使用。这些组件的兼容性也在不断完善,为了改善不同组件之间的协作,已经创建了某些扩展功能,在一起的应用情形变得非常普便,因而成为目前最流行的web应用基础架构。</p><p><strong>lamp的组件</strong><br/>
        平台由四个组件组成,呈分层结构,每一层都提供了整个架构的一个关键部分:<br/><strong>linux</strong><strong>:</strong>linux 处在最底层,提供操作系统。它的灵活性和可定制化的特点意味着它能够产生一种高度定制的平台,让其它组件在上面运行。其它组件运行于linux 之上,但是并不一定局限于 linux,也可以在 microsoft windows, mac os x 或 unix上运行。<br/><strong>apache</strong><strong>:</strong>apache位于第二层,它是一个web 服务平台,提供可让用户获得 web 页面的机制。apache 是一款功能强大、稳定、可支撑关键任务的web服务器,internet 上超过 50% 的网站都使用它作为 web 服务器。<br/><strong>mysql</strong><strong>:</strong>mysql 是最流行的开源关系数据库管理系统,是lamp的数据存储端。在 web 应用程序中,所有帐户信息、产品信息、客户信息、业务数据和其他类型的信息都存储于数据库中,通过 sql 语言可以很容易地查询这些信息。<br/><strong>php/perl</strong><strong>:</strong>perl是一种灵活的语言,特别是在处理文本要素的时候,这种灵活性使perl很容易处理通过cgi接口提供的数据,灵活地运用文本文件和简单数据库支持动态要素。php 是一种被广泛应用的开放源代码的多用途脚本语言,它可嵌入到 html中,尤其适合 web 开发。可以使用 php 编写能访问 mysql 数据库中的数据和 linux 提供的一些特性的动态内容。</p><p><strong>二、系统环境</strong></p><p>
        系统平台:centos release 5.8 (final)</p><p>
        apache版本:httpd-2.2.9.tar.gz</p><p>
        mysql 版本:mysql-5.0.41.tar.gz</p><p>
        php版本:php-5.2.6.tar.gz</p><p><strong>三、安装前准备</strong></p><p><strong>1、<strong>库文件准备</strong></strong></p><p>
        在安装php之前,应先安装php5需要的最新版本库文件,例如libxml2、libmcrypt以及gd2库等文件。安装gd2库是为了让php5支 持gif、png和jpeg图片格式,所以在安装gd2库之前还要先安装最新的zlib、libpng、freetype和jpegsrc等库文件。而且中间还会穿插安装一些软件,读者可以按照本节提供的顺序安装。</p><p>
        autoconf-2.61.tar.gz</p><p>
        freetype-2.3.5.tar.gz</p><p>
        gd-2.0.35.tar.gz</p><p>
        jpegsrc.v6b.tar.gz</p><p>
        libmcrypt-2.5.8.tar.gz</p><p>
        libpng-1.2.31.tar.gz</p><p>
        libxml2-2.6.30.tar.gz</p><p>
        zlib-1.2.3.tar.gz</p><p>
        zendoptimizer-3.2.6-linux-glibc21-i386.tar.gz</p><p>
        phpmyadmin-3.0.0-rc1-all-languages.tar.gz</p><p><strong>2、安装gcc、gcc-c++编译器</strong></p><p>
        用gcc -v 命令检查安装时使用的编译工作是否存在</p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/71c1fb67c7ce3499749560d9be2c656f.jpg"/></p><p>
        如系统未安装,在系统联网的情况下使用yum install gcc和yum install gcc-c++安装</p><p><strong>3、卸载默认的低版本环境</strong></p><p>
        目前发行的linux操作系统版本中,如果选择默认全部安装,就已经安装了lamp环境,但是版本相对都比较低。我们可以再安装一个lamp环境和原来的并存,但是这样做没有必要,因为同时只能开启一个lamp环境。所要我们要在安装之前,先应检查一下系统中是否已经安装了低版本的环境,如果已经安装过了,停止原来的服务运行,或者把原来的环境卸载掉。</p><p><strong>a. 卸载apache</strong></p><p>
        # rpm -qa | grep httpd</p><p>
        说明:检查是否安装了httpd软件包</p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/4eddfb822b92b47475cd4f5babadf2d9.jpg"/></p><p>
        # rpm -e httpd-2.2.3-63.el5.centos --nodeps</p><p>
        说明:卸载软件包, --nodeps 如果有连带关系,也强制卸载</p><p>
        # cd /etc/httpd/</p><p>
        # rm -rf *</p><p>
        说明:到原来的apache安装目录下,将其所有的安装目录和文件都删掉</p><p><strong>b. 卸载mysql</strong></p><p>
        # rpm -qa | grep mysql</p><p>
        # rpm -e mysql-5.0.77-4.el5_4.2 --nodeps</p><p>
        说明:卸载mysql</p><p><strong>c. 卸载php</strong></p><p>
        # rpm -qa | grep php</p><p>
        # rpm -e php-common-5.1.6-27.el5 --nodeps</p><p>
        # rpm -e php-ldap-5.1.6-27.el5 --nodeps</p><p>
        # rpm -e php-cli-5.1.6-27.el5 --nodeps</p><p>
        # rpm -e php-5.1.6-27.el5 --nodeps</p><p>
        说明:卸载php</p><p><strong>4、关闭selinux,清空防火墙规则</strong></p><p><strong>5、使用ssh shell将windows下的13个源码包上传到/usr/local/src</strong></p><p><strong>6、解包</strong></p><p>
        编写一个shell脚本tar.sh进行解包。</p><p>
        #!/bin/sh cd /usr/local/srcls *.tar.gz &gt; ls.list for tar in `cat ls.list` dotar -zxvf $tardone</p><p>
        执行脚本tar.sh进行解包</p><p><strong>7、将源码包*.tar.gz全都删除</strong></p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/aa08596c85f1e8bd94615778c76cafa0.jpg"/></p><p><strong>四、安装lamp</strong></p><p><strong>1、安装libxml2</strong></p><p>
        # cd /usr/local/src/libxml2-2.6.30<br/>
        # ./configure --prefix=/usr/local/libxml2<br/>
        # make &amp;&amp; make install</p><p><strong>2、安装libmcrypt</strong></p><p>
        # cd /usr/local/src/libmcrypt-2.5.8<br/>
        # ./configure --prefix=/usr/local/libmcrypt<br/>
        # make &amp;&amp; make install</p><p><strong>3、安装zlib</strong></p><p>
        # cd /usr/local/src/zlib-1.2.3<br/>
        # ./configure<br/>
        # make &amp;&amp; make install</p><p><strong>4、安装libpng</strong></p><p>
        # cd /usr/local/src/libpng-1.2.31<br/>
        # ./configure --prefix=/usr/local/libpng<br/>
        # make &amp;&amp; make install</p><p><strong>5、安装jpeg6</strong></p><p>
        这个软件包安装有些特殊,其它软件包安装时如果目录不存在,会自动创建,但这个软件包安装时需要手动创建。</p><p>
        # mkdir /usr/local/jpeg6<br/>
        # mkdir /usr/local/jpeg6/bin<br/>
        # mkdir /usr/local/jpeg6/lib<br/>
        # mkdir /usr/local/jpeg6/include<br/>
        # mkdir -p /usr/local/jpeg6/man/man1<br/><br/>
        # cd /usr/local/src/jpeg-6b<br/>
        # ./configure --prefix=/usr/local/jpeg6/ --enable-shared --enable-static<br/>
        # make &amp;&amp; make install</p><p><strong>6、安装freetype</strong></p><p>
        # cd /usr/local/src/freetype-2.3.5<br/>
        # ./configure --prefix=/usr/local/freetype<br/>
        # make<br/>
        # make install</p><p><strong>7、安装autoconf</strong></p><p>
        # cd /usr/local/src/autoconf-2.61<br/>
        # ./configure<br/>
        # make &amp;&amp; make install</p><p><strong>8、安装gd库</strong></p><p>
        # cd /usr/local/src/gd-2.0.35<br/>
        # ./configure \<br/>
        --prefix=/usr/local/gd2/ \<br/>
        --enable-m4_pattern_allow \<br/>
        --with-zlib=/usr/local/zlib/ \<br/>
        --with-jpeg=/usr/local/jpeg6/ \<br/>
        --with-png=/usr/local/libpng/ \<br/>
        --with-freetype=/usr/local/freetype/</p><p>
        # make</p><p><strong>出现错误:</strong></p><p>
        make: *** error 1<br/>
        make: leaving directory `/usr/local/src/gd-2.0.35&#39;<br/>
        make: *** error 1<br/>
        make: leaving directory `/usr/local/src/gd-2.0.35&#39;<br/>
        make: *** error 2</p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/55d5342425f58dd01874395ab636c9d9.jpg"/></p><p><strong>分析:</strong>这个问题是因为gd库中的gd_png.c这个源文件中包含png.h时,png.h没有找到导致的。</p><p><strong>解决:</strong></p><p>
        在编译文件里</p><p>
        # vi gd_png.c</p><p>
        将include “png.h” 改成 include “/usr/local/libpng/include/png.h”</p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/087d430445407af0b0db2256af7e4a2e.jpg"/></p><p>
        其中/usr/local/libpng/为libpng安装路径。</p><p>
        # make install</p><p><strong>9、安装apache</strong></p><p>
        # cd /usr/local/src/httpd-2.2.9<br/>
        # ./configure \<br/>
        --prefix=/usr/local/apache2 \<br/>
        --sysconfdir=/etc/httpd \<br/>
        --with-z=/usr/local/zlib \<br/>
        --with-included-apr \<br/>
        --enable-so \<br/>
        --enable-deflate=shared \<br/>
        --enable-expires=shared \<br/>
        --enable-rewrite=shared \<br/>
        --enable-static-support<br/>
        # make &amp;&amp; make install</p><p><strong>10、配置apache</strong></p><p>
        启动apache<br/>
        # /usr/local/apache2/bin/apachectl start</p><p>
        关闭apache<br/>
        # /usr/local/apache2/bin/apachectl stop</p><p>
        查看80端口是否开启<br/>
        # netstat -tnl|grep 80</p><p>
        访问apache服务器</p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/b6fc4608172f4d1e96eafa55f8c25268.jpg"/></p><p>
        添加自启动<br/>
        # echo &quot;/usr/local/apache2/bin/apachectl start&quot; &gt;&gt; /etc/rc.d/rc.local</p><p><strong>11、安装mysql</strong></p><p>
        添加一个mysql标准组<br/>
        # groupadd mysql</p><p>
        添加mysql用户并加到mysql组中<br/>
        # useradd -g mysql mysql</p><p>
        # cd /usr/local/src/mysql-5.0.41<br/>
        # ./configure \<br/>
        --prefix=/usr/local/mysql/ \<br/>
        --with-extra-charsets=all</p><p><strong>出现错误:</strong></p><p>
        checking for tgetent in -lncurses... no<br/>
        checking for tgetent in -lcurses... no<br/>
        checking for tgetent in -ltermcap... no<br/>
        checking for tgetent in -ltinfo... no<br/>
        checking for termcap functions library... configure: error: no curses/termcap library found</p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/a4c8b3a9eae5cf9f9bf8ec22ce6d5649.jpg"/></p><p><strong>分析:</strong>缺少ncurses安装包</p><p><strong>解决:</strong></p><p>
        # yum install ncurses-devel</p><p>
        # make &amp;&amp; make install</p><p><strong>12、配置mysql</strong></p><p>
        创建mysql数据库服务器的配置文件<br/>
        # cp support-files/my-medium.cnf /etc/my.cnf</p><p>
        用mysql用户创建授权表,创建成功后,会在/usr/local/mysql目录下生成一个var目录<br/>
        # /usr/local/mysql/bin/mysql_install_db --user=mysql</p><p>
        将文件的所有属性改为root用户<br/>
        # chown -r root /usr/local/mysql</p><p>
        将数据目录的所有属性改为mysql用户<br/>
        # chown -r mysql /usr/local/mysql/var</p><p>
        将组属性改为mysql组<br/>
        # chgrp -r mysql /usr/local/mysql</p><p>
        启动数据库<br/>
        # /usr/local/mysql/bin/mysqld_safe --user=mysql &amp;</p><p>
        查看3306端口是否开启<br/>
        # netstat -tnl|grep 3306</p><p>
        简单的测试<br/>
        # /usr/local/mysql/bin/mysqladmin version</p><p>
        查看所有mysql参数<br/>
        # /usr/local/mysql/bin/mysqladmin variables</p><p>
        设置mysql开机自启动<br/>
        # cp /usr/local/src/mysql-5.0.41/support-files/mysql.server /etc/rc.d/init.d/mysqld<br/>
        # chown root.root /etc/rc.d/init.d/mysqld<br/>
        # chmod 755 /etc/rc.d/init.d/mysqld<br/>
        # chkconfig --add mysqld<br/>
        # chkconfig --list mysqld<br/>
        # chkconfig --levels 245 mysqld off</p><p><strong>13、mysql安全性设置</strong></p><p>
        没有密码可以直接登录本机服务器<br/>
        # /usr/local/mysql/bin/mysql -u root</p><p>
        查看mysql用户权限信息<br/>
        mysql&gt; select * from mysql.user;<br/><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/8422ed898ecaf0cf2f8c3c6ea5c8a9ec.jpg"/></p><p>
        删除非localhost的主机<br/>
        mysql&gt; delete from mysql.user where host=&#39;localhost&#39; and user=&#39;&#39;;<br/><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/5ae02f9276ac7e67bc22183d7c8e6ce3.jpg"/></p><p>
        刷新授权表<br/>
        mysql&gt; flush privileges;<br/><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/56b8747d741428735d6fd787699b8bd0.jpg"/></p><p>
        为root用户添加密码<br/>
        mysql&gt; set password for &#39;root&#39;@&#39;localhost&#39; = password(&#39;abc123&#39;);<br/><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/39df0aedbb75c30f0ccde161459eac62.jpg"/></p><p>
        再次进入mysql客户端<br/>
        # /usr/local/mysql/bin/mysql -u root -h localhost -p<br/><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/7e01f39922d786ecaccf81899046e70d.jpg"/></p><p>
        关闭mysql数据库<br/>
        # /usr/local/mysql/bin/mysqladmin -u root -p shutdown<br/><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/b64ec9a9cccb6acd1cfeb943e7c5c07f.jpg"/></p><p><strong>14、安装php</strong></p><p>
        # cd /usr/local/src/php-5.2.6<br/>
        # ./configure \<br/>
        --prefix=/usr/local/php \<br/>
        --with-config-file-path=/usr/local/php/etc \<br/>
        --with-apxs2=/usr/local/apache2/bin/apxs \<br/>
        --with-mysql=/usr/local/mysql/ \<br/>
        --with-libxml-dir=/usr/local/libxml2/ \<br/>
        --with-png-dir=/usr/local/libpng/ \<br/>
        --with-jpeg-dir=/usr/local/jpeg6/ \<br/>
        --with-freetype-dir=/usr/local/freetype/ \<br/>
        --with-gd=/usr/local/gd2/ \<br/>
        --with-zlib-dir=/usr/local/zlib/ \<br/>
        --with-mcrypt=/usr/local/libmcrypt/ \<br/>
        --with-mysqli=/usr/local/mysql/bin/mysql_config \<br/>
        --enable-soap \<br/>
        --enable-mbstring=all \<br/>
        --enable-sockets<br/>
        # make &amp;&amp; make install</p><p><strong>15、配置php</strong></p><p>
        创建配置文件<br/>
        # cp php.ini-dist /usr/local/php/etc/php.ini</p><p>
        使用vi编辑apache配置文件<br/>
        # vi /etc/httpd/httpd.conf</p><p>
        添加这一条代码<br/>
        addtype application/x-httpd-php .php .phtml<br/><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/c1b2bb3484b11cbcf95ea28f2457f0ee.jpg"/></p><p>
        重启apache<br/>
        # /usr/local/apache2/bin/apachectl restart</p><p>
        以上安装步骤可以写成一个shell script,详细参考</p><p><strong>16、安装zend加速器</strong></p><p>
        # cd /usr/local/src/zendoptimizer-3.2.6-linux-glibc21-i386/<br/>
        # ./install.sh</p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/5dac6c4578d0c6c3fba0922f48995a6e.jpg"/></p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/826f16c0ca76b869d1cd0327b911f3dd.jpg"/></p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/22fef322bfdd2cfd3fc1e8ce069ea90c.jpg"/></p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/4a054321505aec39341be5e9e4930c45.jpg"/></p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/e1174f9b9bfc20399d1008bf318d4342.jpg"/></p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/66020e32ba47aeba2529f9ab20fe5802.jpg"/></p><p><strong>17、安装phpmyadmin</strong></p><p>
        拷贝目录到指定位置并改名为phpmyadmin</p><p>
        # cp -a phpmyadmin-3.0.0-rc1-all-languages /usr/local/apache2/htdocs/phpmyadmin</p><p>
        # cd /usr/local/apache2/htdocs/phpmyadmin/</p><p>
        # cp config.sample.inc.php config.inc.php</p><p><strong>18、配置phpmyadmin</strong></p><p>
        # vi /usr/local/apache2/htdocs/phpmyadmin/config.inc.php</p><p>
        将auth_type 改为http</p><p>
        $cfg[&#39;servers&#39;][$i][&#39;auth_type&#39;] = &#39;http&#39;;</p><p><strong>五、测试</strong></p><p><strong>1、编写info.php文件,查看php配置详细</strong></p><p>
        # vi /usr/local/apache2/htdocs/info.php</p><p><!--?phpphpinfo();?--><!--?phpphpinfo();?--></p><p>
        通过浏览器访问http://10.0.0.154/info.php,获得php的详细配置信息</p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/9bcb2ef6396eb475ff531e6e4bd04adc.jpg"/></p><p><strong>2、zend加速器信息</strong></p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" src="https://zhuji.jb51.net/uploads/img/202305/2ba5f6c24d5ba5b4d93f8b2e4a2d1495.jpg"/></p><p><strong>3、访问phpmyadmin</strong></p><p><img style="max-width:100%!important;height:auto!important;" title="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" alt="CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤" height="361" src="https://zhuji.jb51.net/uploads/img/202305/5f1ddb73f47128bb782ce73987a95837.jpg" width="900"/></p><p>
        至此lamp环境配置完毕。</p><p>&nbsp; &nbsp;</p>
頁: [1]
查看完整版本: CentOS 6.3下源码安装LAMP(Linux+Apache+Mysql+Php)运行环境步骤