php+mysql+apache配置文档

当手动安装的时候使用该文档
1.httpd.conf   添加
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:/Program Files/PHP/"
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL路径为PHP安装路径

2.mime.types(conf里)添加
application/x-httpd-php php
application/x-httpd-php-source phps
3.download(http://124.207.96.252:8000/software/) php.ini到php解压的文件夹

3.安装mysql
  a) 环境变量中添加php绝对路径,让系统可以找到该libmysql.dll
  b) extension_dir 修改为当前ext目录(APACHE下)
  c) 添加
     [PHP_MYSQL]
     extension=php_mysql.dll(php.ini)
  d) upload_tmp_dir="E:/en/temp/php/upload" 修改目录
     session.save_path="E:/en/temp/php/session"(php.ini)
==============================
apache
show directory and set default web page
eg:添加 (httpd.conf)修改路径
    Alias /en "E:/en/htdocs/"
    
       AllowOverride None
       Options Indexes FollowSymLinks
       Order allow,deny
       Allow from all
       DirectoryIndex default.php index.php
  

你可能感兴趣的:(开发工具,php,apache,mysql,installer,extension,upload)