Here are some details about install PHP5, MySQL 4, Apache2 in windows, Sorry I can't type Chinese here! Good luck, MM ~!~PHP5 is no longer bundling the client library itself, so If you want to enable the extension php_mysql.dll inside php.ini., be sure libmysql.dll is available to the systems PATH. Before, i forgot to copy libmysql.dll to System32 folder, so PHP could not operate Mysql. I hope that is helpful, if you get stuck about installing PHP. php-5.0.2-Win32: http://www.php.net/get/php-5.0.2-Win32.zip/from/au.php.net/mirrorapache_2.0.50-win32-x86: http://apache.inspire.net.nz/httpd/binaries/win32/apache_2.0.50-win32-x86-no_ssl.msimysql-4.0.20d-win: http://dev.mysql.com/get/Downloads/MySQL-4.0/mysql-4.0.20d-win.zip/from/ftp://mysql.inspire.net.nz/mysql/**************************************************************************************** *********************** tune apache2 in windows ***********************1.install apache2 on ur computer, and use defalt options, when asked 2 put into domain name, type "localhost", sever name is whatever, and then type ur email address;2.in apache config file "httpd.conf", at the end of loadmodule block add following:LoadModule php5_module "c:/php/php5apache2.dll"NOTE: "c:/php/php5apache2.dll" is the directory on my computer!3.in apache config file httpd.conf, at the end of AddType block add following:AddType application/x-httpd-php .php .phtml .html AddType application/x-httpd-php-source .phpsNOTE: step 2 is just for local use, that means run apache only on 1 computer****************************************** config php5, mysql4 and apache2 in windows ******************************************1.install php5 on ur computer;2.copy libmysql.dll from your php5 root direcory to c:\windows\system32\;3.change php.in.dist in your php5 root direcory into php.ini and customise it;4.Move the php.ini from your php5 root direcory to C:\WINDOWS\ or wherever you usually put your *.ini files;5.Move the php5ts.dll from your php5 root direcory to C:\WINDOWS\SYSTEM\ or wherever you usually put your *.dll files.NOTE: in my case, I didnt do step 3 and 4; instead, I copied php.in from CPIT G drive and changed the statement below:extension_dir="c:/php/ext" NOTE:"c:/php/ext" is the directory on my computer, u might need to change it properly;Hope it will be helpful. ~!~
进一步说明:(这回可以写中文拉)更正: 在 *********************** tune apache2 in windows *********************** 的最后一句话:NOTE: "step 2 is just for local use, that means run apache only on 1 computer" 中标 "step 2" 应为"step 1";在 ****************************************** config php5, mysql4 and apache2 in windows ****************************************** 中 "3.change php.in.dist in your php5 root direcory into php.ini and customise it;"customise it标意识是: 1.在php.ini文件中早稻这句话(用control+f): ;extension=php_mysql.dll extension_dir = "P:/FC/Webdev2/PHP5.0/ext" 然后把前面的分号山粗2.在php.ini文件中接着早稻这句话(用control+f): ;extension_dir = "./" 然后把前面的分号山粗 再把他改成 extension_dir = "P:/FC/Webdev2/PHP5.0/ext" "P:/FC/Webdev2/PHP5.0/ext"是我门学校的目录,你得根据你知己电脑上的目录改,但后边的"/PHP5.0/ext"是不变的.基本上就是这样了,如果还有问题就email我: [email protected]
安装的软件
搭配一:
IIS + PHP + MySQL搭配二:
Apache + php + mysql普通情况下,我觉得使用IIS + php开发网站就行了,大部分的代码移植到Apache+PHP下问题不大,但是也有特殊,比如一些生成随机数,会出问题,当然,如果可能,我是推荐使用Apache+PHP的.
PHP的版本使用php4.3.3--php4.3.9都可以,Mysql的版本使用从 4.0.11--4.0.21都可以,这些版本都是比较稳定,并且应用广泛的,当然,你也可以直接使用PHP5,如果你觉得自己需要的话,呵呵
mysql-4.0.16-win
apache_2.0.52-win32-x86-no_ssl.msi
这几个软件就可以了
不过是MAN YAO的哦。
比较可爱的名字。
给你一个教程。
http://www.phpe.net/articles/355.shtml
http://www.knowsky.com/3192.html
I hope that is helpful, if you get stuck about installing PHP.
php-5.0.2-Win32:
http://www.php.net/get/php-5.0.2-Win32.zip/from/au.php.net/mirrorapache_2.0.50-win32-x86:
http://apache.inspire.net.nz/httpd/binaries/win32/apache_2.0.50-win32-x86-no_ssl.msimysql-4.0.20d-win:
http://dev.mysql.com/get/Downloads/MySQL-4.0/mysql-4.0.20d-win.zip/from/ftp://mysql.inspire.net.nz/mysql/****************************************************************************************
***********************
tune apache2 in windows
***********************1.install apache2 on ur computer, and use defalt options, when asked 2 put into domain name, type "localhost", sever name is whatever, and then type ur email address;2.in apache config file "httpd.conf", at the end of loadmodule block add following:LoadModule php5_module "c:/php/php5apache2.dll"NOTE: "c:/php/php5apache2.dll" is the directory on my computer!3.in apache config file httpd.conf, at the end of AddType block add following:AddType application/x-httpd-php .php .phtml .html
AddType application/x-httpd-php-source .phpsNOTE: step 2 is just for local use, that means run apache only on 1 computer******************************************
config php5, mysql4 and apache2 in windows
******************************************1.install php5 on ur computer;2.copy libmysql.dll from your php5 root direcory to c:\windows\system32\;3.change php.in.dist in your php5 root direcory into php.ini and customise it;4.Move the php.ini from your php5 root direcory to C:\WINDOWS\ or wherever you usually put your *.ini files;5.Move the php5ts.dll from your php5 root direcory to C:\WINDOWS\SYSTEM\ or wherever you usually put your *.dll files.NOTE: in my case, I didnt do step 3 and 4; instead, I copied php.in from CPIT G drive and changed the statement below:extension_dir="c:/php/ext" NOTE:"c:/php/ext" is the directory on my computer, u might need to change it properly;Hope it will be helpful.
~!~
在
***********************
tune apache2 in windows
***********************
的最后一句话:NOTE: "step 2 is just for local use, that means run apache only on 1 computer" 中标 "step 2" 应为"step 1";在
******************************************
config php5, mysql4 and apache2 in windows
******************************************
中
"3.change php.in.dist in your php5 root direcory into php.ini and customise it;"customise it标意识是:
1.在php.ini文件中早稻这句话(用control+f):
;extension=php_mysql.dll
extension_dir = "P:/FC/Webdev2/PHP5.0/ext"
然后把前面的分号山粗2.在php.ini文件中接着早稻这句话(用control+f):
;extension_dir = "./"
然后把前面的分号山粗
再把他改成
extension_dir = "P:/FC/Webdev2/PHP5.0/ext"
"P:/FC/Webdev2/PHP5.0/ext"是我门学校的目录,你得根据你知己电脑上的目录改,但后边的"/PHP5.0/ext"是不变的.基本上就是这样了,如果还有问题就email我: [email protected]
到www.phpe.net上寻找
2 不过,这问题简单了点,类似的问题以后还是搜索一下以前的东西看看,动手试一下,实在不行再问.
3 能积极回答问题的,也是好同志.不管是不是有所谓的S心...重要的是回答问题了.
综上所述....大家都是好同志的说:)附,看这个帖这么热闹,忍不住跟几句,呵....纯搞笑.