Most Rated Articles

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.

The MySQL Join allows you to query multiple tables to get the desired data. For example, you may want to get the email addresses from the customers table for all customers that are active AND have posted a listing in the products table.

One thing users will notice in Windows 7 is the lack of a quick launch feature. The quick launch has always been a staple feature in the old Windows OS (XP and Vista).

Linux  »  PHP
 Picture

How to upgrade php4 to php5 using yum

By: Jerry Slagger
Date Added : May 31, 2009 Views : 727




So you are finally going to bite the bullet and upgrade that unsupported php4 to the latest php5. Great! Before you get to gun ho, you need to make sure the current web applications running on the server you are going to upgrade support php5. In most cases they do but still better safe than sorry.  Do your research first. If possible, setup a test server with php5 and then test your sites on that before upgrading a product sever. This is not required but it can save you a lot of headaches by minimizing the likely hood of your production websites going down.

Once you are ready to do the upgrade you will need to schedule the downtime and get current backups of your data. Make sure you verify your backups are good before you start making changes to the production server! Last thing you want is to have a major issue, have to recover from backups, and find the backups are useless!

Ok, now that you have prepared and are ready to upgrade php4 to php5 lets began.

1.    Login to the server as root. This can be done at the console or remotely via ssh.

2.    At the shell prompt enter:
       # yum php update.

3.    Review the packages that will be installed and if all looks good continue by entering Y.

4.    After the install completes rename php.ini.rpmnew to php.ini
       # mv /etc/php.ini /etc/php.ini.backup
       # mv /etc/php.ini.rpmnew /etc/php.ini

5.    Now restart Apache and you are all set.
       # service httpd restart

The server should now show php5 when you check your phpinfo(). Note, if you have any sites that use global registers you will need to turn them on for those sites. PHP5 does not have then on by default.

You can enable the global registers on a site-by site bases by putting the following in your .htaccess file.
php_admin_value register_globals "On"

Also, if you are using Zend Optimizer, DO NOT FORGET to upgrade it too. Click here for my my article on How To Install Zend.

For more information, please see:
PHP.net
yum
Apache





Article Categories