Fill Posted December 22, 2007 Share Posted December 22, 2007 Hi there. I've used the Search here on the forum, and found this: Whats Os are you running, Windows or linux/Max? If its windows read this FAQ With PHP5 you need to enable the mysql_extension. If you are installing PHP on linux/mac you need to recomiple PHP with the -with-mysql command option. I'm trying to installl a phpBB3 forum hosted on my server. I have already installed apache, whicch came with php. I don't know which php version is installed (how can I see it on a Linux box?), and I've installed MySQL, created a database and a username. However phpBB doesn't recognize the MySQL databases and says MySQL is unavailable. So i presume my php version is 5, because as I read there's a small problem with MySQL and PHP5. So how can I see my php version? (debian linux computer) How can I recompile it? It was installed with apt-get, so I can't configure it while installing. Can I enable MySQL after it is installed? Quote Link to comment https://forums.phpfreaks.com/topic/82832-php-and-mysql/ Share on other sites More sharing options...
trq Posted December 23, 2007 Share Posted December 23, 2007 The amp stack is easy to install / configure on Debian. Here is what I would normally use... apt-get install \ make \ gcc \ g++ \ apache2-prefork-dev \ libapache2-mod-php5 \ php5-dev \ php-pear \ php5-sqlite3 \ php5-gd \ php5-cli \ php5-tidy \ php5-mysql \ php-doc Quote Link to comment https://forums.phpfreaks.com/topic/82832-php-and-mysql/#findComment-421415 Share on other sites More sharing options...
trq Posted December 23, 2007 Share Posted December 23, 2007 ps: To quickly and easily see what versions you have installed, run... dpkg -l | grep php from a terminal. Quote Link to comment https://forums.phpfreaks.com/topic/82832-php-and-mysql/#findComment-421416 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.