Koozali.org: home of the SME Server

[How-to] install php5-cgi

Offline magwm

  • *
  • 157
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
[How-to] install php5-cgi
« Reply #15 on: August 03, 2007, 07:53:08 PM »
Hello, I would need to make a php4-cgi for sme7, any hints on how to do this?

ciao, M
MagWm

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
[How-to] install php5-cgi
« Reply #16 on: August 06, 2007, 01:25:39 PM »
Hi. The only help I can bring is that you'll need to recompile php4, changing the name of the rpm to become something like php4-cgi (in order to install it with php5 without conflict), then disable the apache module compilation. For this, you should get the php4 srpm and change the spec file, then rebuild it.
C'est la fin du monde !!! :lol:

Offline soprom

  • *
  • 589
  • +0/-0
    • www.logiciel-libre.org
Re: [How-to] install php5-cgi
« Reply #17 on: August 31, 2008, 06:52:35 PM »
With the next version of egroupware (1.6) we will need php5-pdo-mysql.
Can we just yum install it or does it need a more specific rpm?
Thanks.
Sophie from Montréal

Offline kb-ohnemus

  • ****
  • 154
  • +0/-0
    • http://www.kb-ohnemus.de
Re: [How-to] install php5-cgi
« Reply #18 on: September 02, 2008, 11:24:42 AM »
Also, according to http://www.egroupware.org/wiki?wikipage=Dependencies we might run into problems with mysql because:

Databases for upcoming release 1.6
You must have a database, any of the following are currently supported.

    * MySQL 5.0+

And: I tried running egroupware 1.4 with php5-cgi, but it is much slower than running it with php4 provided by SME-Server. So I just run the syncml-part with php5-cgi.

Seems that I will stick to 1.4 for another while.

Offline Daniel B.

  • *
  • 1,699
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: [How-to] install php5-cgi
« Reply #19 on: September 02, 2008, 05:31:57 PM »
I think now php can be upgraded to version 5, so php5-cgi is more or less deprecated. There's no tweaks for php5 to work on SME7, just upgrade it from centosplus repository. Of course, it's not recommended to do so, you should:
- test it first on some test server
- be sure to know what you're doing, so you can reverse if things goes bad

I've upgraded php on two production server and for now, everything is fine.
C'est la fin du monde !!! :lol: