Lamp Server with specific requirements for PHP

Hello all,

I’m needing to stand up a Lamp server for a SugarCRM migration. I’ve been told I need to ensure php 5.2 on the box along with ensuring several mod’s are installed as well for php and apache.

I was planning on using the lamp provided from xampp (apache friends) but they’re current build is using PHP 5.3, any suggestions on how to get around it?

If I have to build the whole thing from several packages (apache, php, mysql) then no problem, but I really like the myphpadmin page that comes with the xampp installer.

Any suggestions?

Do you have allready any idea about the operating system you want to use? I can assume openSUSE, but you do not mention it, let alone it’s level. And on Saturdays my crystal ball has a day off :slight_smile:

Awhile back I built a SugarCRM from source on OpenSuSE 11.0 with Webmin as the graphical machine administration tool.

Worked very well.

If you’re unsure how to select packages for your LAMP Server, you can use YAST’s “Patterns” and select “Web and LAMP Server.”
Looking on my 11.3, it looks like by default the packages for PHP 5.3.x are installed, without looking closely I don’t know how easily it would be to install PHP 5.2 packages, my guess is that packages from the 11.1 and 11.2 repositories would probably work but if you want a really simple install with no worries maybe installing 11.1 or 11.2 first with LAMP, then optionally upgrading to 11.3 would be the way to go.

If you go this route, I would recommend

  • Install OpenSuSE 11.1 LAMP with PHP 5.2, be careful that you have to install the final version of your database or risk having to do a migration
  • Install SugarCRM
  • Install Webmin, maybe myphpadmin as an alternative which I feel is less capable than Webmin
  • Optionally upgrade to OpenSuSE 11.3

But, I recommend you take a look at the SugarCRM forums and documentation, my guess is that you might be able to use PHP 5.3 with only a minimal config modification at most.