What do I need to download?
Moderator: General Moderators
-
rabid.goblin
- Forum Newbie
- Posts: 4
- Joined: Thu Jul 03, 2003 12:11 pm
What do I need to download?
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.
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.
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.
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
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
-
rabid.goblin
- Forum Newbie
- Posts: 4
- Joined: Thu Jul 03, 2003 12:11 pm
-
rabid.goblin
- Forum Newbie
- Posts: 4
- Joined: Thu Jul 03, 2003 12:11 pm
-
rabid.goblin
- Forum Newbie
- Posts: 4
- Joined: Thu Jul 03, 2003 12:11 pm