Koozali.org: home of the SME Server

[announce] PHP version 5 - standalone install

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
[announce] PHP version 5 - standalone install
« on: January 29, 2009, 12:13:24 PM »
Hi all

I have been working on a update to php5-cgi from Firewall Services. I have successfully created RPM packages for PHP 5.2.8 - the latest version - and a brand new integration package that makes it super easy to turn it on for ibays:

Code: [Select]
db accounts setprop [ibayname] php5 yes
signal-event ibay-modify [ibayname]

For installation instructions etc, check out the wiki page at http://wiki.contribs.org/PHP5

Note that this is beta quality code. It compiles, and performs its basic functions but I haven't done extensive testing.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: [announce] PHP version 5 - standalone install
« Reply #1 on: January 29, 2009, 08:33:38 PM »
Hi all

I have been working on a update to php5-cgi from Firewall Services. I have successfully created RPM packages for PHP 5.2.8 - the latest version - and a brand new integration package that makes it super easy to turn it on for ibays:

Code: [Select]
db accounts setprop [ibayname] php5 yes
signal-event ibay-modify [ibayname]

For installation instructions etc, check out the wiki page at http://wiki.contribs.org/PHP5

Note that this is beta quality code. It compiles, and performs its basic functions but I haven't done extensive testing.
What is wrong with the CentosPlus RPM's like Greg Zartman suggested here?

They are supposed to be more stable than your work I guess.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: [announce] PHP version 5 - standalone install
« Reply #2 on: January 29, 2009, 09:02:04 PM »
What is wrong with the CentosPlus RPM's like Greg Zartman suggested here?

They are supposed to be more stable than your work I guess.

AFAIK, Centoplus rpms will upgrade PHP to version 5..

with David's one you can install PHP5 without upgrading.. and you can enable it per ibay..

it's a different approach.. and, as David said, it's an evolution of what you can find here

Ciao
Stefano

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: [announce] PHP version 5 - standalone install
« Reply #3 on: January 29, 2009, 11:46:55 PM »
it's a different approach.. and, as David said, it's an evolution of what you can find here

I tried the CentOSPlus upgrade once, and it mangled my ability to do updates etc. Because this is a standalone contrib, it doesn't muck up the core of SME 7.x.

Offline Henk

  • 2
  • +0/-0
Re: [announce] PHP version 5 - standalone install
« Reply #4 on: February 02, 2009, 08:19:18 PM »
Thanks a lot David. I've installed this php5 contrib to be able to use mediawiki 1.13.3. in an ibay. As far as I can see everything works fine.

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: [announce] PHP version 5 - standalone install
« Reply #5 on: February 02, 2009, 11:01:25 PM »
Fantastic, glad you like it.

Offline Craig Cabrey

  • ****
  • 79
  • +0/-0
Re: [announce] PHP version 5 - standalone install
« Reply #6 on: February 02, 2009, 11:13:39 PM »
Thank you so much for this!
I have been waiting for a long time for PHP5. I tried (a while ago) to upgrade the server to PHP5 & MySQL 5 CentOS 4.7 RPMs, but this resulted in an unusable server. Now I can use Ampache! Yes, I much prefer Ampache over Jinzora...
Again, thank you.

Craig

Offline Mjohnson

  • *
  • 172
  • +0/-0
Re: [announce] PHP version 5 - standalone install
« Reply #7 on: February 03, 2009, 06:09:39 AM »
This is wonderful.  Thank you very much!!

MJ
......

Offline JohnG

  • ****
  • 89
  • +0/-0
Re: [announce] PHP version 5 - standalone install
« Reply #8 on: February 04, 2009, 03:23:24 PM »
Hi, this looks like exactly what I need while awaiting SME8, thanks!

How does it work with PHPMyAdmin? Can PHPMyAdmin manage both PHP 4 and PHP 5 at the same time?

Also if there are any security updates to PHP, does both versions get updated?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: [announce] PHP version 5 - standalone install
« Reply #9 on: February 04, 2009, 03:29:30 PM »
Hi, this looks like exactly what I need while awaiting SME8, thanks!

How does it work with PHPMyAdmin? Can PHPMyAdmin manage both PHP 4 and PHP 5 at the same time?

Also if there are any security updates to PHP, does both versions get updated?

since David's rpm works per ibay, I expect that everything is out of ibays (phpmyadmin ecc) will continue work with PHP4..

about updates: updates to PHP4 come from Centos/RedHat.. for PHP5.. I hope David will do the work :-)

Ciao
Stefano

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: [announce] PHP version 5 - standalone install
« Reply #10 on: February 04, 2009, 10:03:18 PM »
PHPMyAdmin manages MySQL, not PHP per se, and yes, it will continue to use PHP4.

With regards to updates, yes, I will definitely try to compile PHP5 updates when they are released. But it will have to fit around my work of course :)

Offline judgej

  • *
  • 375
  • +0/-0
Re: [announce] PHP version 5 - standalone install
« Reply #11 on: February 05, 2009, 02:00:34 AM »
I haven't used it yet, but will be trying it out soon. I've been waiting a long time for an update to the PHP5 contrib to make use of the latest features that were not included in the previous version (some apps would not run). It seemed to be the same [older] version of PHP5 everywhere I looked.

Thank you,

-- Jason
-- Jason

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: [announce] PHP version 5 - standalone install
« Reply #12 on: February 05, 2009, 06:38:42 AM »
This work is based on the earlier spec, so it may not behave all that differently. Let me know how you get on with your testing.

Offline David Harper

  • *
  • 653
  • +0/-0
  • Watch this space
    • Workgroup Technology Solutions
Re: [announce] PHP version 5 - standalone install
« Reply #13 on: February 05, 2009, 06:39:15 AM »
Sorry, duplicate post.
« Last Edit: February 05, 2009, 07:32:08 AM by David Harper »

Offline edb

  • *
  • 548
  • +0/-0
Re: [announce] PHP version 5 - standalone install
« Reply #14 on: April 25, 2009, 05:27:08 AM »
This looks to be a very positive contrib, so thanks to whoever went to all the work of creating this work-around!

I do have a couple questions however:

1) How can I go about installing ZEND Optimizer and the php-mcrypt extention for the PHP5-cgi install?
2) I will also need to do "pecl install pdflib" for the PHP5 install and I'm not too sure as to how I can do that.

Thanks for any and all comments on how I can accomplish this.

-edb
......