Skip to content
This repository has been archived by the owner on Dec 20, 2019. It is now read-only.

CompileConfiguration

hrak edited this page Aug 10, 2012 · 3 revisions

Table of Contents

Compile configuration

The options available can be listed by running configure --help

--without-eaccelerator-crash-detection

Do not include eaccelerator crash detection. By default eAccelerator will catch most signals so it can shutdown cleanly and log the signal. You shouldn't compile eAccelerator without it unless you have a good reason to do so.

--without-eaccelerator-optimizer

Do not include eaccelerator optimizer. There isn't a good reason to disable this either, you can always disable it with a configuration setting.

--without-eaccelerator-info

This was added in version 0.9.5, it disables the functions used by the PHP version of the control panel.

--with-eaccelerator-disassembler

Include a disassembler. This option will allow you to use the disassembler for PHP scripts. It is integrated into the new and the old control panel.

--with-eaccelerator-debug

Enable the debug code so eaccelerator logs verbosely.

--with-eaccelerator-userid

When using sysvipc semaphores for locking, eAccelerator needs to know the userid PHP will be running under. This is usually the user your webserver is running under.

--without-eaccelerator-doc-comment-inclusion

This makes eAccelerator strip doc-comments from internal php structures, which saves shared memory space.

This option breaks the Reflection API, and this is why eAccelerator stores doc comments by default now (in the current master branch and future releases). Stripping doc comments breaks frameworks like Symfony, so use with caution!

Deprecated options

--without-eaccelerator-encoder

Do not include the eaccelerator encoder. The encoder only works with php4, it's recommended to disable this function with other php versions because you can't use it anyway. There isn't a reason to enable it on a production server, encoding scripts should be mainly done a development machine.

--without-eaccelerator-loader

Do not include eaccelerator loader. The encoder only works with php4, so enabling the loader on other php versions is pretty useless because you can't use it anyway.

--with-eaccelerator-shared-memory

Include eaccelerator shared memory functions. The name is a bit confusing, but this will include the eaccelerator_get, _put, ... functions that allow scripts to store data in the eAccelelerator cache. This options has been enabled by default until version 0.9.5. When enabling this feature on systems where you can't trust all users, like in shared hosting environments, this could really fill up the cache causing all scripts to only exist on disk which isn't good for performance.

--with-eaccelerator-sessions

Include the eAccelerator session handler. Only enable this when you want to use the session handler. This feature used to be enabled by default until version 0.9.5, see the previous option for why it was disabled.

--with-eaccelerator-content-caching

Include eaccelerator content caching, don't get to fond of the current api. This feature will probably be replaced by a version that is written in PHP, which should transparently replace the current api. Like the previous two settings, this one is also disabled by default since 0.9.5.

--with-eaccelerator-webui

Compile the control panel. This options was removed in 0.9.5 in favor of the new control panel written in PHP.

--without-eaccelerator-use-inode

Don't use inodes to determine hash keys. This is turned off by default in win32 because it doesn't use inodes. If disabled md5 is used to hash the filenames, which adds extra overhead.