cd /usr/ports/www/eaccelerator
You have installed the eaccelerator package.
Edit /usr/local/etc/php.ini and add:
zend_extension="/usr/local/lib/php/20060613/eaccelerator.so"
Then create the cache directory:
mkdir /tmp/eaccelerator
chown www /tmp/eaccelerator
chmod 0700 /tmp/eaccelerator
u can try to config :
zend_extension="/usr/local/lib/php/20060613/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"
eaccelerator.shm_size
This setting will allow you to control the amount of shared memory eAccelerator should allocate to cache PHP scripts. The number sets the amount of memory in megabytes. Setting this value to 0 will use the default size.
eaccelerator.shm_size
This setting will allow you to control the amount of shared memory eAccelerator should allocate to cache PHP scripts. The number sets the amount of memory in megabytes. Setting this value to 0 will use the default size.
eaccelerator.shm_size = "0"
On Linux the maximum amount of memory a process can allocate is limited by the number set in /proc/sys/kernel/shmmax. Allocating more than this value will result in eAccelerator failing to initialise. The size in this file is given in bytes. You can raise this amount with:
echo value > /proc/sys/kernel/shmmax
Where value is the size in bytes you want to use. This value is reset to the default value evertime you reboot, but you can raise it permanently by adding the amount you need in /etc/sysctl.conf. This is done by adding:
kernel.shmmax = value
eaccelerator.cache_dir
This directory is used for the disk cache. eAccelerator stores precompiled code, session data, content and user entries here. The same data can be stored in shared memory (for quicker access). The default value is “/tmp/eaccelerator”.
eaccelerator.cache_dir = "/tmp/eaccelerator"
This is easy because that directory is easily writable to everyone, and mounted with noexec. However, it isn’t the best because on a lot of systems this directory is cleared on reboot. A better place is /var/cache/eaccelerator. Create the directory and make sure it’s writable to the process eAccelerator runs under.
A safe bet is making it world writeable, a safer and cleaner way is making the user php runs under (most of the time the same user as apache or lighttpd) the owner and set 0644 permissions.
The lazy way:
mkdir /tmp/eaccelerator
chmod 0777 /tmp/eaccelerator
eaccelerator.enable
With this setting you can enable or disable eAccelerator. This may seem like a pretty stupid setting, but it can be very useful. For example this setting can also be used in the vhost section of the Apache configuration. It allows you to disable eAccelerator for a certian vhost by placing php_admin_value eaccelerator.enable 0 in the vhost section.
Setting this value to “1″ enables eAccelerator, which is also the default value. Setting it to “0″ will disable eAccelerator.
eaccelerator.enable = "1"
eaccelerator.optimizer
Enables or disables the optimizer which may speed up code execution. Setting it “1″ will enable eAccelerator, “0″ disables it. By default the optimizer is enabled. The optimizer will only run when the script is compiled before it’s cached.
eaccelerator.optimizer = "1"
eaccelerator.debug
Enables or disables debug logging. Setting this to 1 will print information to the log file about the cache hits of a file. This is only useful when debugging eAccelerator for bug reports.
eaccelerator.debug = 0
eaccelerator.log_file
Set the log file for eaccelerator. When this option isn’t set then the data will be logged to stderr, when using PHP with Apache these lines will be added to the Apache error log.
eaccelerator.log_file = "/var/log/httpd/eaccelerator_log"
eaccelerator.name_space
When using the user cache api for storing data in shared memory, all keys are prepended by the hostname used for the current request. This hostname equals the ServerName? set in the vhost section of apache. This is done to avoid duplicate keys between vhosts. Sometimes this behaviour is desired to share data between vhosts. When setting this option this namespace is used to prepend to each key. By default this is set to “” which instructs eAccelerator to use the hostname as namespace.
When setting this in the main PHP configuration file this namespace will be used by all vhosts. This value can also be set in the vhost section or even in a .htaccess file to allow sharing of data between only two vhosts.
eaccelerator.name_space = ""
eaccelerator.check_mtime
On every hit eAccelerator will check the modification time of a script to see if it changed and needs to be recompiled. Although this is a lot faster then opening the file and compiling it, this still adds some overhead because a stat call needs to be done every time. This setting allows you to disable this check. The downside of disabling this check is that you need to manually clean the eAccelerator cache when you update a file.
By default this check is enabled.
eaccelerator.check_mtime = "1"
eaccelerator.filter
Determine which PHP files can be cached. You can specify the pattern (for example “*.php *.phtml”) the PHP script filename needs to match. If a pattern starts with “!”, the files that match that pattern are excluded from the cache. Default value is “” which will cache all scripts PHP compiles.
Please note that eaccelerator.filter doesn’t work on a URL basis but rather on the absolute filesystem path, so a filter of !/home* would exclude all scripts in /home from being cached.
Multiple patterns need to be seperated by spaces or tabs, but not commas.
eaccelerator.filter = ""
eaccelerator.shm_max
By default there is no limit on the maximum size a user can put in shared memory with functions like eaccelerator_put, the maximum size is controlled by this setting. This value is the maximum size that can be put in the cache, the size is given in bytes (10240, 10K, 1M). The default value is “0″ which disables the limit.
This setting doesn’t affect the maximum size for a script”’
eaccelerator.shm_max = "0"
eaccelerator.shm_ttl
When eAccelerator doesn’t have enough free shared memory to cache a new script it will remove all scripts from shared memory cache that haven’t been accessed in at least shm_ttl seconds. By default this value is set to “0″ which means that eAccelerator won’t try to remove any old scripts from shared memory.
eaccelerator.shm_ttl = "0"
eaccelerator.shm_prune_period
When eAccelerator doesn’t have enough free shared memory to cache a script it tries to remove old scripts if the previous try was made more then “shm_prune_period” seconds ago. Default value is “0″ which means that eAccelerator won’t try to remove any old script from shared memory.
eaccelerator.shm_prune_period = "0"
eaccelerator.shm_only
Enable or disable caching of compiled scripts on disk. This has no effect on session data and content caching. Default value is “0″ which allows eAccelerator to use disk and shared memory cacche for scripts.
eaccelerator.shm_only = "0"
eaccelerator.compress
When using the eaccelerator_content_* api eAccelerator can compress the content before saving it to memory. By default this is set to “1″, to disable compression set it to “0″.
eaccelerator.compress = "1"
eaccelerator.compress_level
Compression level used for content caching. Default value is “9″ which is the maximum compression level.
eaccelerator.compress_level = "9"
eaccelerator.keys | session | content
These settings control the places eAccelerator may cache user content. Possible values are:
- shm_and_disk cache data in shared memory and on disk (default value)
- shm cache data in shared memory or on disk if shared memory is full or data size greater then “eaccelerator.shm_max”
- shm_only cache data in shared memory
- disk_only cache data on disk
- none don’t cache data
eaccelerator.keys = "shm_and_disk"
eaccelerator.sessions = "shm_and_disk"
eaccelerator.content = "shm_and_disk"
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.
taken from : http://techgurulive.com/2009/02/02/how-to-install-and-configure-the-eaccelerator-php-cache-on-apache/
Belum sempat nerjemahin.. ntar aja soale lagi seru coba2
108 komentar:
halo ainur, peinspirasiku...
daku lama tak sua dirimu...
pa kabarmu..
hehe
halo juga
daku ga tau dirimu..
apa kabar juga
easy classical violin music the jones music group uk
music producer spud too tight stan rogers music festival seconhand serenade maybe music video music teacher fontwell
music shopping uk
What is lotion for accutane dry skin or accutane in alaska and free accutane?
You can Buy Accutane Online in canada and usa cheap now.
A district of columbia accutane lawyer.
valium diazepam manufacturers dosage of diazepam for sleep - diazepam 2 mg recreational
ambien no prescription ambien side effects nausea - what does ambien pill look like
generic xanax online is buying xanax online legal - xanax pills round
buy ambien online legally ambien sale next day delivery - zolpidem er same ambien cr
buy ativan online ativan addiction stories - legal buy ativan online
ativan without prescription quitting ativan side effects - lorazepam 1 mg igual que orfidal
zolpidem ambien ambien side effects eating - side effects to zolpidem
diazepam 5mg valium 10mg para que serve - valium drug detection
ambien 10 mg ambien kills - ambien cr yellow white
buy xanax online pills similar to xanax - xanax overdose much
diazepam dosage for dogs order diazepam - roche diazepam online
generic zolpidem zolpidem tartrate generic ambien - can buy ambien mexico
xanax anxiety long can xanax high last - natural drug xanax
buy lorazepam ativan withdrawal from 1 mg - side effects of ativan 1mg
buy zolpidem online zolpidem buy online no prescription - does generic zolpidem work
buy valium online taking valium depression - purchase valium online no prescription
buy diazepam online buy diazepam online australia - diazepam withdrawal death
ativan online ativan .5mg overdose - ativan gluten free
valium diazepam diazepam high - diazepam lowest dose
buy xanax online cheap no prescription what does generic xanax look like pill - xanax for anxiety in children
diazepam no prescription can u buy valium online - diazepam drug addiction
order ativan ativan and drinking alcohol - ativan withdrawal and muscle aches
cheap diazepam online diazepam dosage conscious sedation - diazepam cats
ativan drug buy lorazepam online no prescription needed - buy ativan no prescription
diazepam dosage where can buy diazepam in usa - 5mg diazepam vs 2mg xanax
ativan online pharmacy ativan withdrawal with valium - get off ativan addiction
generic xanax what is better for anxiety xanax or valium - xanax benefits anxiety
where to buy xanax online xanax high 1 mg - do you withdrawal xanax
buy ambien online buy ambien pills online - ambien drug interactions oxycodone
carisoprodol soma somanabolic muscle maximizer and all bonus programs - dosage of carisoprodol
buy generic ambien online ambien half life body - ambien class ii drug
soma muscle relaxant buy soma safely online - carisoprodol therapeutic range
carisoprodol without prescription snorting carisoprodol erowid - soma prescription drug abuse
buy valium online cheapest valium no prescription - valium severe depression
ambien no prescription ambien generic cheap - generic ambien 10mg cost
buy soma generic soma drug info - can i buy soma online
buy valium roche valium quick does work - valium yellow pill mg
buy soma online soma drug book - somanabolic muscle maximizer complaints
order valium online valium dosage conscious sedation - valium pharmacy no prescription
buy soma carisoprodol 350 high - buy soma from mexico
3Y3h4q2m2v quejas vigrx plus , [URL=http://vigrxplusindonesia.id.st/]review[/URL] 3s3h1p1z8n
5a3t7c8t5c vigrx plus enlargement exercises , [URL=http://buyvigrxplussouthafrica.lo.gs/]vigrx plus overdose[/URL] 9t1g5b5u7b
0q9h0e3a4e at bing , [URL=http://vigrxplusuk.lo.gs/]click here![/URL] 2Y3n6v4g6e
7z1q8j0z3h redirected here , [URL=http://vigrxplusaustralia.lo.gs/]see the post here[/URL] 7r9o7m3j0s
4a5w2f5g1d have a peek here , [URL=http://vigrxplusindia.ek.la/]linked here[/URL] 2Y3d7i8l1f
generic viagra viagra dosage frequency - buy viagra high street
All Saints University Of Medicine order prednisone - order prednisone online http://www.prednisone4sale.com/#order-prednisone-online
buy generic soma where to buy soma panties - soma online pharmacy
buy soma online purpose soma medication - generic soma pill identifier
Iron Prescription Medications buy diflucan online no prescription - diflucan no prescription http://www.diflucansaleonline.net/#diflucan-no-prescription , [url=http://www.diflucansaleonline.net/#order-diflucan-online-no-prescription ]order diflucan online no prescription [/url]
soma drug soma san diego box office - buy somatropin human growth hormone
soma medication buy soma online with a mastercard - soma lofts for sale san francisco
cialis cost cheap cialis us - cheapest cialis online us
cheap cialis buy cialis japan - cialis daily pill
tmd cytotec 200mg - buy cytotec http://www.cytoteconlinecheap.net/#order-cytotec, [url=http://www.cytoteconlinecheap.net/#order-cytotec]generic cytotec no prescription [/url]
xrh strattera sale - atomoxetine online pharmacy http://www.stratteraforsale.net/#atomoxetine-online-pharmacy , [url=http://www.stratteraforsale.net/#strattera-without-prescription ]strattera without prescription [/url]
xanax online xanax for social anxiety - xanax yellow pill
generic xanax xanax overdose time - xanax mylan a1
buy tramadol tramadol hcl 50 mg uses - tramadol hcl lexapro
Hello, ativan cost - ativan online no prescription http://paniedemou.com/#ativan-online-no-prescription , [url=http://paniedemou.com/#buy-ativan ]buy ativan [/url]
carisoprodol 350 mg cost of carisoprodol 350 mg - carisoprodol 350 mg soma
xanax online does military drug test xanax - different mg xanax pills
buy tramadol online tramadol dosage in adults - buy tramadol faq
buy tramadol online 2 50 mg tramadol - buy tramadol with cod delivery
buy tramadol online tramadol withdrawal zaps - buy tramadol hcl online
generic xanax 5 xanax get high - mixing xanax and alcohol blackout
buy tramadol online buy tramadol online for dogs - buy tramadol online australia no prescription
buy carisoprodol carisoprodol vs hydrocodone - buy cheap carisoprodol online
buy cialis online cheap cialis canadian - cialis cheap
xanax online xanax or klonopin - xanax withdrawal .5mg
cialis online online pharmacy usa generic cialis - cialis daily use free trial
buy cialis online buy cialis ebay - cialis reviews photos
buy xanax online how get xanax online - many xanax pills bar
xanax online xanax effects pregnancy - drug facts of xanax
order alprazolam no prescription difference between generic xanax regular - xanax side effects rage
buy cialis online buy cialis online canadian pharmacy - generic cialis 60 mg
xanax online what does xanax pills do to you - xanax long term side effects
cialis online cialis online nederland - buy cheap cialis online no prescription
http://buytramadolonlinecool.com/#73892 signs of tramadol overdose - tramadol dosage sr
http://www.integrativeonc.org/adminsio/buyklonopinonline/#use klonopin used get high - klonopin side effects mood swings
buy tramadol online tramadol hcl 93 58 - took 3 50mg tramadol
http://landvoicelearning.com/#74967 tramadol ultram hcl - tramadol 20mg dogs
buy tramadol tablets ultram better than tramadol - how to order tramadol online
buy tramadol buy tramadol online us - can you really buy tramadol online
tramadol 50 mg tramadol overdose how much does it take - tramadol 4h2
buy klonopin online que es el klonopin - where to buy klonopin online
buy tramadol online tramadol hcl opiate - tramadol vs codeine
buy klonopin online klonopin side effects kidney - 2mg generic klonopin
http://landvoicelearning.com/#63987 tramadol typical dosage - buy tramadol online with cod
buy tramadol tramadol death by overdose - tramadol for dogs max dose
tramadol online tramadol ultram dosage - buy tramadol online overnight delivery
http://blog.dawn.com/dblog/buy/#blog tramadol online illegal - tramadol hcl and alcohol
http://reidmoody.com/#65473 ativan sublingual 1mg side effects - dosage of ativan for anxiety
clonazepam no prescription 2mg of klonopin and alcohol - klonopin 1 mg high
ways to buy ativan online ativan and high liver enzymes - ativan sublingual 1mg
http://ranchodelastortugas.com/#71453 prescription drug abuse xanax - .5 xanax effects
http://ranchodelastortugas.com/#37284 xanax quitting cold turkey - xanax no prescription overnight
cheap tramadol online tramadol 50 mg and ibuprofen - tramadol 50 mg how long does it last
carisoprodol 350 mg carisoprodol 350 mg pill - carisoprodol 350 mg drug test
buy tramadol online tramadol (ultram) 50 mg tablet - tramadol hcl long term effects
buy tramadol online buy tramadol online europe - tramadol high experience
xanax without a perscription xanax and alcohol yahoo answers - xanax overdose statistics
buy tramadol online with mastercard buy tramadol cheap online - buy tramadol no rx
как прекратить играть в казино or казино онлайн остров сокровищ or казино онлайн видео or онлайн казино это реально or рулетка онлайн вебмани or рулетка онлайн яндекс деньги
Post a Comment