# Upgrade php 5.2 to 5.3 from iworx-unsupported

**URL:** <https://forums.interworx.com/t/upgrade-php-5-2-to-5-3-from-iworx-unsupported/12853>\
**Category:** General Discussion\
**Tags:** php5, php, php-upgrade, php532\
**Created:** [December 13, 2010, 12:06pm UTC](https://forums.interworx.com/t/upgrade-php-5-2-to-5-3-from-iworx-unsupported/12853 "2010-12-13T12:06:38Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![interlock](https://forums.interworx.com/letter_avatar_proxy/v4/letter/i/f17d59/32.png) [@interlock](https://forums.interworx.com/u/interlock)\
**Post date:** [December 13, 2010, 12:06pm UTC](https://forums.interworx.com/t/upgrade-php-5-2-to-5-3-from-iworx-unsupported/12853/1 "2010-12-13T12:06:38Z")

</div>

I see some php53-\* packages have come to iworx-unsupported. Any preliminary instructions on upgrading from the standard php packages iworx-unsupported supports? I’m not keen on running two versions of php 5.x (on staging or live). Since 5.2 is no longer supported, I’d like to move our php support to 5.3.

---

<div class="post-metadata">

**Author:** ![standus](https://forums.interworx.com/letter_avatar_proxy/v4/letter/s/c77e96/32.png) [@standus](https://forums.interworx.com/u/standus)\
**Post date:** [December 15, 2010, 12:06pm UTC](https://forums.interworx.com/t/upgrade-php-5-2-to-5-3-from-iworx-unsupported/12853/2 "2010-12-15T12:06:42Z")

</div>

me to. need more informations from interworx.

---

<div class="post-metadata">

**Author:** ![CRServers](https://forums.interworx.com/user_avatar/forums.interworx.com/crservers/32/13_2.png) [@CRServers](https://forums.interworx.com/u/CRServers)\
**Post date:** [March 9, 2011, 5:17am UTC](https://forums.interworx.com/t/upgrade-php-5-2-to-5-3-from-iworx-unsupported/12853/3 "2011-03-09T05:17:57Z")

</div>

We’ve used the procedure detailed here successfully:  
[http://interworx.com/forums/showthread.php?t=3159&highlight=php+5.3](http://interworx.com/forums/showthread.php?t=3159&highlight=php+5.3)

Hope it helps,

Rodrigo

---

<div class="post-metadata">

**Author:** ![Justec](https://forums.interworx.com/letter_avatar_proxy/v4/letter/j/e47774/32.png) [@Justec](https://forums.interworx.com/u/Justec)\
**Post date:** [March 9, 2011, 3:23pm UTC](https://forums.interworx.com/t/upgrade-php-5-2-to-5-3-from-iworx-unsupported/12853/4 "2011-03-09T15:23:38Z")

</div>

I just finally moved to 5.2 from 5.1. I used the following YUM method, [http://interworx.com/forums/showthread.php?t=3139](http://interworx.com/forums/showthread.php?t=3139)

I think I’ll wait for an easy, officially unsupported yum update method comes along before going to go 5.3.

---

<div class="post-metadata">

**Author:** ![CRServers](https://forums.interworx.com/user_avatar/forums.interworx.com/crservers/32/13_2.png) [@CRServers](https://forums.interworx.com/u/CRServers)\
**Post date:** [March 9, 2011, 3:35pm UTC](https://forums.interworx.com/t/upgrade-php-5-2-to-5-3-from-iworx-unsupported/12853/5 "2011-03-09T15:35:26Z")

</div>

> [@Justec;17970](#):
>
> I think I’ll wait for an easy, officially unsupported yum update method comes along before going to go 5.3.

The procedure I pointed out above is a “Yum Method” and it is easy to do.

Whatever :rolleyes:

Rodrigo

---

<div class="post-metadata">

**Author:** ![R-n-R](https://forums.interworx.com/letter_avatar_proxy/v4/letter/r/ba9def/32.png) [@R-n-R](https://forums.interworx.com/u/R-n-R)\
**Post date:** [March 24, 2011, 12:20pm UTC](https://forums.interworx.com/t/upgrade-php-5-2-to-5-3-from-iworx-unsupported/12853/6 "2011-03-24T12:20:02Z")

</div>

Quick question guys, whats the motivation (need) to move over to php 5.3? s it because you have scripts needing 5.3 or something else.

Just curious.

---

<div class="post-metadata">

**Author:** ![Justec](https://forums.interworx.com/letter_avatar_proxy/v4/letter/j/e47774/32.png) [@Justec](https://forums.interworx.com/u/Justec)\
**Post date:** [March 24, 2011, 12:38pm UTC](https://forums.interworx.com/t/upgrade-php-5-2-to-5-3-from-iworx-unsupported/12853/7 "2011-03-24T12:38:21Z")

</div>

[QUOTE=CRServers;17971]The procedure I pointed out above is a “Yum Method” and it is easy to do.

Whatever :rolleyes:

Rodrigo[/QUOTE]

Yes, it is, but it’s not under that “Officially Unsupported” space that makes me feel all warm and cozy inside 😃

Although your method looks easy enough if anyone has a real need to upgrade, I don’t…yet.

---

<div class="post-metadata">

**Author:** ![IWorx-Dan](https://forums.interworx.com/letter_avatar_proxy/v4/letter/i/d2c977/32.png) [@IWorx-Dan](https://forums.interworx.com/u/IWorx-Dan)\
**Post date:** [March 28, 2011, 12:12pm UTC](https://forums.interworx.com/t/upgrade-php-5-2-to-5-3-from-iworx-unsupported/12853/8 "2011-03-28T12:12:48Z")

</div>

Keep in mind guys that InterWorx has it’s own isolated sandboxed-in versions of PHP/Apache/MySQL which are used _only_ for running the control panel and webmail. These are located with /usr/local/interworx and will not host or execute code located outside of the interworx install dir.

This means you can change the “system” PHP/Apache/MySQL (and by system I mean the instances that hosted sites run on) without breaking the panel. These are the php, php-\* (with the exception of php-iworx but this doesn’t have a dependency on php), mysql-server, and httpd packages in yum. As long as the packages are compatible with the OS you are running and any existing client websites, you won’t break anything.

Some things to keep an eye out for:

- Updating PHP may break code on a client’s website
- Updating PHP to a version that isn’t packaged with an extension you need - make sure all the extensions you need are available from the repository you are updating from
- Updating MySQL and forgetting to run the mysql\_upgrade script.
- Updating MySQL and not having old\_passwords=1 in /etc/my.cnf which makes phpmyadmin unuseable from inside the panel.
- Updating apache and it not having a module you need.
- Installing a repo like DAG/rpmforge or atomic turtle and leaving it active. If you install these repositories:  
yum update php php-[whatever packages you need]\*  
and then open the .repo file in /etc/yum.repos.d/ and set enabled=0.  
otherwise you might find that rrdtool, spamassassin, clamav, etc. might get overwritten during an update. These packages (unlike php, httpd, and mysql-server) should not be overwritten by a 3rd party as they will become incompatible with InterWorx.

If you guys need more detail on anything let us know.
