Checking for PHP version and MySQL installation

Reply

Join Date: Dec 2006
Posts: 60
Reputation: BillBrown is an unknown quantity at this point 
Solved Threads: 1
BillBrown's Avatar
BillBrown BillBrown is offline Offline
Junior Poster in Training

Checking for PHP version and MySQL installation

 
0
  #1
Jul 18th, 2009
Greetings,

I'm wanting to learn how to use PHP to check for things like how phpBB or PostNuke do during installation.

For the PHP stuff, I would imagine that I'd use fread() (or a combination of functions like that) to check for a php.ini, then use it to determine the values of some things like version and version and gd. Am I on the right track here?

I also want to be able to check for MySQL versions and such. I don't have a clue as to how to do that. Could I get a point in the right direction for this?

Thanks!
Bill
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 959
Reputation: ardav will become famous soon enough ardav will become famous soon enough 
Solved Threads: 126
ardav's Avatar
ardav ardav is online now Online
Posting Shark

Re: Checking for PHP version and MySQL installation

 
0
  #2
Jul 18th, 2009
"...the woods would be a very silent place if no birds sang except for the best"
All opinions count.
F'enw i yw Mr. Blaidd. Byddwch yn ofalus - dwi'n cnoi.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC