Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-26-2004, 08:30 PM   #1
TheSenator
Too lazy to set a custom title
 
TheSenator's Avatar
 
Industry Role:
Join Date: Feb 2003
Location: NJ
Posts: 13,336
PHP and mySQL question

How do I find out what version I have of PHP and mySQL?
I am running on Apache/1.3.27 on Linux...


Thanks
TheSenator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-26-2004, 08:32 PM   #2
Butrflied
Confirmed User
 
Join Date: Aug 2002
Location: SoFLa
Posts: 1,344
echo phpversion(); and I think echo mysql_get_server_info(); will get you mysql version
__________________
~Butrflied~

Last edited by Butrflied; 01-26-2004 at 08:35 PM..
Butrflied is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-26-2004, 08:42 PM   #3
TheSenator
Too lazy to set a custom title
 
TheSenator's Avatar
 
Industry Role:
Join Date: Feb 2003
Location: NJ
Posts: 13,336
didn't work
TheSenator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-26-2004, 08:44 PM   #4
Butrflied
Confirmed User
 
Join Date: Aug 2002
Location: SoFLa
Posts: 1,344
are you trying to get them from the command line or from a php page?
__________________
~Butrflied~
Butrflied is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-26-2004, 08:45 PM   #5
lennox
Registered User
 
Join Date: Jan 2004
Posts: 144
its phpinfo();
lennox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-26-2004, 08:46 PM   #6
Butrflied
Confirmed User
 
Join Date: Aug 2002
Location: SoFLa
Posts: 1,344
from the command line :
> php -v
> mysql -V

.. I think
__________________
~Butrflied~
Butrflied is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-26-2004, 08:51 PM   #7
Damian_Maxcash
So Fucking Banned
 
Join Date: Oct 2002
Location: MaxCash.com
Posts: 12,745
make a php file with

/?
phpinfo();
?\

and just load it in your browser

Gives you LOADS of info about your install

Edit: replace / and \ with < and >
Damian_Maxcash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-26-2004, 09:01 PM   #8
TheSenator
Too lazy to set a custom title
 
TheSenator's Avatar
 
Industry Role:
Join Date: Feb 2003
Location: NJ
Posts: 13,336
I am using command line....

How do I turn on mySQL?

or is it always on?
TheSenator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-26-2004, 09:04 PM   #9
toddler
Confirmed User
 
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
I strongly advise you go read some books. Or hire someone.
toddler is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-26-2004, 09:10 PM   #10
TheSenator
Too lazy to set a custom title
 
TheSenator's Avatar
 
Industry Role:
Join Date: Feb 2003
Location: NJ
Posts: 13,336
I am reading...

It is a common problem but a bitch to fix.....

can't connect "mysql.sock"

I am busted out the Coke and figuring this one out by sunrise...
TheSenator is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2004, 02:00 AM   #11
fuzebox
making it rain
 
fuzebox's Avatar
 
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,114
Quote:
Originally posted by TheSenator
I am busted out the Coke and figuring this one out by sunrise...


Try starting your mysql server
fuzebox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-27-2004, 02:17 AM   #12
kongen
Confirmed User
 
Join Date: May 2002
Location: Norway
Posts: 110
Quote:
How do I turn on mySQL?
Depends on many things, but try this for start:

/etc/rc.d/init.d/mysqld start
kongen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.