PHP_Accelerator / PHP と SSI を両方パースする / WEB+DB PRESS vol.17
PHP_Accelerator
エラーが出てたので改めて入れなおし
/usr/local/lib/php.ini
zend_extension="/usr/local/lib/php/extensions/php_accelerator_1.3.3r2.so"
error_log
[warn-phpa] No shm_user is set and so no shm cache will be created (pid 28084)
[warn-phpa] unable to get shm cache (pid 28084)
/usr/local/lib/php.ini
phpa.shm_user = httpd
phpa.shm_group = httpd
error_log
[notice-phpa] Acquiring cache : uid 80 gid 80 perms 666 (pid 28084)
[notice-phpa] PHPA 1.3.3r2 on linux_i686_glibc2.1.3 (pid 28084)
[notice-phpa] Initialised 8MB cache at 0x4078f000 with 512 process entries (pid 28084)
[notice-phpa] Lock thresholds 10/10 (pid 28084)
phpa.html
<? var_dump($GLOBALS['_PHPA']); ?>
PHP と SSI を両方パースする
Options +Includes
<FilesMatch "\.html(\..+)?$">
SetOutputFilter INCLUDES
</FilesMatch>
AddType application/x-httpd-php .html