Home >php教程 >php手册 >安装与配置MySQL,phpmyAdmin;安装与测试PHPLIB

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

WBOY
WBOYOriginal
2016-06-13 10:25:22812browse


安装与配置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:windowsphp3.ini中的extension=php3_mysql.dll前的分号去掉!
在 ms_dos中进入c:mysqlin目录。
运行mysqld-shareware
phpmyAdmin
phpmyAdmin_2.0.5.tar
解压到c:apachehtdocs,用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:apachephplib
编辑php3.ini:
include_path="c:Apachephplibphp"
auto_prepend_file="c:apachephplibphpprepend.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