/    Sign up×
Community /Pin to ProfileBookmark

Silly Question

How can u tell if you have PhP or not??

to post a comment
PHP

9 Comments(s)

Copy linkTweet thisAlerts:
@ScaughtAug 16.2006 — [code=php] <?php phpinfo(); ?> [/code]

Save that as anything you want with a .php extension, and upload it to your webserver. If you see a page displaying information about PHP, then you do. You should know when you sign up for a webhost if they have PHP or not. Chances are, if they're a serious webhosting company, you will have PHP installed.
Copy linkTweet thisAlerts:
@balloonbuffoonAug 16.2006 — You mean on your server?

You can make a file with a .php extension containing the following code:
[code=php]<?php
phpinfo();
?>
[/code]
When you go to that page, if you see a long page full of tables of information, you have php, otherwise you don't.

You most likely don't already have it on your own computer, so you can install [url=http://www.apachefriends.org/en/xampp.html]XAMPP[/url], which will give you a server, php, mysql, and other related applications for using PHP files.

--Steve
Copy linkTweet thisAlerts:
@balloonbuffoonAug 16.2006 — Yeah, what Scaught said! Sorry about the duplicate info, but as you can see, its the best way to find out if you have php if we're both suggesting it!

--Steve
Copy linkTweet thisAlerts:
@JavaKid93authorAug 16.2006 — ok great thanx guys....

looks like i dont have it then
Copy linkTweet thisAlerts:
@JavaKid93authorAug 16.2006 — well now on my other comp, its making it so it show as Microsoft Picture it 2001 i saved it to info.php with that code on it and came up with picture it program
Copy linkTweet thisAlerts:
@balloonbuffoonAug 16.2006 — well now on my other comp, its making it so it show as Microsoft Picture it 2001 i saved it to info.php with that code on it and came up with picture it program[/QUOTE]
I can't understand a word you're saying. :rolleyes:

--Steve
Copy linkTweet thisAlerts:
@JavaKid93authorAug 16.2006 — Ok im gonna tell u word by word...

1. I save the document to info.php, the code tells u if u have php.

2. I click on the document and it comes up as microsoft picture it 2001

It's really funny, but i need to know the problem....

any solutions..
Copy linkTweet thisAlerts:
@bruisrAug 16.2006 — you need to take the file that has the <?php phpinfo(); ?> code in it, upload it to your server, then navigate to that page. If you see a lot of text information about PHP, then your server supports it. If you are seeing something about Microsoft Picture It 2001, then you are on an old computer and using windows, and i'd suggest getting a new computer without windows.

You actually don't have PHP on your computer, it's on the server that you are using. Depending on the host for your server depends on if you can use PHP on it. Otherwise you need to download a db server to your computer. The one you need can be found at http://mysql.com/. Set up that server, and go to http://www.php.net and get the latest version of PHP and set it up with you mysql server. From there you can start using a text editor or a web developing software like Dreamweaver, to help you write the code you need and what not.

If you want a great host that has PHP/MySQL support on it, and is very cheap, go to http://www.syhbo.com/host, click any of the links, and go choose the plan that fits your budget and what your needs.

Good luck.
Copy linkTweet thisAlerts:
@balloonbuffoonAug 16.2006 — Of course if you want PHP on your computer, use XAMPP (the link is in a post above). It is by far the easiest way to get started!

--Steve
×

Success!

Help @JavaKid93 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...