Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 14th May 2006, 19:01
grafik grafik is offline
Junior Member
 
Join Date: May 2006
Location: Romania
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to grafik Send a message via Skype™ to grafik
Question how to make php to work with mysql (php installed with apt-get, (no mysql support)

I've just found this site, and it seems to be really great!
I'm using your "The Perfect Setup - Debian Sarge (3.1)" howto, and I've realized running the phpinfo () script that php was compile without mysql support. I need mysql support in php, because most php scripts especially login related use mysql .
> My question is how could I install php with mysql support using apt-get , or there is no way doing it without compiling mannualy ? thanks a lot
> respectfully Istvan Juhos
> - is there a way to make changes to work mysql in php?
Reply With Quote
Sponsored Links
  #2  
Old 15th May 2006, 13:48
Wido Wido is offline
Junior Member
 
Join Date: May 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

apt-get install php4-mysql

That should do the trick!
Reply With Quote
  #3  
Old 15th May 2006, 16:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

And don't forget to restart Apache!
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #4  
Old 16th May 2006, 00:18
grafik grafik is offline
Junior Member
 
Join Date: May 2006
Location: Romania
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to grafik Send a message via Skype™ to grafik
Smile

Thanks, I've already installed that package, and probably mysql was working in php, I've been confused because phpinfo() said that there was a compilation without mysql
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with BIND and ISPConfigs's DNS Manager Nejko Installation/Configuration 66 22nd April 2006 21:47
Install Error Alpha Installation/Configuration 9 6th April 2006 20:48
Downgrade php5 to php4.4.2 llizards Installation/Configuration 4 14th March 2006 00:58
setup fails on debian 3.1 dtrumbower Installation/Configuration 7 7th March 2006 14:42
ISPConfig Failure on SuSe 9.3 gimhan90 Installation/Configuration 13 2nd February 2006 11:29


All times are GMT +2. The time now is 01:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.