# Php 5.2.1

**URL:** <https://forums.interworx.com/t/php-5-2-1/11561>\
**Category:** General Inquries\
**Created:** [April 18, 2007, 4:59am UTC](https://forums.interworx.com/t/php-5-2-1/11561 "2007-04-18T04:59:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [April 18, 2007, 4:59am UTC](https://forums.interworx.com/t/php-5-2-1/11561/1 "2007-04-18T04:59:42Z")

</div>

[LEFT]Hi all,

I have an Interworx RC3 running on my fedora core 4 server .  
This server is now running php 5.0.4 (latest fedora update in their update site)

After the latest serious security bug found in latest php (\<5.2.1 and \<4.4.6) i need to update the server to php 5.2.1.

So my question is , can i manually install php or it will be a problem ?

Thanks !

Dimitris[/LEFT]

---

<div class="post-metadata">

**Author:** ![IWorx-Socheat](https://forums.interworx.com/letter_avatar_proxy/v4/letter/i/ed655f/32.png) [@IWorx-Socheat](https://forums.interworx.com/u/IWorx-Socheat)\
**Post date:** [April 18, 2007, 6:11am UTC](https://forums.interworx.com/t/php-5-2-1/11561/2 "2007-04-18T06:11:30Z")

</div>

By manual, do you mean from source? We typically recommend building from SRPMs, but in either case, as long as you’re careful, you should be able to upgrade PHP without causing problems with InterWorx.

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [April 18, 2007, 6:18am UTC](https://forums.interworx.com/t/php-5-2-1/11561/3 "2007-04-18T06:18:58Z")

</div>

I will download the original php distrubition (tar.gz) and configure with the default configuration from phpinfo.

---

<div class="post-metadata">

**Author:** ![Fr3d](https://forums.interworx.com/user_avatar/forums.interworx.com/fr3d/32/27_2.png) [@Fr3d](https://forums.interworx.com/u/Fr3d)\
**Post date:** [April 18, 2007, 6:20am UTC](https://forums.interworx.com/t/php-5-2-1/11561/4 "2007-04-18T06:20:52Z")

</div>

> [@ugh82;12594](#):
>
> I will download the original php distrubition (tar.gz) and configure with the default configuration from phpinfo.

I’ve done this too, and it works fine - but I’d recommend finding a SRPM if you can, it makes it much easier in the long run 🙂

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [April 18, 2007, 6:22am UTC](https://forums.interworx.com/t/php-5-2-1/11561/5 "2007-04-18T06:22:37Z")

</div>

RE: php 5.2.1

Hm nice!🙂

I suppose that this applies also to the apache !

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [April 19, 2007, 6:16am UTC](https://forums.interworx.com/t/php-5-2-1/11561/6 "2007-04-19T06:16:48Z")

</div>

So the results of updating to 5.2.1 …

There was some problem with pcre-5.0.4 . I update to 7 , but then the php has some problem :  
“preg\_match: internal pcre\_fullinfo() error -3”

on some scripts…

So i download the 5.2.2 RC2 and all the problems are fixed…

Just to know if you have the same problem

---

<div class="post-metadata">

**Author:** ![hubbadubba](https://forums.interworx.com/letter_avatar_proxy/v4/letter/h/b9bd4f/32.png) [@hubbadubba](https://forums.interworx.com/u/hubbadubba)\
**Post date:** [April 23, 2007, 1:47pm UTC](https://forums.interworx.com/t/php-5-2-1/11561/7 "2007-04-23T13:47:10Z")

</div>

Thanks for that tip about 5.2.2.

I had installed 5.2 successfully using the SRPMs from steadfast posted on the Iworx forum [here](http://www.interworx.com/forums/showthread.php?t=1961&highlight=steadfast) . Is there a way to patch their SRPM, or do I need to build it from scratch?

---

<div class="post-metadata">

**Author:** ![system](https://forums.interworx.com/uploads/default/original/2X/4/40ab17cc34b792a0172b48ad1333b9ba9299a9a1.png) [@system](https://forums.interworx.com/u/system)\
**Post date:** [April 24, 2007, 2:09am UTC](https://forums.interworx.com/t/php-5-2-1/11561/8 "2007-04-24T02:09:33Z")

</div>

The problem appears at the pcre module of php.

The 5.2.2 is in Prelease Candidate so there is not any SRPM available.  
Also ZEND isn’t recognize this as php problem so , there is not any official patch. I just compile and install the latest snapshot and is working for me!
