Most Rated Articles

Installing Apache and Apache Modules the easy way

The Essential steps on how to Sysprep Windows 7

SSH is very much similar to telnet. SSH is a shell program which allows a user remote access and the ability to execute commands over a network.

It is important to protect your wireless networks from unwanted and abusive users. Unauthorized users may reduce the bandwidth and may lock up your network

There are many methods on how to optimize apache. It could be on the software side, but upgrading the hardware also makes a difference.

With Windows 7 as a new OS in the market, one may worry about any problems that could be encountered especially network issues such as compatibility with older OS. Windows 7 might encounter problems communicating with older Windows models such as XP. The following are ways on how to network Windows 7 and XP.

One way of installing windows over the network is through the use of RIS or Remote Installation Services. However, you must have the following prerequisites in order to install Windows over the network.

Installing a printer on a mac is just as easy as installing a printer on an OS of Windows. The following steps are just some of the steps on how to connect your printer a Mac operating system.

Nowadays, it is important to have access to Wi-Fi. However, not everyone has their own internet connection so most people leech wherever there is free Wi-Fi. Most routers with Wi-Fi access require passwords but nowadays, there are other places to look around and search for free Wi-Fi.

Some applications cannot install in Windows 7 due to incompatibility issues. A solution would be to enable XP mode in a virtual environment of Windows 7. This configuration may be used to run and install programs that were incompatible in Windows 7.

Programming  »  PHP
 Picture

How to downgrade PHP

By: Anton Locsin
Date Added : June 19, 2010 Views : 221



Upgrading to the newest version of PHP is not always the best option. Most of the time, newer versions of PHP are not compatible with other software and programs. Newer versions of PHP may cause some problems on incompatible software such as crashing and slowdown. The following is an example on how to downgrade PHP (version 5.3 to 5.2).

The 1st step is to remove PHP. Remove PHP with the following steps:

sudo apt-get remove php5-common
sudo apt-get remove php5-cli
sudo apt-get remove php5
sudo apt-get autoremove memcached


The next step is to revise the list of your sources to the downgraded PHP version. In the sources list, the following examples should be removed:

deb http://php53.dotdeb.org stable all
deb-src http://php53.dotdeb.org stable all


The next step is to add the needed 5.2 packages

deb http://http.us.debian.org/debian stable all
deb http://security.debian.org/ stable/updates main contrib
deb http://packages.dotdeb.org/ stable all


Next is to install the downgraded version of PHP (sudo apt-get update, sudo apt-get install php5-cl, sudo apt-get install php5) and reinstall any modules (sudo apt-get install memcached, sudo apt-get install php5-memcache, sudo apt-get install php5-curl, sudo apt-get install php5msql) that the application requires in PHP.

Lastly, restart apache to see the changes.

services httpd restart




Article Categories