Steps: 1. Install PHP. Already installed? 2. make a file accessible via browser and call it test.php 3. put this into it:
<? echo "Hello World<br>"; phpinfo(); ?> 4. Now, access that file. If you see "Hello World" outputted followed by a long blue-gray table with lots of server data - means everything worked and you could go to the sites like PHP Beginner (www.phpbeginner.com) or many others to read some tutorials and still code to keep testing. If you get asked to download a .php file then make sure you installed your PHP with Apache right (requires some editing of httpd.conf, read the manual) Cheers, -- Maxim Maletsky [EMAIL PROTECTED] Bryan Cassidy <[EMAIL PROTECTED]> wrote... : > This might sound stupid but what the hell. I am running Red Hat 8.0 > with Apache. I have apache working fine right now. I am wanting to > learn some php but really don't know where to start/look or anything > to tell the truth. I do "everything" from my FreeBSD 4.6.2 box but > Apache runs on Red Hat. With me? Could someone give me a very "basic" > PHP script or whatever they are called, tell me where I "should" or > "need" to put it on my Red Hat 8.0 box and what else I need to do to > see the script on my webpage? Put it like this. I will make a html > file in /var/www/html/ called php and inside php i will make a file > named php.ini ( i think it should be .ini right?) and I will edit my > index.html file, add a link and point it to the php.ini file and see > what happens. I just want to get a very basic idea of php, what it > does, where to put the php file and how to get started on the web. I > really hope this e-mail doesn't get ignored so could someone just help > me out a lil bit here? I would appreciate it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php