PHP 5.2 on SuSE 10.1

Installing SugarCRM 4.5 OS on my SuSE 10.1 was clean and nice as expected. It was just the php-json module, which SugarCRM installer stated it's optional, made SugarCRM perform very slow and in most cases exceeding execution time and leaking memory.
Anyways I wanted to install the JSON module to see how things will go, but unfortunately my dear SuSE 10.1 repositories didn't like it when I made 'smart install php5-json'.
I quickly asked my friend Google and I found out I need to add a php-specific repository which will allow me finally to upgrade PHP5 from 5.1 to 5.2:
http://repos.opensuse.org/server:/php/SUSE_Linux_10.1/
I added it to smart and installed php-json as part of php5.2, hope this may help anyone.

php 5.2

how did you upgrade to 5.2? i tried looking for a 5.2 rpm for suse and also tried installing from source but kept getting errors about where apache2 was

Submitted by Seant23 (not verified) on 5 December 2006 - 11:58pm.
Omar's picture
I thought everything was clear

Ouch, I thought I made things clear from the post.
Do you use smart package manager for SuSE?
If so, use smart GUI version and add a new HTTP channel.
Update your channels then do an upgrade.
You're done.
Omar Abdel-Wahab

Submitted by Omar on 6 December 2006 - 3:27pm.
out of topic - php4 and openSUSE

Maybe its out of topic but I have something for developers using openSUSE.

As you all probably noticed, starting from openSUSE 10.1 there is no php4 anymore :(

For those that sill need php4, here are smart channels:

For openSUSE 10.1:
http://repos.opensuse.org/home:/michal-m:/php4/SUSE_Linux_10.1/

For openSUSE 10.2:
http://repos.opensuse.org/home:/michal-m:/php4/openSUSE_10.2/

Enjoy :)

Submitted by dzalewski (not verified) on 18 December 2006 - 10:17am.
SugarCRM / PHP5.2 / PHP5-JSON 1.2.1

Hi Omar

I too am playing with OpenSUSe 10.1 and SugarCRM 4.5.0g and wanted to install JSON under PHP5.1 with no luck.

I came across your blog and followed your instructions:

- Installed smart and smart-gui; didn't even know these existed.
- Added http://repos.opensuse.org/server:/php/SUSE_Linux_10.1/ to the channel. That was an exercise in frustration in trying to figure how to do that. After much trial and error I discovereed that I needed to use "Provide channel information" -> "RPM metadata". I'm still not too sure what the alias means but I keyed 'PHP' into that field.
- Upgraded PHP5.1 to PHP5.2. That was a breeze.
- Installed PHP5-JSON. Nice...
- Ran the SugarCRM install and it now saw PHP5.2 and JSON 1.2.1 BUT it stated that neither PHP5.2.3 and JSON 1.2.1 are supported and that it would use the slower php code. Grrrr!!

Did I do something wrong? Did you get the same results?

Cheers.

Submitted by bcsi (not verified) on 3 June 2007 - 7:19pm.
Omar's picture
No

You've done nothing wrong my friend.
It's SugarCRM that states it needs a specific version of JSON which is, IMO, a stupid thing.
You still can run SugarCRM with your JSON version, don't worry.
Omar

Submitted by Omar on 4 June 2007 - 7:05am.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd><p>
  • You may post PHP code. You should include <?php ?> tags.
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options