Previous Thread
Next Thread
Print Thread
Rate Thread
#104226 07/18/2001 2:07 PM
Joined: Jan 2000
Posts: 41
Member
Member
Offline
Joined: Jan 2000
Posts: 41
What kind of server are you installing it on?

I can do WindowsNT and Win2K reasonably well. You'll want to download a distribution from http://www.php4win.de and unzip it into a directory named C:PHP (assuming C is your primary hard drive partition).

Inside of your PHP directory, there should be a file called php4ts.dll. Copy this .dll into your C:WINNTSystem32 directory. Now open up the dlls subdirectory and copy all of the files from here to your C:WINNTSystem32 directory as well. If Windows squaks that you've already got a file by that name there, then keep your old one--don't overwrite it with the newly downloaded files.

Back in our PHP directory there should be a file called php.ini. Copy it into C:WINNT, and open it with notepad. Do a search for "extension_dir" and you should see something similar to this:
Code
code:
Make sure that this path is the correct path to the extensions directory (should be C:PHPextensions) of the unzipped PHP4 installation. Feel free to browse through the extensions below that and enable whichever ones you think you might want to use.

Now start up IIS, go to the web site you want to have PHP running on, and right click it. Click on Properties. Go to the ISAPI filters tab. Click the Add button, and create a new filter called PHP. The Executable file should be "C:PHPsapiphp4isapi.dll" if you've put PHP in the same directory that I said earlier.

Now go to the Home Directory tab and click Configuration. Click the Add button and specify the same path as we did for the ISAPI filter (C:PHPsapiphp4isapi.dll) in the executable field. The extension will be .php.

Now you'll need to completely start IIS. The best way to do this is the command prompt. Bring one up and enter the following commands:

Code
code:

If this all went right, then you now have PHP4 installed.

To test your installation, make a script called phpinfo.php and put the following into it:
Code
code:
Put this on your webserver and run it from a browser. If you get a nifty page with a bunch of stuff about PHP on it, then you've succesfully installed PHP. If not, then you'll need to go back and try again.

Sponsored Links
Entire Thread
Subject Posted By Posted
Installing PHP4 Tech-Ni-Kal 07/18/2001 3:34 AM
Re: Installing PHP4 Carmack 07/18/2001 9:07 PM
Re: Installing PHP4 Tech-Ni-Kal 07/19/2001 5:03 AM
Re: Installing PHP4 Carmack 07/20/2001 9:15 PM
Re: Installing PHP4 Tech-Ni-Kal 07/20/2001 9:49 PM
Re: Installing PHP4 Tech-Ni-Kal 07/20/2001 9:56 PM
Re: Installing PHP4 Tech-Ni-Kal 07/20/2001 10:15 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)