Chinaunix

标题: 2K下面怎么实现PHP的环境.... [打印本页]

作者: papaly    时间: 2003-05-19 10:43
标题: 2K下面怎么实现PHP的环境....
新手第一天来....
  我做的WEB服务器,,有PHP程序..
  浏览时,,显示的是源程序....
  

  怎么办..是不是要配置PHP环境...
  我的系统是2K..
  请问要怎么搞...
作者: longthunder    时间: 2003-05-19 14:17
标题: 2K下面怎么实现PHP的环境....
~~
作者: papaly    时间: 2003-05-28 17:55
标题: 2K下面怎么实现PHP的环境....
晕啊,,,
这么大的一个论坛,,,
怎么就没有一个人出来看看啊,,,
好可怜....
作者: macleo    时间: 2003-05-28 21:40
标题: 2K下面怎么实现PHP的环境....
你装了php吧?php目录下有个install.txt,只要你稍有英文基础!
你就会php和多种服务器的配置的!

自己努努力,好么?
或者看这里以前的帖子吧!
作者: 疯狂钻石    时间: 2003-05-28 23:37
标题: 2K下面怎么实现PHP的环境....
-1- Install MySql at First
-2- Install Apache Web Server
-3- Unzip PHP Files to c:/php4
-4- Copy php.ini.dist to c:/winnt/php.ini
Modify the php.ini file
Replace "extension-dir = ./ " to "extension-dir = c:/php4"
-5- Copy php4.dll to C:/winnt/system32/
Copy C:/php4/sapi/php4Apache.dll to C:/Apache Group/Apache/modules/
-6- Configiue Apache's httpd.conf
Add folllowing Sentence:
AddType application/x-httpd-php .php
AddType application/x-httpd-php. php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .inc
LoadModule modules/php4Apache.dll

-7-write index.php into htdoc derictory
<?php phpinfo(); ?>;
to Test it.
作者: snowall    时间: 2003-05-29 15:12
标题: 2K下面怎么实现PHP的环境....
晕啊,,,
这么大的一个论坛,,,
怎么就没有一个人出来看看啊,,,
好可怜....

大家都不想回答,因为这个问题只要有点这方面(哪怕是一丁点)知识的人就不会这样问,这不是几句话就能说得清,而且说了你也不一定看得明白.要自已查资料.找本PHP的书看看,多半讲了.
作者: redfox    时间: 2003-05-29 16:45
标题: 2K下面怎么实现PHP的环境....
装好IIS,下一个php安装包装一下就行了。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2