Solved

EasyApache with PHP 5.3

Posted on 2011-09-11
10
686 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
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Intel fortran compiler (ifort) 5 38
Custom Wordpress Loop 22 38
AJAX Wordpress Not Reading Variable 2 27
AJAX, If No returns don't let the AJAX Call run again 2 20
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will giveā€¦
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

856 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