GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   PHP and mySQL question (https://gfy.com/showthread.php?t=226218)

TheSenator 01-26-2004 08:30 PM

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

Butrflied 01-26-2004 08:32 PM

echo phpversion(); and I think echo mysql_get_server_info(); will get you mysql version

TheSenator 01-26-2004 08:42 PM

didn't work

Butrflied 01-26-2004 08:44 PM

are you trying to get them from the command line or from a php page?

lennox 01-26-2004 08:45 PM

its phpinfo();

Butrflied 01-26-2004 08:46 PM

from the command line :
> php -v
> mysql -V

.. I think

Damian_Maxcash 01-26-2004 08:51 PM

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 >

TheSenator 01-26-2004 09:01 PM

I am using command line....

How do I turn on mySQL?

or is it always on?

toddler 01-26-2004 09:04 PM

I strongly advise you go read some books. Or hire someone.

TheSenator 01-26-2004 09:10 PM

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...

fuzebox 01-27-2004 02:00 AM

Quote:

Originally posted by TheSenator
I am busted out the Coke and figuring this one out by sunrise...
:1orglaugh

Try starting your mysql server :)

kongen 01-27-2004 02:17 AM

Quote:

How do I turn on mySQL?
Depends on many things, but try this for start:

/etc/rc.d/init.d/mysqld start


All times are GMT -7. The time now is 10:38 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123