In need of WordPress this morning I did the following to install L.A.M.P. on a Ubuntu Edgy system.
sudo apt-get install apache2 mysql-server mysql-client-5.0 php5 php5-mysql
sudo apt-get install php5-CGI php5-CLI php5-gd php5-imagick php5-json php5-odbc postgresql php5-pgsql php5-sqlite PHP-auth PHP-doc mysql-admin mysql-query-browser apache2-doc pgadmin3 pgdocs-PDF phppgadmin
http://127.0.0.1/blah/wp-admin/install.php
Use the standard server server setup as far as configuring your choice of default or acceptable endings. I highly suggest you go with browser client configuration of the database.
Share This
เปิดไฟล์?/etc/apt/sources.list.
แล้วเพิ่ม?????????? deb http://th.archive.ubuntu.com/ubuntu
สั่ง??# apt-get install mysql-server-4.1
If everything goes well, you will have MySQL 4.1 running.
แค่นี้ก็จะได้ MySQL server 4.1 แล้วครับ
Well, first off if you have found the definitive answer to the incompatible versions of Apache, PHP & mySQL - please speak up for the masses. Surely I am not the only concerned. I’ve never had this much trouble with setting up a CMS. Geeez.
Due to some auto-update problem this morning & old article was placed here instead of this one.
Share This
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 instal
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 ne