zxivate Posted June 15, 2008 Share Posted June 15, 2008 Hello, I was wondering if there is an easy way of installing mySQL and PHP onto Ubuntu? Quote Link to comment https://forums.phpfreaks.com/topic/110267-mysql-and-php-for-ubuntu/ Share on other sites More sharing options...
tapos Posted June 15, 2008 Share Posted June 15, 2008 U have synaptic package manager to do this. BTW if u can't install php and mysql in Ubuntu use XAMPP for linux. Its easy to install (BTW i don't recommend this if u are using any linux OS) Quote Link to comment https://forums.phpfreaks.com/topic/110267-mysql-and-php-for-ubuntu/#findComment-565777 Share on other sites More sharing options...
zxivate Posted June 15, 2008 Author Share Posted June 15, 2008 I'm sorry, but I am just learning Linux and Ubuntu. Where do I go to get to that package? Quote Link to comment https://forums.phpfreaks.com/topic/110267-mysql-and-php-for-ubuntu/#findComment-565781 Share on other sites More sharing options...
corbin Posted June 15, 2008 Share Posted June 15, 2008 You might want to look into apt-get. (In case you can't google synaptic package manager ;p) If all else fails, you can download source, cd to the source dir in bash (or something similar) and run ./configure --help Then, select which params you want and configure, make and make install it. Quote Link to comment https://forums.phpfreaks.com/topic/110267-mysql-and-php-for-ubuntu/#findComment-565782 Share on other sites More sharing options...
zxivate Posted June 15, 2008 Author Share Posted June 15, 2008 so should I do sudo apt-get install mySQL and sudo apt-get install PHP? Quote Link to comment https://forums.phpfreaks.com/topic/110267-mysql-and-php-for-ubuntu/#findComment-565788 Share on other sites More sharing options...
zxivate Posted June 15, 2008 Author Share Posted June 15, 2008 sorry about putting it into the wrong section. Quote Link to comment https://forums.phpfreaks.com/topic/110267-mysql-and-php-for-ubuntu/#findComment-565805 Share on other sites More sharing options...
marklarah Posted June 15, 2008 Share Posted June 15, 2008 I've done this a million times. But first, did you install LAMP? Quote Link to comment https://forums.phpfreaks.com/topic/110267-mysql-and-php-for-ubuntu/#findComment-565837 Share on other sites More sharing options...
zxivate Posted June 15, 2008 Author Share Posted June 15, 2008 Well I know that LAMP is linux, apache, mySQL, and PHP. I have installed Linux(Ubuntu) and Apache by sudo apt-get install apache2, but have not done the other two because I'm not sure how. Quote Link to comment https://forums.phpfreaks.com/topic/110267-mysql-and-php-for-ubuntu/#findComment-565972 Share on other sites More sharing options...
trq Posted June 15, 2008 Share Posted June 15, 2008 Try calling... sudo apt-get php5 mysql be sure however to look through the list of suggested packages as theres likely to be some in there that you will want. Quote Link to comment https://forums.phpfreaks.com/topic/110267-mysql-and-php-for-ubuntu/#findComment-565982 Share on other sites More sharing options...
zxivate Posted June 15, 2008 Author Share Posted June 15, 2008 alright I got it to install PHP5 by using sudo apt-get install php5, but I couldn't get mySQL to work, any other suggestions Quote Link to comment https://forums.phpfreaks.com/topic/110267-mysql-and-php-for-ubuntu/#findComment-566036 Share on other sites More sharing options...
trq Posted June 15, 2008 Share Posted June 15, 2008 Try reading the manual for apt-get and apt-cache. These Debian derivatives are so simple to use once you learn the basics. Quote Link to comment https://forums.phpfreaks.com/topic/110267-mysql-and-php-for-ubuntu/#findComment-566097 Share on other sites More sharing options...
marklarah Posted June 15, 2008 Share Posted June 15, 2008 Read....a manual???? ;D ;D ;D Yeah right. A manual to a man (of anything) is what kryptonite is to superman (who was an awesome coder by the way) But seriously https://help.ubuntu.com/community/ApacheMySQLPHP Well help a LOT Quote Link to comment https://forums.phpfreaks.com/topic/110267-mysql-and-php-for-ubuntu/#findComment-566128 Share on other sites More sharing options...
devdavad Posted June 17, 2008 Share Posted June 17, 2008 Read....a manual???? ;D ;D ;D Yeah right. A manual to a man (of anything) is what kryptonite is to superman (who was an awesome coder by the way) But seriously https://help.ubuntu.com/community/ApacheMySQLPHP Well help a LOT Yeah I'd vouch for this method. I've tried XAMPP and found it limiting. Now if someone knew how to configure perl applications with the above apt-get method used that would be great. Quote Link to comment https://forums.phpfreaks.com/topic/110267-mysql-and-php-for-ubuntu/#findComment-566907 Share on other sites More sharing options...
trq Posted June 17, 2008 Share Posted June 17, 2008 Now if someone knew how to configure perl applications with the above apt-get method used that would be great. apt-get is simply used to call dpkg -i in the correct order to install a package and any of its dependencies. At no time are any of the Debian install tools involved in configuring any packages beyond that of any sane configurations. In fact most of the time the configurations are left in the same state they where in when created upstream. Hence, you should be able to follow any man page to get most anything working under Debian and most likely most of its derivatives (though they tend to play around with the configurations more). Quote Link to comment https://forums.phpfreaks.com/topic/110267-mysql-and-php-for-ubuntu/#findComment-566916 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.