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.
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
Omar's picture
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
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 :)
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.
Omar's picture
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
Omar, thanks for your tip - I have been losing a lot of hair lately trying to upgrade from PHP 5.1 to 5.2 because of some Drupal dependencies. The repository you mention above http://repos.opensuse.org/server:/php/SUSE_Linux_10.1/ doesn't seem to exist anymore. Do you know of any other repository where I could get the PHP 5.2 upgrade from? I have managed my software with yast until now - so if you know a repository for yast that will work as well. Thanks in advance for your help. Mike
Omar's picture
The short answer is: No. I don't know any other repository. The long answer is: I believe you might need to upgrade your distro to a more recent one, say 11.0. I am not quite sure that this process will be painless but I also can't blame OpenSUSE for dropping support for 10.1, that's way too old version...
Thanks Omar. If I have to take the pain of going to SUSE 11, it might make more sense to go to Ubuntu server edition. Mike
Omar's picture
The Ubuntu Server edition might open up a whole new discussion. First, if you have the option to move from SUSE then just do it. I didn't like SUSE being that fragile when it comes to configuration files, i.e. I should be able to change the configuration files without having the configuration manager (YAST) complain about it. Coming to the next point: Ubuntu server. If you will move to a Debian based distro for a server machine then go to Debian itself. You won't be very worried about having the bleeding edge, or very recent to start with, when it comes to a server machine. Debian is very stable and has dozens of nice tools and documentation for administrators. I run Gentoo currently on my laptop and have Debian on my server machine and I am very happy with Debian. Hope that helps.
perfume de feromonas Excellent thanks for share, i cant imagine so easy to do, hope dont have any problem when try it, im not so skillful like you.
Thanks i was needing to switch from 5.1 to 5.2   <br> http://charter.breldyng.net

About Me

I am Omar. An OpenSource enthusiast, I do Drupal contributing and service providing. Get some more boring details here. You may contact me for any ideas, questions or help.

Tags

Online

There are currently 0 users and 2 guests online.
Powered by Drupal, an open source content management system