Home  >  Article  >  Backend Development  >  安装与配置MySQL,phpmyAdmin;安装与测试PHPLIB_PHP

安装与配置MySQL,phpmyAdmin;安装与测试PHPLIB_PHP

WBOY
WBOYOriginal
2016-06-01 12:35:47962browse

phpmyadminmysql安装

安装与配置MySQL
mysql-shareware-3.22-win.zip
安装在C:\mysql
将C:\mysql下的my-example.cnf copy to C:\my.cnf
把文件中的#basedir=d:/mysql/改为basedir=c:/mysql/
把c:\windows\php3.ini中的extension=php3_mysql.dll前的分号去掉!
在 ms_dos中进入c:\mysql\bin目录。
运行mysqld-shareware

phpmyAdmin
phpmyAdmin_2.0.5.tar
解压到c:\apache\htdocs\,用PHPEd打开该目录下的config.inc.php3,配置:
将程序行require("english.inc.php3");注释掉,为:
file://require("english.inc.php3");
require("chinese_gb.inc.php3");
打开http://localhost/phpMyAdmin/index.php3 即可!+

安装与测试PHPLIB
解压到c:\apache\phplib
编辑php3.ini:
include_path="c:\Apache\phplib\php"
auto_prepend_file="c:\apache\phplib\php\prepend.php3"
track_vars=On
magic_quotes_gpc=On
如还有需要include 的文件,可以一同写在include_path中,并用分号隔开。

Statement:
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