<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Lamp - Tag - Mulinux | Linux &amp; DevOps Notes</title>
    <link>https://blog.mulinux.com/en/tags/lamp/</link>
    <description>Mulinux - Linux Operations &amp; DevOps blog. Notes on Linux, Kubernetes, Docker and backend engineering.</description>
    <generator>Hugo 0.160.0 &amp; FixIt v0.4.5</generator>
    <language>en</language>
    <lastBuildDate>Sat, 11 Apr 2015 14:27:47 +0800</lastBuildDate>
    <atom:link href="https://blog.mulinux.com/en/tags/lamp/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Lamp Linux&#43;apache&#43;mysql&#43;php</title>
      <link>https://blog.mulinux.com/en/lamp-linux-apache-mysql-php/</link>
      <pubDate>Sat, 11 Apr 2015 14:27:47 +0800</pubDate>
      <guid>https://blog.mulinux.com/en/lamp-linux-apache-mysql-php/</guid>
      <category domain="https://blog.mulinux.com/en/categories/operations/">Operations</category>
      <description>&lt;p&gt;系统及软件版本：linux 6.5_x64    apache2.2.31    php5.3.28    mysql5.1.73&lt;/p&gt;&#xA;&lt;p&gt;Mysql安装-请参考文档：Mysql5.1二进制免编译安装&lt;/p&gt;&#xA;&lt;h2 class=&#34;heading-element&#34; id=&#34;apache安装&#34;&gt;&lt;span&gt;Apache安装&lt;/span&gt;&#xA;  &lt;a href=&#34;#apache%e5%ae%89%e8%a3%85&#34; class=&#34;heading-mark&#34;&gt;&#xA;    &lt;svg class=&#34;octicon octicon-link&#34; viewBox=&#34;0 0 16 16&#34; version=&#34;1.1&#34; width=&#34;16&#34; height=&#34;16&#34; aria-hidden=&#34;true&#34;&gt;&lt;path d=&#34;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&#34;&gt;&lt;/path&gt;&lt;/svg&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&lt;pre&gt;&lt;code&gt;[root@lamp mysql]# cd /usr/local/src/&#xA;[root@lamp src]# wget http://mirrors.sohu.com/apache/httpd-2.2.31.tar.gz&#xA;[root@lamp src]# tar zxvf httpd-2.2.31.tar.gz&#xA;[root@lamp httpd-2.2.31]# yum install -y gcc pcre pcre-devel apr apr-devel zlib-devel&#xA;[root@lamp httpd-2.2.31]# ./configure --prefix=/usr/local/apache2 --with-included-apr --enable-so --enable-deflate=shared --enable-expires=shared --enable-rewrite=shared --with-pcre&#xA;[root@lamp httpd-2.2.31]# /usr/local/apache2/bin/apachectl start&#xA;[root@lamp httpd-2.2.31]# ps aux | grep httpd&#xA;[root@lamp httpd-2.2.31]# netstat -lnp | grep 80&#xA;[root@lamp httpd-2.2.31]# /usr/local/apache2/bin/apachectl graceful #重新加载服务&lt;/code&gt;&lt;/pre&gt;&lt;h2 class=&#34;heading-element&#34; id=&#34;安装php&#34;&gt;&lt;span&gt;安装php&lt;/span&gt;&#xA;  &lt;a href=&#34;#%e5%ae%89%e8%a3%85php&#34; class=&#34;heading-mark&#34;&gt;&#xA;    &lt;svg class=&#34;octicon octicon-link&#34; viewBox=&#34;0 0 16 16&#34; version=&#34;1.1&#34; width=&#34;16&#34; height=&#34;16&#34; aria-hidden=&#34;true&#34;&gt;&lt;path d=&#34;m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z&#34;&gt;&lt;/path&gt;&lt;/svg&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/h2&gt;&lt;p&gt;[root@lamp src]# wget &lt;a href=&#34;http://cn2.php.net/distributions/php-5.3.28.tar.gz&#34; target=&#34;_blank&#34; rel=&#34;external nofollow noopener noreferrer&#34;&gt;http://cn2.php.net/distributions/php-5.3.28.tar.gz&lt;/a&gt;&#xA;[root@lamp src]# tar zxvf php-5.3.28.tar.gz&#xA;[root@lamp php-5.3.28]# yum install -y epel-release&#xA;[root@lamp php-5.3.28]# yum install -y perl libjpeg-devel libxml2-devel openssl openssl-devel bzip2 bzip2-devel libpng libpng-devel freetype freetype-devel libmcrypt-devel&#xA;[root@lamp php-5.3.28]# ./configure   &amp;ndash;prefix=/usr/local/php   &amp;ndash;with-apxs2=/usr/local/apache2/bin/apxs   &amp;ndash;with-config-file-path=/usr/local/php/etc   &amp;ndash;with-mysql=/usr/local/mysql   &amp;ndash;with-libxml-dir   &amp;ndash;with-gd   &amp;ndash;with-jpeg-dir   &amp;ndash;with-png-dir   &amp;ndash;with-freetype-dir   &amp;ndash;with-iconv-dir   &amp;ndash;with-zlib-dir   &amp;ndash;with-bz2   &amp;ndash;with-openssl   &amp;ndash;with-mcrypt   &amp;ndash;enable-soap   &amp;ndash;enable-gd-native-ttf   &amp;ndash;enable-mbstring   &amp;ndash;enable-sockets   &amp;ndash;enable-exif   &amp;ndash;disable-ipv6&#xA;[root@lamp php-5.3.28]# make &amp;amp;&amp;amp; make install&#xA;[root@lamp php-5.3.28]# cp php.ini-production /usr/local/php/etc/php.ini&#xA;[root@lamp php-5.3.28]# ls /usr/local/apache2/modules/libphp5.so&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
