![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Too lazy to set a custom title
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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~ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Too lazy to set a custom title
Industry Role:
Join Date: Feb 2003
Location: NJ
Posts: 13,336
|
didn't work
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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~ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Registered User
Join Date: Jan 2004
Posts: 144
|
its phpinfo();
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Aug 2002
Location: SoFLa
Posts: 1,344
|
from the command line :
> php -v > mysql -V .. I think
__________________
~Butrflied~ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
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 > |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Too lazy to set a custom title
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Jun 2002
Location: austin, tx
Posts: 1,911
|
I strongly advise you go read some books. Or hire someone.
__________________
http://www.flickr.com/photos/zoddler/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Too lazy to set a custom title
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... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,114
|
Quote:
![]() Try starting your mysql server ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: May 2002
Location: Norway
Posts: 110
|
Quote:
/etc/rc.d/init.d/mysqld start |
|
![]() |
![]() ![]() ![]() ![]() ![]() |