need help to setu php , mysql , apache, on FREE BSD 4.5

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
home123
Forum Newbie
Posts: 1
Joined: Fri May 31, 2002 4:40 am

need help to setu php , mysql , apache, on FREE BSD 4.5

Post by home123 »

I have downloaded php , mysql and apache, on the Freebsd 4.5. How do I check if it working or if is setup correctly.This is a spare pc that I want to use as a serve..Thx
rats
Forum Newbie
Posts: 21
Joined: Fri May 31, 2002 5:55 am

Post by rats »

Set up mysql first as directed by there docs. Use there tools supplied to see if it works.

Then set up apache use the apache guide..test it by using the browser to surf to your homepage directory.

http://localhost/

Set up php and test it by using a php script(test.php) in the homepage directory.

http://localhost/test.php

Usually a script like this will do.

<?
phpinfo();
?>
Post Reply