Our Collection Of Articles

PHP Install

Written By:

Now that we have installed PHP on the system, we need to configure it to run with Apache.  The first thing to do is to go into the folder "c:\web\php\" and find the file "php4ts.dll".  If you have a different version of PHP, the file might have a different name, but it is the only .dll file in the PHP root folder.  Take this .dll file and copy it to the "c:\web\php\sapi\" folder.  Next, go back to the PHP root folder and open the file "php.ini-dist" in your text-editor.

Once opened, go to "File>Save As..." and rename it "php.ini".  Please make sure that in drop-down menu at the bottom of the "Save As..." window, you select "All Files" so that the ".ini" extension will be added to the file.  Once saved, go back to the PHP root folder ("c:\web\php\") and move the new "php.ini" file to "c:\Windows\" ("c:\WINNT\" if you are using Windows 2000/NT).

Just to make sure that everything's working, if you are a Windows 98 user (or if you installed Apache as a manual application) close the open Apache Window and start Apache again by going to "Start>Programs>Apache HTTP Server>Start Apache in Console".  If you installed the server as a Service, just go to "Start>Programs>Apache HTTP Server>Control Apache Server>Restart".  Open your internet browser and go to http://127.0.0.1/ and if you see an Apache directory system, your doing well.  To check PHP, open your text editor and create a new file called "phpinfo.php" in "c:\web\www\".  In the file type:

   <? php phpinfo(); ?>

Go back to your browser window and refresh the page.  Click on the file phpinfo.php that’s listed there, and if you see a large page of info, your PHP works! 

Lets go tackle the last part of the web server now ... the database!

Top Articles For Today!
Planning a usable website: A three-step guide

A website is like an information flow, with you as the provider and your site visitors as the receivers of the information. If you don't plan your website with this in mind right from the start, yo....
Why Budding NetPreneurs Fail At Internet Marketing

NetPreneurs fail all too often because they wrongly assume that marketing on the Net is a *no cost business* when, in reality it is simply a low cost or targeted cost business. The most....
How secure is your data? Preventing the theft of your internet property.

Monday morning first thing and the phone rings. It’s a typical call, since the previous Thursday a small business has noticed that some of the images on it’s’ website are starting to appear on othe....
Is your Business Partnership about to Crash and Burn?

The Seven C's: Danger Signs not to be Ignored When Harry teamed up with Joe, everyone thought it was a business match made in heaven. Both loved the clothing business. Harry was a natural sa....