How to install PHP404 under WIN2K

WBOY
Release: 2016-07-29 08:34:11
Original
1024 people have browsed it

How to install PHP4.04 under WIN2K--I think it is a better method

PHP4.04 is already much larger than 4.0. After unpacking, it is more than 9M, and the DLL file has become more than fifty. It turns out that Oso's An article "Installation of PHP4 and MySQL under Windows 2000 Revealed", I also read this article to learn the installation, but the situation has changed now, it has changed from php4.0.1pl2 to php4.04, its weight is good The number of images has also increased twice. If you still copy all the DLL files to SYSTEM32 as the original article said, it would be too much. Let’s talk about the experience of installing PHP4.04.
1. I decompressed PHP4.0.4 to d:php4, then copied php.ini-dist to system32 and renamed it php.ini. As the original text said, remove the previous comments such as extension=php_zlib.dll. In my opinion, it doesn't matter whether you take it or not. Basically don't change it. If you are a novice and want to test successfully quickly, then leave it like this. It is not too late to remove the comments if you need it in the future.
2. There is no need to copy PHP.EXE to WINNT, and there is no need to copy the DLLs under EXTENSIONS to SYSTEM32 and let them stay in their original place.
3. Copy all DLLs (14) in the d:php4dlls directory to SYSTEM32. I am not sure whether they must be all, but one of them, msvcrt.dll, is already under SYSTEM32, and you will not be allowed to do so. cover.
4. Open IIS5, right-click on your WEBSIT, select properties, select ISAPI filter, then add, fill in the filter name as PHP, browse the executable file and select D:php4sapiphp4isapi.dll, OK, OK. Then select the home directory, click Configuration, and add in the application configuration as, executable file: D:php4php.exe, the extension is of course .php.
Okay, try this:
php_info()
?>
What needs to be explained here is that I was too lazy to copy the DLL in the d:php4dlls directory to SYSTEM32, and removed the extension= The comment in front of php_ldap.dll turns out that the DLL cannot be found. No matter how it is set in the extension dir, it will not work. After copying, this phenomenon disappears.
In addition, today (2001-1-16), PHP Bamboo Fancao answered a post about not being able to find php_mssql.dll. Fancao said that you need to install the client's MSSQL before you can comment out php_mssql.dll in PHP.INI. Remove it, otherwise the DLL will not be found. In my opinion, the above method can be used to solve the problem, because the extensions themselves already have the DLL.

The above introduces how to install PHP404 under WIN2K, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template