你的php没有配置好
在apache的httpd.conf中加入以下内容:
ScriptAlias /php/ "C:/PHP/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"然后把php4ts.dll和php.ini复制到c:\winnt目录下
重启一下就可以了
在apache的httpd.conf中加入以下内容:
ScriptAlias /php/ "C:/PHP/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"然后把php4ts.dll和php.ini复制到c:\winnt目录下
重启一下就可以了
还有就是如果要让你的环境支持数据库的存取,则要修改php.ini中配置.
如要你的环境支持SQL的存取,则要把php.ini设置
extension_dir= C:\php\extensions
......
extension=php_mssql.dll
....记住;restarting apache server
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"我已经把这几句加进去了,我回去再重新安装一下