Download PHP x64 from fusionxlan.com:
http://www.fusionxlan.com/PHPx64.php
- Unzip to anywhere (d:/PHP_64)
- modify apache_64/conf/httpd/conf
- load PHP --- add new line
- LoadModule php5_module "D:/php_64/php5apache2_2.dll"
- Add PHP type --- add new line
- AddType application/x-httpd-php .php
- Add PHP path --- add new line
- # configure the path to php.ini
PHPIniDir "D:/php_64"
- # configure the path to php.ini
- load PHP --- add new line
- copy files into windows/system32
- D:/php_64/php5ts.dll
- D:/php_64/php5isapi.dll
- D:/php_64/php5apache2_2.dll
- D:/php_64/ext/php_mysql.dll
- modify php.ini-dist
- create a copy of php.ini-dist with name php.ini
- modify php.ini
- Set extensiton path
- extension_dir = "D:/php_64/ext/"
- Set Open style
- allow_url_fopen = Off
- 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 - Set sendmail from e-mail address:
sendmail_from = me@example.coM - set for MySQL:
mysql.default_port = 3306
mysql.default_host = localhost - Set the session save path .
session.save_path = "D:/tmp"
- Restart Apache Server.
- Test
- create index.php in your apache web folder (d:/MyWeb) content:
- <php?
- phpinfo();
- ?>
- *it is in full-width, so dont copy it, type youself.
- create index.php in your apache web folder (d:/MyWeb) content:
- Done!!
i wanna run away never say goodbey