Update March 7, 2007
Apparently this will round robin to the damn error. *deep breath* In the event you didn’t hear about the Wordpress exploit *coughUpgradeImmediatelycough* Let’s start from the beginning with a different server and see where it leads.
Updated March 5, 2007
When installing PHP5 for use with Wordpress on Ubuntu Edgy you may get the following error message in your browser window when you visit http://localhost/wordpress/wp-admin/install.php
Your PHP installation appears to be missing the MySQL which is required for WordPress.
This can be tracked down to wp-settings.php found in the root directory of the Wordpress domain. In looking at the file we see around line 54 where the error develops.
if ( !extension_loaded(’mysql’) && !file_exists(ABSPATH . ‘wp-c[stopped]
die( ‘Your PHP installation appears to be missing the MySQL which is required for WordPress.’ );
activity leading to the error message:
try this:
sudo apt-get remove –purge apache2 apache2-common apache2-mpm-prefork apache2-utils ssl-cert
sudo apt-get install apache2
sudo apt-get install php4
sudo apt-get install libapache2-mod-php4
sudo /etc/init.d/apache2 restart
sudo apt-get install mysql-server
sudo apt-get install mysql-admin
download wordpress with wget
wget http://wordpress.org/latest.tar.gz
sudo tar zxvf latest.tar.gz –directory=/var/www/
mysqladmin -u root password Pick-a-NewPassword
sudo /etc/init.d/mysql restart
sudo apt-get install libapache2-mod-auth-mysql php5-cli php5-mysql php5-mysqli phpmyadmin
Now we see where the error kicks in:
sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart
http://127.0.0.1/phpmyadmin
Databases
Export
Import
Log out
Click on Databases
You see a textbox with the title Create New Database.
Type in wordpress and hit enter
On the left hand side of the frame click the home button.
Now click Privileges
Scroll down on this new page and click Add a new User
On this new page in the Login Information section-
User name type: newuser
Host: localhost
Password: billgates
Re-type: billgates
Now under the Global privileges section click Check All and click the go button.
Back at the gnome-terminal
sudo gedit /var/www/wordpress/wp-config.php
Fill in the newuser and billgates.
open browser to http://127.0.0.1/wordpress/wp-install.php
you will get this error:
Your PHP installation appears to be missing the MySQL which is required for WordPress.
The fix - later today.ref.http://www.supriyadisw.net/2006/12/wordpress-installation-on-ubuntu-with-lamphttp://ubuntuguide.org/wiki/Ubuntu:Edgy/Servers