Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a vserver running openSuse 10.3, Apache 2 and Plesk 8.4. I can update/upgrade neither, as it is apparently not recommended to upgrade openSuse 10.3 (and an update to the EOL 10.4 does not seem to make much sense) and Plesk fails to update no matter what version I try (even fails to upgrade to 8.4.1). Still I can live with that somehow, primarily because I don’t have the time to do a fresh remote install on the vserver.

What really is a problem is, that though the installed PHP is 5.2.6 it has no zip library and no json functions. The first is probably because PHP was not compiled with --enable-zip. The second is a big mystery though. As I understand it, it always comes with PHP unless its compiled with the --disable-json configure option. This is however not the case. And the json extension module is just not there. I even tried to enable it with extension=json.so with no luck either.

the configure options of my PHP are (as shipped with Plesk 8.4)


As I understand it, PECL is not an option with 5.2.6. Or am I mistaken? Even if I was not, the openSuse repository only goes as far as PHP 5.2.4. The openSuse install even came without zypper, which I had to manually install.

So is there a way to get ziplib and json running in PHP 5.2.6 without having to recompile the binary?

share|improve this question
"PECL is not an option with 5.2.6" - what makes you think this? – w3dk Aug 27 '12 at 20:22
I might have read this on other boards. And I did not find any PECL (I think it’s the php-pear package in yast for 5.2.6). but as I already said, it’s a big possibility, that I am mistaken. – maddrag0n Aug 28 '12 at 8:58
I just checked php.net/releases and did only find PECL 5.2.6 packages for Windows. – maddrag0n Aug 28 '12 at 9:37
This should probably be migrated to SO – Anagio Oct 9 '13 at 19:44
This should be moved to Unix&Linux instead. – mirabilos Dec 30 '14 at 15:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.