If a downgrade to PHP 5.2 is needed do the following:
1. The repositories for Centos 6 do not include old packages (another reason to stick with 5.6) so we need to pull all packages needed.
Therefore we access the server, create a folder there (mkdir php) and then enter that folder (cd php)
2. Once inside we need to download all packages needed; One trusted source is this: http://www6.atomicorp.com/channels/atomic/centos/6/x86_64/RPMS/
Once you have opened that on your browser, search for all php- .rpm files that are for your Centos version, there is 32 and 32+64 bits, to know the correct one do a uname –a at the server, if you see it says x86_64 then make sure that all .rpm files you download have that on their names, then
wget them to the server:
Once you have downloaded all files that begin with php- proceed to install the following files:
Yum install Automake autoconf libt1*
**make sure to add that ^ asterisk too
3. Once completed then type: rpm –oldpackage -Uvh php*
4. When done, type php –v to check the version, it should say 5.2 – Done
python –m SimpleHTTPServer
python -m http.server
In this short tutorial we will install WordPress on a Ubuntu 11.04 server. Before you begin you will need to configure and verify network connectivity. You will also need to install the following software:
To begin installing WordPress, first we will download and install the WordPress software: wget http://wordpress.org/latest.tar.gz
Then extract the file: sudo tar -zxvf latest.tar.gz The extracted file is named wordpress.
Now move the wordpress folder into the /var/www directory: sudo mv wordpress /var/www/wordpress
Change directory to /var/www: cd /var/www
Start the mysql software installed on your server: mysql -u -root -p
Next, enter the command: Create database wordpress; This command creates a database called wordpess.
To confirm that the database was created successful enter the command: Show databases;
Once you have confirmed the “wordpress” database enter the command: Exit
Rename your wp-config.sample.php file to wp-config.php: sudo mv wp-config-sample.php wp-config.php
Next, edit the file wp-config.php: sudo nano wp-config.php
For the next step we will install php5-mysql. This is very important: sudo apt-get install php5-mysql
Finally, restart apache: sudo /etc/init.d/apache2 restart
Test to ensure that the install was successfully- enter your ip address into your internet browser and hit enter. If the install was successful you should be directed to a WordPress activation page.
Your done!, WordPress has now been installed.
To find out how to use one WordPress database for several blogs… Check-out http://flawlesspix.com for more info.