Best options to configure PHP and Apache?

Best options to configure PHP and Apache?

Tuesday 31 August 2004 1:01:26 am - 3 replies

Modified on Tuesday 31 August 2004 1:08:03 am by Maarten Holland

Author Message

Ole Morten Halvorsen

Tuesday 31 August 2004 1:18:27 am

Maarten,

First, eZ publish does not support PHP 5 and we do not recommend using Apache 2.
When you compile PHP, do it as a static module. This has some performance gain over compiling PHP as a shared module. eZ publish doesnt require any special features or modules, but remember to compile with --with-mbstring as this will make character conversion alot faster.

How to compile php as a static module: http://cvs.php.net/annotate.php/php-src/INSTALL?rev=1.25.4.1#97

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

Maarten Holland

Tuesday 31 August 2004 10:11:43 am

Ole, thank you very much for your reply.

I've succesfully managed to install Apache 1.3 with PHP (with mbstring) as a static module. After that I've installed IONCube's phpaccelerator and checked that it worked.

I've set the max_exection_time to 0 (infinite) but unfortunately eZ Publish is very, very, terribly slow...

Did I forget anything? Do you have some points for me to consider?

Thanks again,

Maarten

Ole Morten Halvorsen

Tuesday 31 August 2004 11:48:37 am

Maarten,

First, what is the hardware specs on your machine and which version of eZ publish do you use?
Try turning on debug by setting DebugOutput=enabled in site.ini. Have a look at the bottom of the page to find out which part that is so slow.

Ole M.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.