PHP AND W2K(100分)

C

CJ

Unregistered / Unconfirmed
GUEST, unregistred user!
PHP 4 如何安装在 W2K上?
 
C

Chenlili

Unregistered / Unconfirmed
GUEST, unregistred user!
可以去www.php.org下载for Win的版本。
 
G

gy1969

Unregistered / Unconfirmed
GUEST, unregistred user!
PHP 4.0.0 - Win32 Installation
------------
The Win32 version of PHP *requires* a php.ini file to be present. If you haven't
got a php.ini installed yet, copy the php.ini-dist file that is included in the
distribution to your Windows directory, and rename it to php.ini (e.g.,
C:/WINNT/php.ini). Edit it and modify the values as you see fit.
Unlike PHP 3, PHP 4 is divided into several components;
Even when you use
PHP in its CGI mode, php.exe is no longer a standalone executable, and relies
on external DLLs for execution. For this reason, if you install php.exe as
a handler for your web server, you must make sure that the DLLs in the
distribution exist in a directory that is in the Windows PATH. The easiest way
todo
it is to copy these DLLs to your SYSTEM (Windows 9x) or SYSTEM32 (Windows NT)
directory, which is under your Windows directory.
The DLLs that need to be copied are MSVCRT.DLL (it may already exist in there) and
PHP4TS.DLL.
Installation Notes for IIS 4.0
------------------------------
- Install the php.ini file and the DLLs as mentioned above.
- Start the Microsoft Management Console (may appear as
'Internet Service Manager').
- Under 'ISAPI Filters', add a new ISAPI filter. Use 'PHP' as the filter name,
and supply a path to the php4isapi.dll that is included in the distribution.
- Under 'Home Directory', click on the 'Configuration' button. Add a new entry
to the Application Mappings;
Use the path the php4isapi.dll as the Executable,
supply .php as the extension, leave 'Method exclusions', blank, and check
the Script engine checkbox.
- Stop IIS completely (you would have to stop the IIS Administration service for
that - stopping it through the Management Console isn't good enough;
You can
do
it by typing 'net stop iisadmin' on a command prompt).
- Start IIS again (you cando
it by typing 'net start w3svc' on a command prompt).
- Put a .php file under your Web server'sdo
cument root and check if it works!
 
C

CJ

Unregistered / Unconfirmed
GUEST, unregistred user!
win2k,谢谢,有谁有成功经验?
 
C

crealink

Unregistered / Unconfirmed
GUEST, unregistred user!
安装 PHP4 到 Win2k 只要注意下面的问题:
在安装之前,先修改 Php.ini , 指定 php 的安装路径,
但一定不要先打开数据库连接选项,否则会在安装到 IIS 时
造成系统挂起。
接着按正常步骤安装,当 php 正常工作后,在修改 php.ini
打开数据库选项。修改完成后,要在命令提示窗口执行下面的命
令:
net stop admin
net start admin
以上是我在安装 php4.01r2 到 英文版 Win2k AS 时经过无数
次重新启动后发现的 :(

 
C

CJ

Unregistered / Unconfirmed
GUEST, unregistred user!
接受答案了.
 
顶部