phpmyadmin configuration IIS60+PHP5x+MySQL5x+Zend30x+GD+phpMyAdmin28x general installation instance has been completed

WBOY
Release: 2016-07-29 08:35:27
Original
954 people have browsed it

录制+调整花了几个小进才把IIS6.0+PHP5.x+MySQL5.x+Zend3.0x+GD+phpMyAdmin2.8x通用安装实例弄好
有需要的朋友可以下载看看
/uploadfiles/file/iis.rar
说明:
IIS6.0+PHP5.x+MySQL5.x+Zend5.0x+GD+phpMyAdmin2.8x通用安装实例
建议看附件中的视屏文件,比较直观
为了教程视屏不过于太大,在做视屏教程之前就已经写好步骤,就不用在录制过程中录入文字了
一、下载所需软件
建议软件全部去官方网站下载,防止软件包被人附加或修改文件
1.PHP
使用PHP5.x版本:
http://cn.php.net/get/php-5.1.2-Win32.zip/from/a/mirror
下载所需的版本只要网址中的■php-5.1.2■-Win32.zip
例如要下载php5.1.4 只要将网址改成:
http://cn.php.net/get/php-5.1.4-Win32.zip/from/a/mirror
要下载php5.1.6 只要将网址改成:
http://cn.php.net/get/php-5.1.6-Win32.zip/from/a/mirror
更早的版本也可以使用同样的方法下载到,不用去其它网站下载软件
2.MySQL
实例使用的均是MySQL5.x以上
下载地址:
http://downloads.mysql.com/archives.php
3.Zend Optimizer
Zend Optimizer(3.0.1):
http://www.zend.com/store/free_download.php?pid=13
Zend软件虽然免费下载,但需要注册用户登陆后选择Windows x86的Platform版本
人家毕竟提供这么强大功能的软件,注册一个算是支持软件发展
4.phpMyAdmin
选择当前最新版本,官方网站
http://www.phpmyadmin.net/home_page/index.php
5.GD库
PHP压缩包内包含GD库文件
配置php.ini的时候要将前面的;去掉,即:启用
以上是说明文字,及软件下载地址,有必要看一下
二、安装IIS (即 Internet 信息管理器)
若你的服务器已经安装IIS,些步骤可以省去,若没安装IIS,可以参阅此教程进行相应配置
http://bbs.netdoc.com.cn/viewthread.php?tid=18
三、安装并配置PHP运行环境
1.解压php-5.1.x-Win32.zip 压缩包( X 是PHP的版本号)到所需目录,本实例使用PHP版本为:php-5.1.6
例如
c:\php
d:\php
也可以使用不规则的目录名,如:
c:\abcdefe
d:\abcdefe
不过尽量"不要作用"特殊字符,本实例使用的是d:\php
2.编辑
将目录下的php.ini-dist文件改名为php.ini
用文本编辑软件打开php.ini并作相应修改
使用查找功能
■搜索
register_globals = Off
off 改成 on
■搜索
extension_dir =
改成
extension_dir ="d:\php\ext" (这里的 "d:\php\ext" 目录是PHP安装目录下 ext  若你PHP安装 在c:\php 下,那么这里就要写成 extension_dir ="c:\php\ext")
■搜索
;upload_tmp_dir =
改成
upload_tmp_dir =d:\php\upload_tmp (这里的 upload_tmp 目录是自己建立,默认没有这个文 件夹,尽量"不要作用"特殊字符)
■搜索
Windows Extensions
将一些常用功能前面 的   ; 去掉,即启用相应的模块功能
这里我启用相应的模块
extension=php_mbstring.dll
extension=php_curl.dll
extension=php_dbase.dll
extension=php_gd2.dll
extension=php_ldap.dll
extension=php_mysql.dll
后面会有模块的详细功能说明
■搜索
;session.save_path = "/tmp"
改成
session.save_path = "d:\php\tmp" (这里的 tmp 目录是自己建立,默认没有这个文 件夹,尽量"不要作用"特殊字符)
3.复制
■复制 php.ini 到 %windir% 
(%windir%指的是Windows的安装目录,若你的系统安装在c盘并且是Server 2003 系统,那么%windir% 指的是c:\windows,若系统安装在d盘并且系统是Windws server2000 那么%windir%指的是:c:\winnt,实例使用的操作系统是Server 2003 并且装在c盘,所以要将php.ini 复制到c:\windows)
■复制php安装目录下所有的dll 文件(指根目录文件,"不包含" ext 文件夹下的dll文件)到 %windir%\system32   (说明同上,实例使用的是c:\windows\system32)
■■■以上的复制步骤可以使用批处理文件来执行,使用方便、快捷
copy php.ini %windir% /y 
copy *.dll %windir%\system32 /y
md tmp /y
md upload_tmp /y
将上面的命令复制到记事本中保存,并将文件名改成copy.bat  双击即可自动执行复制步骤
好像没有自动建立目录,再试一下看看,呵呵,昏,非要单独执行,算了,大家还是手动建立那两个目录吧,我是找简单的方法才使用那种方法的
Explanation:
copy php.ini %windir% /y Copy php.ini to c:windows /y means if the file exists, the original file will be overwritten
copy *.dll %windir%system32 /y Copy all extensions under d:php For dll files to c:windowssystem32 /y means if the file exists, overwrite the original file
md tmp /y Create a folder tmp /y means if the file exists, overwrite the original directory
md upload_tmp /y Create a folder upload_tmp /y means If the file exists, overwrite the original directory
3. Configure
Configure IIS to support PHP:
■Expand the IIS directory tree
Right-click "Website"--Select "Properties"---Select "Home Directory"---Select "Configuration"---Select the "Application Mapping" option----"Add" button to add an extension mapping, click "Browse" in the pop-up window to point the executable file to the location of php5isapi.dll, this article The example is: D:phpphp5isapi.dll
The extension is .php, the actions are limited to "GET, HEAD, POST, TRACE", select "Script Engine" and "Confirm whether the file exists"
See the operation
■Right-click "WEB Server Extension" "Set ISAPI extension allowed
There is also an ISAPI extension to be added here. I forgot it when I wrote the steps before. Sorry
After the above operation is completed, IIS needs to be restarted before the PHP running environment can take effect. After the restart is completed, test whether PHP can run normally.
Create a text file and save it as check.php
Content:
phpinfo();
?>
If the running information can be displayed normally, the PHP running environment has been configured
4. Install Zend 2.6x Or version 2.6x or above
The example uses ZendOptimizer-3.0.1 (after downloading, you will get: ZendOptimizer-3.0.1-Windows-i386.exe file, double-click to install)
Please see the installation steps, here my installation path is d:phpzend
(I like to install similar or similar software into the same directory. For example, I like to install zend into the directory of php (d:phpzend). I don’t know if there is anything wrong with it for the time being. Depending on personal preference or security, I can also Can be installed to other directories)
Zend will automatically configure php.ini to enable the zend module during the installation process. After installation, you can see that the php.ini file will finally write:
[Zend]
zend_extension_manager.optimizer_ts="D:phpZendlibOptimizer- 3.0.1"
zend_extensi
I like to install similar software or similar similar software into the same directory, which is easier to manage. This is based on personal preference or security.
5. Install the GD library
Remove php.ini; extension=php_gd2.dll The previous ; will do. In fact, the previous ; has been removed before, so you don’t need to do the same operation here. Sixth, install MYSQL. The installation is relatively simple, please watch the video operation. During the process, you will be asked to enter MYSQL. The root user password, here I set the password to: 123456
Seven. Install phpMyAdmin:
This example uses phpMyAdmin-2.8.1
The places to be modified are:
$cfg['PmaAbsoluteUri'] = 'http://localhost/ phpmyadmin'; phpmyadmin's WEB access URL
$cfg['blowfish_secret'] = 'fsdfDF433%$^$%'; COOKIES encryption key, write whatever you want, the more complex the better
$cfg['Servers'][$i] ['auth_type'] = 'cookie'; Authentication method (config, http, cookie) Choose cookie here, which is safer
$cfg['Servers'][$i]['user'] = '; MySQL user
$ cfg['Servers'][$i]['password'] = ''; MySQL password
Use the search function and modify it as needed
This example has been completed, your server already supports PHP+MySQL+Zend+GD+phpMyAdmin The running environment is ready, thank you for your appreciation!!!
This example can be reproduced freely, please indicate the source:
Netdoc Online, answer all questions http://bbs.netdoc.com.cn
The example video is in the attachment
http: //mindway.cn/archives/2006/08/307.html
The above introduces the phpmyadmin configuration IIS60+PHP5x+MySQL5x+Zend30x+GD+phpMyAdmin28x general installation example has been completed, including the phpmyadmin configuration. I hope it will be helpful to friends who are interested in PHP tutorials.


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template