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
sopiaz57
Forum Newbie
Posts: 2 Joined: Mon Sep 15, 2003 10:41 am
Post
by sopiaz57 » Mon Sep 15, 2003 10:41 am
1. I have PHP in my /bin directory
2. My file is named index.php, here it is:
<html>
<head>
<title>PHP Page</title>
</head>
<body>
<h1>My First PHP Page</h1>
<?php
echo '<p>This is my first PHP script.</p>';
?>
</body>
</html>
3. Here is my httpd.conf
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3 index.phtml index.cgi
</IfModule>
and there are plenty of php modules, one for php4, one for php3.
anyone have any insight?
sopiaz57
Forum Newbie
Posts: 2 Joined: Mon Sep 15, 2003 10:41 am
Post
by sopiaz57 » Mon Sep 15, 2003 12:01 pm
figured it out, im reinstalling PHP
JAM
DevNet Resident
Posts: 2101 Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:
Post
by JAM » Mon Sep 15, 2003 1:28 pm
Nice that you worked it out.
But for future reference and guidance, please do post whatever was the reason.
Next time someone has the same issue and makes a search in the forum, he/she might get help from your solution.