Sr. Web Developer
mediabistro.com
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume

Installing Apache and PHP under Win32
Stop Apache, if it isn't already. Copy php4ts.dll to the Windows\System directory. In httpd.conf search for #LoadModule it should bring you to a list of modules that can be loaded. Leave those alone, but directly under them, add these lines:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
Now, write a file called test.php, with this as the content:
<?php
echo "PHP Rules!";
?>
Save the file, and put it into the directory you set as the document root. You set that up above. Now start up Apache, and type this into the location bar of your favorite web browser:
http://localhost/test.php
If all goes well, you should get a lovely:
PHP Rules!
...on the screen. Well, did you? If so, great. If not, email me any problems you have, and I will see if I can help you.
What Next?
Well, that is up to you, I would recommend reading the PHP Manual, and accelerating your PHP skills.
This article originally appeared on HTMLGoodies.com.


[Page 1]  [Page 2]  


Comments:

No Messages Found

You can post questions/corrections/feedback here

 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.