![]() |
![]() |
![]() |
||||
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
Join Date: Mar 2002
Location: Australia
Posts: 17,393
|
Silly mysql+php install question
Is it possible to install PHP with mysql without needing to install the entire mysql server suite? I've seen lots of complaints about this in the past, just wondering if it's still a current issue.
Bit like installing a petrol station in your front yard when you only fill up once a week. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Aug 2007
Posts: 691
|
php is php and mysql is mysql, if anything you install php + mysql driver
__________________
Delete this account, i am done here |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Too lazy to set a custom title
Join Date: Mar 2002
Location: Australia
Posts: 17,393
|
Uh, what? The issue I'm talking about is that you have to install the whole mysql server in order to be able to use its client with PHP.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: Apr 2007
Posts: 983
|
Are you installing it for Linux or Windows?
They have the installs pre-canned and should be the most current versions. Just do a Google search for LAMP (Linux) or WAMP (Windows). I would highly recommend going with LAMP. ![]() If you're installing on your server then you can use localhost as your sql server instead of mysql.yourdomain.com as the database path.
__________________
Skype: Triplexprint |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Feb 2008
Location: Montevideo
Posts: 775
|
If you want your page to vbe dynamic and you want to test it locally, you have no choice but to install the mysql server, and I bet that you do.
To be honest I haven't heard any complaints about it. =) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Too lazy to set a custom title
Join Date: Mar 2002
Location: Australia
Posts: 17,393
|
It's under FreeBSD, and the server is not local. That's the whole problem, I have to compile the entire server in order to install the client libraries for PHP to compile in.
It's not a biggie, just wondering if there's a more efficient way of doing it (ie just compiling the client library) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: May 2005
Posts: 2,737
|
It depends on the distribution you are using. Most allow you to just install the client.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Oct 2003
Location: Command Central, West Palm Beach, Fl
Posts: 1,794
|
you just have to do a ./configure and add in mysql commands. most php install come with mysql already tied into it though. do a echo phpinfo(); and see if there is anything about mysql on it.
__________________
I do stuff - aIm CS_Jay_D |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Too lazy to set a custom title
Join Date: Mar 2002
Location: Australia
Posts: 17,393
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Join Date: May 2005
Posts: 2,737
|
Sorry, meant distribution of linux. As for compiling from source, that's silly as most have package management systems that are pretty up to date.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Too lazy to set a custom title
Join Date: Mar 2002
Location: Australia
Posts: 17,393
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Registered User
Join Date: Oct 2007
Posts: 40
|
Use that compile option:
--without-server Only build the client.
__________________
OneZero Hosting - We're a perfect 10 when it comes to your hosting and Internet needs! To us every last customer and every server also rates a perfect ten! IM (xmpp): [email protected], http://onezerohosting.com, [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Too lazy to set a custom title
Join Date: Mar 2002
Location: Australia
Posts: 17,393
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Registered User
Join Date: Dec 2007
Posts: 9
|
you could always use the binary installer, pkg_add -r mysql5
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Join Date: Dec 2007
Location: Chatsworth, CA
Posts: 1,964
|
You can install all of that in 1 executable. Look for the easy distros. SqlLite is easy to install and extremely small. Not sure how easy it is to get it to work in PHP though.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
Industry Role:
Join Date: Sep 2003
Location: NZ
Posts: 673
|
If you are manually compiling from source chances are you are doing something wrong to begin with.
The FreeBSD port sytem separates client and server: /usr/ports/databases/mysql50-client /usr/ports/databases/mysql50-server
__________________
-- react |
![]() |
![]() ![]() ![]() ![]() ![]() |