error with config eaccelerator

xlinux

Verified User
Joined
May 4, 2012
Messages
72
hi i some problem

i intall and config as this topic

http://www.directadmin.com/forum/showthread.php?t=11381

thi is my config in php.ini

Code:
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613/"

extension="eaccelerator.so"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"

but i check php.ini

it is not running
Code:
eAccelerator support => enabled
Version => 0.9.6.1
Caching Enabled => false
Optimizer Enabled => false
Check mtime Enabled => false

what error for my config ?

P/s: when i used php -v
Code:
PHP 5.2.17 (cli) (built: Aug  3 2011 22:17:18)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

i see php with framework zend but i don't check not found file /usr/local/zend/

how i can know . i config as zend or not ?
 
Hello,

Create a phpinfo.php file in public_html of your web-site with the following content:

PHP:
<?php
phpinfo();
?>

Run it in your browser as http://domain.com/phpinfo.php
Find line

Code:
Loaded Configuration File

and see its value. That is your php.ini to be updated in order to enable eAccelerator support

By the way your CLI version of PHP has

Code:
eAccelerator support => enabled

You might need to enable it for PHP-CGI if you are using suPHP.
 
Loaded Configuration File

and see its value. That is your php.ini to be updated in order to enable eAccelerator support

i sure i load true file php.ini

but when i check
Code:
ip/info.php

i have result

Code:
eAccelerator
eAccelerator support	enabled
Version 	0.9.6.1
Caching Enabled 	true
Optimizer Enabled 	true
Check mtime Enabled 	true
Memory Size 	16,777,176 Bytes
Memory Available 	16,774,592 Bytes
Memory Allocated 	2,584 Bytes
Cached Scripts 	1
Removed Scripts 	0

but when check by command

Code:
php info.php | less

i see

Code:
eAccelerator support => enabled
Version => 0.9.6.1
Caching Enabled => false
Optimizer Enabled => false
Check mtime Enabled => false

Directive => Local Value => Master Value
eaccelerator.allowed_admin_path => no value => no value
eaccelerator.cache_dir => /tmp/eaccelerator => /tmp/eaccelerator
eaccelerator.check_mtime => 1 => 1
eaccelerator.debug => 0 => 0
eaccelerator.enable => 1 => 1
eaccelerator.filter => no value => no value
eaccelerator.log_file => no value => no value
eaccelerator.optimizer => 1 => 1
eaccelerator.shm_max => 0 => 0
eaccelerator.shm_only => 1 => 1
eaccelerator.shm_prune_period => 180 => 180
eaccelerator.shm_size => 16 => 16
eaccelerator.shm_ttl => 3600 => 3600

accodring to you. it is enable ?

i check /tmp/eaccelerator but i can't see anyfile cache
 
How do I know that? By the way should you see any?

i setup file /tmp/eAccelerator for cache. but i can't see any file cache in here.

if not have cache, you think it can run ?

P/s. if you have skype or yahoo or and install message. we can live chat . thanks
 
The webinterface

eAccelerator can be managed through a webinterface. From version 0.9.5 this webinterface has been fully implemented in php so the settings have been changed.

This control panel uses some admin functions to control eAccelerator. These functions can only be run from scripts that match the path set in eaccelerator.allowed_admin_path. It works in the same way as the open_basedir setting of PHP.


https://eaccelerator.net/wiki/Settings

So enable it and see what id does and what it does not.

p.s. Send me a PM for a quote, if you want to live chat with me.
 
The webinterface

eAccelerator can be managed through a webinterface. From version 0.9.5 this webinterface has been fully implemented in php so the settings have been changed.

This control panel uses some admin functions to control eAccelerator. These functions can only be run from scripts that match the path set in eaccelerator.allowed_admin_path. It works in the same way as the open_basedir setting of PHP.


https://eaccelerator.net/wiki/Settings

So enable it and see what id does and what it does not.

p.s. Send me a PM for a quote, if you want to live chat with me.

i don't know . how i can do it . you can introduce step by step for me. thanks
 
i don't know . how i can do it . you can introduce step by step for me. thanks

eaccelerator_password.php <--- this file, what place i can set it ?

eaccelerator.allowed_admin_path = "/var/www/html/controlpanel"

i have to create controlpanel in /var/www/html/

and what i have to include there
 
I don't use eAccelerator, if I need... I use APC instead.
For more information you should Google, or wait probably somebody else who knows the answers can help you here.
If you still want me to do it for you, send me a PM for a quote, and I set it up for you in terms of a commerce service.
 
Back
Top