Solved

EasyApache with PHP 5.3

Posted on 2011-09-11
10
690 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
Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

 

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
embadded search engine in website 4 47
grep command usage 10 34
Google Recaptcha 13 56
Why are my javascript files being read from cache 11 12
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
This article discusses four methods for overlaying images in a container on a web page
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

752 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