Page 1 of 1

What do I need to download?

Posted: Thu Jul 03, 2003 12:11 pm
by rabid.goblin
What to I need to download so i can see my php? i saved it as .php, .php3 and .phtml and none worked. I also downloaded PHP 4.3.2 and saved it in c:\php but nothin happened.

Posted: Thu Jul 03, 2003 12:19 pm
by Drachlen
If you're trying to test offline i suggest installing phptriad or just a webserver like apache. PHPtriad includes apache, an older version of php and phpmyadmin. If you get phptriad then i suggest also downloading the latest version of PHP. You'll need to install triad first, and to view your files you need to make sure apache.exe is running, then move your php files into C:\apache\htdocs\ and view them at http://127.0.0.1/ . Make sure you delete index.php from htdocs also so you can see the directory. Also: when and if you're updating your PHP, you just need to drag and drop the downloaded php into your apache directory and replace the one it comes with. If you have any troubles ill try to help more.

Posted: Thu Jul 03, 2003 12:19 pm
by patrikG
You need to have a webserver installed, preferably Apache. I suppose you are running windows - there are various "webserver-bundles". I personally prefer WAMPP as it is the most stable bundled package. It comes with Apache 1.3, PHP 4.3, MySQL 3.2 (I think), SSL, mailserver-admin etc.

Posted: Thu Jul 03, 2003 12:21 pm
by m3rajk
1: what is your operating system
2: did you just dl php 4.3.2 or did you install it?
3: how did you try to view it?
4: is your computer set to serve web pages?


.php3 was an extension to tell a php engine that the form of php is version 3. i have been using .php and that works fine.

if your computer doesn't know how to serve web pages, then i'm not sure having the php engine installed will help. if you have server space put it there and browse to it there.

remember, viewing php is like viewing html, you could open it in an editor or in a browser, which you chose depends on what you're doing

Posted: Thu Jul 03, 2003 2:18 pm
by rabid.goblin
i installed PHPtriad but i still cant open PHPs. I got all the files for PHP 5 in a folder but i dont know what to do with them.

Posted: Thu Jul 03, 2003 2:31 pm
by rabid.goblin
nvm i got it
thx for the help

Posted: Thu Jul 03, 2003 3:33 pm
by Drachlen
I wouldnt suggest using PHP5 YET until its out of beta, because it is, beta

Posted: Thu Jul 03, 2003 10:17 pm
by rabid.goblin
yeah... i got the one that came with phptriad