Solved

EasyApache with PHP 5.3

Posted on 2011-09-11
10
692 Views
Last Modified: 2012-05-12
Hi,

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.

Thanks,
Victor
0
Comment
Question by:Victor Kimura
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 5

Accepted Solution

by:
Didier Vally earned 125 total points
ID: 36520809
0
 
LVL 7

Assisted Solution

by:boon86
boon86 earned 125 total points
ID: 36521225
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.
0
 
LVL 13

Assisted Solution

by:LinuxGuru
LinuxGuru earned 250 total points
ID: 36521281
Hi,

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 !!!
0
MongoDB Through a MySQL Lens

This article looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.

 

Author Comment

by:Victor Kimura
ID: 36522675
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.
0
 

Author Comment

by:Victor Kimura
ID: 36522746
boon86,

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.

Thanks,
Victor
0
 
LVL 13

Assisted Solution

by:LinuxGuru
LinuxGuru earned 250 total points
ID: 36525473
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
0
 
LVL 7

Expert Comment

by:boon86
ID: 36526602
did you see php 5.3 when selecting php version inside whm -> easyapache ?





0
 

Author Comment

by:Victor Kimura
ID: 36526897
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.
0
 
LVL 13

Expert Comment

by:LinuxGuru
ID: 36528593
Hi Victor,

Ok. Let us know if you require further assistance.
0
 

Author Comment

by:Victor Kimura
ID: 36551428
Thank you. They got it to work. =)
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question