GOD like 64 - Apache+PHP+MySQL in win 7 64bits - PHP-64

 Download PHP x64 from fusionxlan.com:
http://www.fusionxlan.com/PHPx64.php

  1. Unzip to anywhere (d:/PHP_64)
  2. modify apache_64/conf/httpd/conf
    1. load PHP --- add new line
      1.  LoadModule php5_module "D:/php_64/php5apache2_2.dll"
    2. Add PHP type --- add new line
      1.  AddType application/x-httpd-php .php
    3. Add PHP path --- add new line
      1. # configure the path to php.ini
        PHPIniDir "D:/php_64"
  3. copy files into windows/system32
    1. D:/php_64/php5ts.dll
    2. D:/php_64/php5isapi.dll
    3. D:/php_64/php5apache2_2.dll
    4. D:/php_64/ext/php_mysql.dll
  4. modify php.ini-dist
    1. create a copy of php.ini-dist with name php.ini
    2. modify php.ini
      1. Set extensiton path
      2. extension_dir = "D:/php_64/ext/"
      3. Set Open style
      4. allow_url_fopen = Off
      5. Load PHP extesnions by removing the ";" symbol:
        extension=php_gd2.dll
        extension=php_mysql.dll
        extension=php_oci8.dll (if you have Oracle database installed)
        extension=php_pgsql.dll (if you have postgre database installed)
        extension=php_zip.dll
      6. Set sendmail from e-mail address:
        sendmail_from = me@example.coM
      7. set for MySQL:
        mysql.default_port = 3306
        mysql.default_host = localhost
      8. Set the session save path .
        session.save_path = "D:/tmp"  
  5. Restart Apache Server.
  6. Test
    1. create index.php in your apache web folder (d:/MyWeb) content:
      1. <php?   
      1. phpinfo(); 
      1.     ?>
      1. *it is in  full-width, so dont copy it, type youself.
  7. Done!!

i wanna run away never say goodbey
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值