I'm doing a new install on an Ubuntu 8.04 server w/PHP5, MySQL server and apache2. I'm getting the "We're unable to use the MySQL database because the MySQL extension for PHP is not installed" error. If found the "extension=mysql.so" statement in the php.ini file and activated it, but find no "mysql.so" file on the server (even after installing mysql-client per a couple of forum/site recommendations. Any ideas? Thanks in advance, George George Rodgers-Clark http://testweb.depiction.com (troubled site)
Quoting George Rodgers-Clark <georger@depiction.com>:
I'm doing a new install on an Ubuntu 8.04 server w/PHP5, MySQL server and apache2. I'm getting the "We're unable to use the MySQL database because the MySQL extension for PHP is not installed" error. If found the "extension=mysql.so" statement in the php.ini file and activated it, but find no "mysql.so" file on the server (even after installing mysql-client per a couple of forum/site recommendations. Any ideas?
You have to install the extension separately. PHP can no longer distribute it. Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
A typical installation might look like this: $ sudo aptitude install apache2-mpm-prefork mysql-server php5-mysql cvs Victor Kane http://awebfactory.com.ar On Wed, Oct 15, 2008 at 8:22 AM, Earnie Boyd <earnie@users.sourceforge.net> wrote:
Quoting George Rodgers-Clark <georger@depiction.com>:
I'm doing a new install on an Ubuntu 8.04 server w/PHP5, MySQL server and apache2. I'm getting the "We're unable to use the MySQL database because the MySQL extension for PHP is not installed" error. If found the "extension=mysql.so" statement in the php.ini file and activated it, but find no "mysql.so" file on the server (even after installing mysql-client per a couple of forum/site recommendations. Any ideas?
You have to install the extension separately. PHP can no longer distribute it.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
-- [ Drupal support list | http://lists.drupal.org/ ]
$ sudo aptitude install apache2-mpm-prefork mysql-server php5-mysql cvs
yup this is enough to install php-mysql extension its better to run this command "sudo apt-get update" before installing a new software/package Also do "sudo a2enmod rewrite" to enable clean url Ubuntu is not using httpd.conf instead its using 000-default as configuration file where you can change your document root, overridding and other things -- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/
For a complete guide to installing Drupal on Ubuntu see my article on installing Drupal and Ubuntu on a VPS (there are 5-6 references at the bottom of the article to similar how-to articles): http://awebfactory.com.ar/node/275 On Wed, Oct 15, 2008 at 10:44 AM, sivaji j.g <sivaji2009@gmail.com> wrote:
$ sudo aptitude install apache2-mpm-prefork mysql-server php5-mysql cvs
yup this is enough to install php-mysql extension
its better to run this command "sudo apt-get update" before installing a new software/package
Also do "sudo a2enmod rewrite" to enable clean url
Ubuntu is not using httpd.conf instead its using 000-default as configuration file where you can change your document root, overridding and other things
-- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/
-- [ Drupal support list | http://lists.drupal.org/ ]
Thanks for all the responses. I've tried the options given, and am now running into "No install profiles found". Any recommendations? Thanks again, George -----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Victor Kane Sent: Wednesday, October 15, 2008 7:06 AM To: support@drupal.org Subject: Re: [support] PHP & MySQL For a complete guide to installing Drupal on Ubuntu see my article on installing Drupal and Ubuntu on a VPS (there are 5-6 references at the bottom of the article to similar how-to articles): http://awebfactory.com.ar/node/275 On Wed, Oct 15, 2008 at 10:44 AM, sivaji j.g <sivaji2009@gmail.com> wrote:
$ sudo aptitude install apache2-mpm-prefork mysql-server php5-mysql
cvs
yup this is enough to install php-mysql extension
its better to run this command "sudo apt-get update" before
installing a
new software/package
Also do "sudo a2enmod rewrite" to enable clean url
Ubuntu is not using httpd.conf instead its using 000-default as configuration file where you can change your document root, overridding and other things
-- Thanks a lot ----------------------------------------- http://ubuntuslave.blogspot.com/
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Hi, You can also try install via Synaptic then click Marked by Task and select LAMP Server. Hope that helps. On Wed, Oct 15, 2008 at 7:22 PM, Earnie Boyd <earnie@users.sourceforge.net>wrote:
Quoting George Rodgers-Clark <georger@depiction.com>:
I'm doing a new install on an Ubuntu 8.04 server w/PHP5, MySQL server and apache2. I'm getting the "We're unable to use the MySQL database because the MySQL extension for PHP is not installed" error. If found the "extension=mysql.so" statement in the php.ini file and activated it, but find no "mysql.so" file on the server (even after installing mysql-client per a couple of forum/site recommendations. Any ideas?
You have to install the extension separately. PHP can no longer distribute it.
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Linux Registered User #383849 http://kngphil.proboards58.com/ http://atats.blogspot.com/ http://sedemdbs.blogspot.com/
On Wed, Oct 15, 2008 at 6:04 AM, George Rodgers-Clark <georger@depiction.com
wrote:
I'm doing a new install on an Ubuntu 8.04 server w/PHP5, MySQL server and apache2. I'm getting the "We're unable to use the MySQL database because the MySQL extension for PHP is not installed" error. If found the "extension=mysql.so" statement in the php.ini file and activated it, but find no "mysql.so" file on the server (even after installing mysql-client per a couple of forum/site recommendations. Any ideas?
If you are using the Ubuntu php packages, try installing the php5 mysql extension: sudo apt-get install php5-mysql Joe Thanks in advance,
George
George Rodgers-Clark http://testweb.depiction.com (troubled site)
participants (6)
-
Earnie Boyd -
George Rodgers-Clark -
Joe Stewart -
sivaji j.g -
tata dano -
Victor Kane