WAMP环境搭建步骤(含phpmyadmin程序安装)

论坛 期权论坛     
选择匿名的用户   2021-5-28 02:18   0   0
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <strong>操作系统版本:</strong>Windows 7 64位</p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <strong>Apache:</strong>apache_2.4.4-x64-openssl-1.0.1e.msi</p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <strong>php:</strong>php-5.6.10-Win32-VC11-x64.zip</p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <strong>MySQL:</strong>mysql-5.6.25-winx64.zip</p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <strong>编译器:</strong>vcredist_x64.exe</p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <strong>建议安装在同一个目录下,不要使用中文文件夹。</strong></p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <strong>&lt;1&gt;第一步首先安装Apache服务器</strong></p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <strong>&lt;2&gt;安装vcredist_x64.exe</strong></p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <strong>  </strong>此步骤非常重要,直接关系到apache和php的链接。</p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)">   当apache和php链接时,需在httpd.conf文件中添加配置语句:</p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <span style="background-color:rgb(255,255,0)">  #让apache载入php处理模块</span></p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <span style="background-color:rgb(255,255,0)">  LoadModule php5_module D:/MyEnviron/php-5.6.10/php5apache2_4.dll</span></p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <span style="background-color:rgb(255,255,0)">  #phpinidir 这个用于指定php的ini文件,该文件是对php的一些配置</span></p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <span style="background-color:rgb(255,255,0)">  PHPIniDir &#34;D:/MyEnviron/php-5.6.10&#34;</span></p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <span style="background-color:rgb(255,255,0)">  #这个配置表示,当有一个资源是*.php时由php来处理。</span></p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <span style="background-color:rgb(255,255,0)">  AddType application/x-httpd-php .php .phtml</span></p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <span style="background-color:rgb(255,255,255)">  <span style="color:rgb(255,0,0)">如果未安装vcredist_x64.exe,则重启服务器时会失败。</span></span></p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <strong>&lt;3&gt;下载php核心包(用于支持php开发)</strong></p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)">   VC6就是legacy Visual Studio 6 compiler,就是使用这个编译器编译的;</p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)">   VC9就是Visual Studio 2008 compiler,就是用微软的VS编译器编译的。</p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)">   那么Non Thread Safe是什么?</p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)">   Thread Safe是线程安全的;</p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)">       Non Thread Safe是线程不安全的;</p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)">   官方不建议将Non Thread Safe应用于生产环境,所以我们选择Thread Safe版本的PHP。</p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)">   <span style="color:rgb(255,0,0)">此时在官网下载的是:VC11 x64 Thread Safe版本。</span></p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <strong>&lt;4&gt;PHP和核心包的安装就是解压即可</strong></p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)"> <strong>&lt;5&gt;如何将apache和PHP整合在一起</strong></p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)">   也就是说,怎样才能让apache处理php</p>
<p style="margin:10px auto; color:rgb(73,73,73); font-size:14px; background-color:rgb(199,203,189)">   <span style="color:rgb(255,0,0)">※ 在apac
分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP