CSDN博客

img zhangyze

Windows+Apache Web Server+PhpMySqladmin

发表于2004/10/21 17:42:00  1792人阅读

分类: WEB技术

2个小时搞定在windows2003下配置apache Web Server 以及phpmysqladmin,现在记录下来以供参考,呵呵
   第一步:当然是下载软件了,废话~~
      1  apache Web Server   下载地址:
www.apache.org
       2 PHP解析软件           下载地址:www.php.com,不过我不是去那里下载的,是在赢政下载的http://soft.winzheng.com
      3 phpmysqladmin           也是在赢政下载的
    这里要提一下,赢政做的确实不错,基本没有死链。

第二步:安装软件
    1:安装apache,一路ok就可以了
   2:安装php,一个压缩包,直接解到一个任意地方就可以了,但是建议目录不要太深
   3:安装phpmysqladmin,也是压缩报,解压缩到apache的发布目录htdocs下面的/phpmysqladmin下就可以了

第三步:配置信息
1:先配置php啦
      a、将php.ini.detal改名为php.ini,并添加
extension_dir = c:/php
extension=/extensions/php_bz2.dll
extension=/extensions/php_cpdf.dll
extension=/extensions/php_crack.dll
extension=/extensions/php_curl.dll
extension=/extensions/php_db.dll
extension=/extensions/php_dba.dll
extension=/extensions/php_dbase.dll
extension=/extensions/php_dbx.dll
extension=/extensions/php_domxml.dll
extension=/extensions/php_exif.dll
extension=/extensions/php_fdf.dll
extension=/extensions/php_filepro.dll
extension=/extensions/php_gd2.dll
extension=/extensions/php_gettext.dll
extension=/extensions/php_hyperwave.dll
extension=/extensions/php_iconv.dll
;extension=/extensions/php_ifx.dll
;extension=/extensions/php_iisfunc.dll
extension=/extensions/php_imap.dll
extension=/extensions/php_interbase.dll
extension=/extensions/php_java.dll
extension=/extensions/php_ldap.dll
extension=/extensions/php_mbstring.dll
;extension=/extensions/php_mcrypt.dll
extension=/extensions/php_mhash.dll
extension=/extensions/php_mime_magic.dll
extension=/extensions/php_ming.dll
extension=/extensions/php_mssql.dll
extension=/extensions/php_msql.dll
;extension=/extensions/php_oci8.dll
extension=/extensions/php_openssl.dll
;extension=/extensions/php_oracle.dll
extension=/extensions/php_pdf.dll
extension=/extensions/php_pgsql.dll
;extension=/extensions/php_printer.dll
extension=/extensions/php_shmop.dll
extension=/extensions/php_snmp.dll
extension=/extensions/php_sockets.dll
;extension=/extensions/php_sybase_ct.dll
extension=/extensions/php_w32api.dll
extension=/extensions/php_xmlrpc.dll
extension=/extensions/php_xslt.dll
extension=/extensions/php_yaz.dll
extension=/extensions/php_zip.dll

然后将以上这些dll文件以及php.ini拷贝到wendows下的system32目录下
php配置完成,简单把,呵呵~

b、配置apache服务器,也很简单
  修改/conf/目录下的httpd.conf文件,添加
ScriptAlias /php/ "C:/PHP/"
      AddType application/x-httpd-php .php3
      AddType application/x-httpd-php .php
      AddType application/x-httpd-php .phtml
      Action application/x-httpd-php "/php/php.exe"
      DirectoryIndex index.php
      DirectoryIndex index.php3
      DirectoryIndex index.phtml
保存
c、修改phpmysqladmin,修改config.inc.php文件,将
$cfg['Servers'][$i]['host']  
$cfg['Servers'][$i]['port'] 
$cfg['Servers'][$i]['user']    
$cfg['Servers'][$i]['password']   
$cfg['Servers'][$i]['only_db'] 
配置好

ok~,全部都配置好了,启动apache服务器,访问一下吧

阅读全文
0 0

相关文章推荐

img
取 消
img