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
Re: [announce] PHP version 5 - standalone install
« Reply #15 on: April 25, 2009, 08:19:05 AM »
Mcrypt will be compiled in when PHP 5.3 comes out. Unsure about pdflib. What is it needed for?

As for Zend, do you need the encoder or decoder?

Offline edb

  • *
  • 548
  • +0/-0
Re: [announce] PHP version 5 - standalone install
« Reply #16 on: April 25, 2009, 06:29:27 PM »
Hi David,

Thanks for your reply though it was not exactly what I was hoping for. :(

For the webapp I'm running I need it to have the mcrypt extension, pdo_mysql extension, and the pdf extention.

As far as the pdf requirements I normally install and compile PDFlib-Lite from here http://www.pdflib.com/products/pdflib-family/pdflib-lite/PDFlib Lite 7.0.4p1.tar.gz then do:
Code: [Select]
cd PDFlib Lite 7.0.4p1
Code: [Select]
./configure
Code: [Select]
make
Code: [Select]
make installWhich installs the pdf library ...

Then I use the following command to download and compile the actual pdf extension for PHP:
Code: [Select]
pecl install pdflibThe install will want to know the path to the pdflib install which is usually "/usr/local" in a normal install.
Then I only need to add the extention "extension=pdf.so" to my template fragment.
Followed by:
Code: [Select]
expand-template /etc/php.ini
/etc/init.d/httpd-e-smith restart

The ZEND Optimizer is used to load encoded files and uses multi-pass code optimizations to double the running speed of PHP applications. This is done by running an optimization of the code created by the run-time compiler, before the code is executed.
I need to be able to install the ZEND Optimizer extensions for PHP which is done by downloading ZENDOptimizer from here http://www.zend.com/en/downloads/
Then just run the install script which adds the ZEND extensions to the phpini file which in turn needs to be added as a php.ini template fragment which should look like this:
[Zend]
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.2.8
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.2.8
zend_optimizer.version=3.2.8
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so

I guess I may end up needing to go to SME8x even though it is just in beta right now because it just seems to be one issue after another trying to get PHP5 running smoothly in SME7.4.
This contrb was really my last hope for getting PHP5 to work on my current SME7.4 production server.

Thank again for all your work on this as I'm sure it has helped many!

-edb
......

Offline StephenHodgman

  • *
  • 31
  • +0/-0
Re: [announce] PHP version 5 - standalone install
« Reply #17 on: May 11, 2009, 09:45:04 AM »
I need to install PHP5 so this contrib is of great interest to me.

I see the contrib is still marked as "Beta"

Does anybody have feedback form real use on production servers?
I am a little cautious about installing it in case there are issues with it.
Thanks,

Offline JohnG

  • ****
  • 89
  • +0/-0
Re: [announce] PHP version 5 - standalone install
« Reply #18 on: May 11, 2009, 03:02:35 PM »
I've been running with it for about 3 months now on a moderately used server, no problems so far.

Offline StephenHodgman

  • *
  • 31
  • +0/-0
Re: [announce] PHP version 5 - standalone install
« Reply #19 on: May 17, 2009, 01:43:43 PM »
Thanks for the reply.  I too now have it running and all looks OK.

Thanks David for packaging this Contrib!

Offline DjD

  • 3
  • +0/-0
Re: [announce] PHP version 5 - standalone install
« Reply #20 on: November 11, 2009, 08:49:28 AM »
Hi david

Thanks for your great work on this often required php upgrade.  Just looking at an app that requires PHP: version 5.1.0 or higher, with xml, mb_string, mcrypt, php_imap, mysql modules installed plus:
Encoder: the latest version of Zend Optimizer or IonCube
(from this link http://www.kayako.com/solutions/system-requirements.php )

What chance of seeing this anytime soon?  Will $$ help?

Thanks
David

Offline Marco Hess

  • *
  • 149
  • +0/-0
    • http://www.through-ip.com
Re: [announce] PHP version 5 - standalone install
« Reply #21 on: November 17, 2009, 09:15:52 PM »
What chance of seeing this anytime soon?

The latest version is php5-cgi 5.2.8 and can be installed from the smecontribs repository.

See http://wiki.contribs.org/PHP5

And this page shows the PHP features in that release:

http://bugs.contribs.org/attachment.cgi?id=2644

Cheers,

Marco
Adelaide - Australia