- 论坛徽章:
- 0
|
APACHE与PHP5安装问题求助
我疯了!
Apache/2.0.54 (Win32) PHP/5.1.0b3 Server at 127.0.0.1 Port 80
说明LoadModule php5_module "c:/php/php5apache2.dll"已经发生了作用.
#AddType application/x-httpd-php .php的时候点击PHP文件,出来的是一个是否下载的对话框,把#号去掉,点击PHP文件出来的就是一个空白页面.说明 AddType application/x-httpd-php .php这句也发生了作用.
依照MANUAL手册: PHP searches for php.ini in the following locations (in
order):
* PHPIniDir directive (Apache 2 module only)
* HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath
* The PHPRC environment variable
* Directory of PHP (for CLI), or the web server's directory (for
SAPI modules)
* Windows directory (C:\windows or C:\winnt)
我依照MANUAL做了PHP.INI的位置变动.
然后点击PHP文件,结果还是空白页面.我想可能是PHP.INI文件里的DOC_ROOT没修改,我又把它改成我的HTDOCS在的位置,结果还是一样.
求求大家帮帮忙,我快崩溃了. |
|