Current location: Hot Scripts Forums » Programming Languages » PHP » How do i check PHP or MySQL version?


How do i check PHP or MySQL version?

Reply
  #1 (permalink)  
Old 04-20-04, 08:55 AM
Dude22222a Dude22222a is offline
Newbie Coder
 
Join Date: Apr 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
How do i check PHP or MySQL version?

I have my site from ISP and man who register me account say that he dont know is there PHP or MySQL at all.
How i know there is PHP but how do i check what version?
Also how can i check if there is MySQL or now? I accept ANY help.

BTW there is CGI-BIN, IMAGES, and HTML folders on ftp.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 04-20-04, 09:00 AM
the_mole001's Avatar
the_mole001 the_mole001 is offline
Newbie Coder
 
Join Date: Feb 2004
Location: Australia
Posts: 96
Thanks: 0
Thanked 0 Times in 0 Posts
Hey,

Well best way to do some quick checking is to make a php file like so:

<?php

echo "hello if this works i have PHP";

?>

and saving it as index.php, uploading it and then trying to view your page, if the message does not show, you dont have php nor would you have mysql I doubt

Peter
__________________
Current Project: GGAC Website
Project Link: http://peter.5gigs.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 04-20-04, 09:31 AM
Dude22222a Dude22222a is offline
Newbie Coder
 
Join Date: Apr 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dude22222a
I have my site from ISP and man who register me account say that he dont know is there PHP or MySQL at all.
How i know there is PHP but how do i check what version?
Also how can i check if there is MySQL or now? I accept ANY help.

BTW there is CGI-BIN, IMAGES, and HTML folders on ftp.
Ye php i have but how check version?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 04-20-04, 11:56 AM
Addict's Avatar
Addict Addict is offline
Newbie Coder
 
Join Date: Nov 2003
Location: Ohio
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
PHP Code:

<?php

phpinfo
();
?>
Save to a file (ie - info.php). That will give your php info as the name implies.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP and MySQL ? rob2132 Hot Scripts Forum Questions, Suggestions and Feedback 4 08-29-08 03:22 AM
PHP, MySQL, WML superman PHP 0 03-04-04 11:46 AM
question about updating a page or database for an, php and mysql updating mikewooten PHP 1 02-12-04 01:11 AM
Need Epinions-lite system in PHP & MYSQL wali001 Job Offers & Assistance 4 01-12-04 07:02 AM
Free PHP, Perl and possible mySQL hosting! toby General Advertisements 8 06-17-03 02:04 AM


All times are GMT -5. The time now is 07:20 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.