EasyApache with PHP 5.3


I'm wondering if I have to upgrade my easyapache on WHM/cPanel if I wish to upgrade to PHP 5.3. I have EasyApache 3.6.1

PHP 5.2.17 (cli) (built: Aug  3 2011 04:41:21)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

If I have to upgrade my EA then how do I ugrade it. I browsed the cPanel site but I can't find the info.

Victor KimuraSEO, Web DeveloperAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

Didier VallyConnect With a Mentor Systems Engineer and Finance AnalystCommented:
boon86Connect With a Mentor Commented:
follow these step:

1) Login to your VPS as root using SSH

2) Run the command: /scripts/upcp -force

3) Restart cPanel: /etc/init.d/cpanel restart

Open in new window

The actual upgrade may take a while, so you will need to be patient.
LinuxGuruConnect With a Mentor Linux Server AdministratorCommented:

You just need to login to your WHM, and use your easy apache to upgrade to php.5.3.1. Also you can upgrade php easily by using the back end script /scripts/easyapache . Note that command line provides more flexible and powerful functionality. If you are not much experienced in backend, you may use the easy apache in WHM.

Please refer the following steps for easy apache update using /scripts/easyapache

After running /scripts/easyapache, first screen, you'll see an option to load several "pre-configured" settings. In general, you'll want to use your existing configuration, Previously Saved Config.

Up and down arrows will scroll, the tab key will switch between sections, and space bar will select/deselect.

Select the version of Apache you wish to run, 1.3/2.0/2.2.

PHP Version:

One the next screen, you'll have the option to select the PHP version you want.

On the Short Options List, you can select the basic options to configure. Be aware that these options can break your Apache configuration if you do not configure them properly. Be careful!

You can now save and build Apache.

If you need specific PHP options configured, select "Exhaustive Options List" .

Once you've compiled Apache and there are no errors or problems, you can restart the following services .

service cpanel restart
service mysql restart
service httpd restart

Cheers !!!
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Victor KimuraSEO, Web DeveloperAuthor Commented:
Thanks, testez. I tried that via the command line but there are only 2 options for PHP: PHP 4 and 5 so it actually doesn't upgrade to PHP 5.3.

boon86, I'll try it now.

Thanks for the link ppcdev. I saw that link before but I couldn't find a way to do it. Trying what boon86 mentioned.
Victor KimuraSEO, Web DeveloperAuthor Commented:

It seemed to work fine. But the PHP is the same. Do I need to execute additonal steps?

I also notice my smtp is not functioning now. I can send successfully but not receive. What could have happened? It's using EXIM for SMTP.

LinuxGuruConnect With a Mentor Linux Server AdministratorCommented:
Hi Victor,

Yes. You are correct. There will be an option to select PHP4 and PHP5. Select PHP5 and then go to next step. Now you will be able to select the specific php version. Check the attached screenshots. The screenshots are from an earlier version of easy apache installer.

Note: I have not yet checked the latest version of PHP available in easy apache.

 Choose PHP4 or PHP5 Select Required PHP version
did you see php 5.3 when selecting php version inside whm -> easyapache ?

Victor KimuraSEO, Web DeveloperAuthor Commented:
Hi fellas,

Thanks. Yes, I got it to work but when it was rebuilding there were errors like:

This is the command that failed:
        yum --exclude=kernel* -y install gettext automake19 libpng-devel readline-devel openssl libpng-dev zlib-devel autoconf261 libidn-devel gmake libidn libXpm openssl-devel automake coreutils patch libstdc++-dev libltdl3-devel libltdl libopenssl0.9.7-static-devel readline-dev icu-dev libtool-ltdl-devel libicu sed libXpm-devel libXpm-dev lsof krb5-dev flex glibc-dev expat-dev krb5-devel xorg-x11-devel libtool-ltdl libssl-dev bzip2-devel pam-devel icu-devel libopenssl0-devel zlib1-devel expat-devel libicu-dev libopenssl0-dev gcc-c++ expat glibc-devel libstdc++ zlib libicu-devel bison libstdc++-devel libjpeg-devel libtool-libltdl-devel libtool openssl-dev libopenssl0 libz-devel bzip2-libs libjpeg-dev pam-dev fileutils libltdl-devel libopenssl0.9.7-devel e2fsprogs-devel icu make libX11-devel libstdc++-devel.x86_64 gd cpp xorg-x11-dev gcc ssl-dev lex autoconf

So I submitted a ticket to cPanel and someone is looking at it right now. I'll try and post when I receive an answer.
LinuxGuruLinux Server AdministratorCommented:
Hi Victor,

Ok. Let us know if you require further assistance.
Victor KimuraSEO, Web DeveloperAuthor Commented:
Thank you. They got it to work. =)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.