{"id":1286,"date":"2016-02-18T23:05:45","date_gmt":"2016-02-18T21:05:45","guid":{"rendered":"http:\/\/sahinsolmaz.com\/blog\/?p=1286"},"modified":"2017-12-09T16:37:28","modified_gmt":"2017-12-09T13:37:28","slug":"php-opcache-kurulumu-installation-zend-opcache-on-centos","status":"publish","type":"post","link":"https:\/\/sahinsolmaz.com\/blog\/php-opcache-kurulumu-installation-zend-opcache-on-centos\/","title":{"rendered":"PHP OpCache Kurulumu &#8211; Installation Zend OpCache on CentOS"},"content":{"rendered":"<p>Merhabalar,<\/p>\n<p>PHP Zend OPcache kurulumunu yum parametresi ile sadece birka\u00e7 ad\u0131mda tamamlayaca\u011f\u0131z.<\/p>\n<p>PHP Zend OPcache installation is very easy witf yum param.<\/p>\n<p>to do-list<\/p>\n<h1>PHP OpCache Kurulumu<\/h1>\n<ul>\n<li>\n<pre class=\" language-bash\"><code class=\" language-bash\"># <span style=\"color: #0000ff;\"><strong>yum update\r\n<\/strong><\/span><\/code><\/pre>\n<\/li>\n<li>\n<pre class=\" language-bash\"><code class=\" language-bash\">Gerekli paketler \/ requirements\r\n# <span style=\"color: #0000ff;\"><strong>yum install gcc httpd-devel php-pear pcre-devel\r\n<\/strong><\/span><\/code><\/pre>\n<\/li>\n<li>\n<pre class=\" language-bash\"><code class=\" language-bash\">PHP Opcache kurulumu \/ install opcache\r\n# <span style=\"color: #0000ff;\"><strong>yum install php-pecl-zendopcache\r\n<\/strong><\/span><\/code><\/pre>\n<\/li>\n<li>\n<pre class=\" language-bash\"><code class=\" language-bash\"># <span style=\"color: #0000ff;\"><strong>service httpd restart<\/strong><\/span><\/code><\/pre>\n<\/li>\n<\/ul>\n<p><!--more--><\/p>\n<ul>\n<li><span style=\"color: #ff0000;\">Kurulum tamamland\u0131<\/span>, opcache kurulum testi i\u00e7in #<span style=\"color: #0000ff;\"> <strong>php -v <\/strong><\/span> yapt\u0131\u011f\u0131n\u0131zda ..<code class=\" language-bash\"><code class=\" language-bash\"><code class=\" language-bash\">with Zend OPcache.. g\u00f6receksiniz.<br \/>\n<span style=\"color: #ff0000;\">The end!<\/span> if you want to test the installation, you try # <span style=\"color: #0000ff;\"><strong>php -v<\/strong><\/span> and then you will see ...with Zend OPcache.. so, it is okay!<\/code><\/code><\/code>ya da php info ile bakabilirsiniz<\/p>\n<p><code class=\" language-bash\"><code class=\" language-bash\"><\/code><\/code><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li>\u0130htiya\u00e7lar\u0131n\u0131za g\u00f6re <em><strong>\/etc\/php.d\/opcache.ini<\/strong><\/em> dosyas\u0131 i\u00e7erisindeki performans parametrelerini g\u00fcncelleyebilirsiniz.<br \/>\nif you want to changes the opcache performance parameter, you can change <em><em><strong>\/etc\/php.d\/opcache.ini<\/strong><\/em><\/em>&nbsp;<\/li>\n<li>\u00d6rne\u011fin;<br \/>\nFor example;<\/p>\n<pre><span style=\"color: #0000ff;\">zend_extension = opcache.so<\/span>\r\n\r\n<span style=\"color: #0000ff;\">opcache.enable = 1<\/span>\r\n\r\n<span style=\"color: #0000ff;\">; Determines if Zend OPCache is enabled for the CLI version of PHP<\/span>\r\n<span style=\"color: #0000ff;\">;opcache.enable_cli=0<\/span>\r\n\r\n<span style=\"color: #0000ff;\">; The OPcache shared memory storage size.<\/span>\r\n<span style=\"color: #0000ff;\">opcache.memory_consumption = 138<\/span>\r\n\r\n<span style=\"color: #0000ff;\">; The amount of memory for interned strings in Mbytes.<\/span>\r\n<span style=\"color: #0000ff;\">opcache.interned_strings_buffer = 10<\/span>\r\n\r\n<span style=\"color: #0000ff;\">; The maximum number of keys (scripts) in the OPcache hash table.<\/span>\r\n<span style=\"color: #0000ff;\">; Only numbers between 200 and 100000 are allowed.<\/span>\r\n<span style=\"color: #0000ff;\">opcache.max_accelerated_files = 300 <\/span>\r\n\r\n<span style=\"color: #0000ff;\">; If enabled, a fast shutdown sequence is used for the accelerated code<\/span>\r\n<span style=\"color: #0000ff;\">opcache.fast_shutdown = 1<\/span>\r\n\r\n<span style=\"color: #0000ff;\">;following can be commented for production server<\/span>\r\n<span style=\"color: #0000ff;\">opcache.revalidate_freq = 0<\/span>\r\n<span style=\"color: #0000ff;\">opcache.consistency_checks = 1<\/span>\r\n\r\n<span style=\"color: #0000ff;\">opcache.validate_timestamps = 0<\/span>\r\n\r\n<span style=\"color: #0000ff;\">opcache.save_comments = 1<\/span>\r\n\r\n<span style=\"color: #0000ff;\">opcache.force_restart_timeout = 180<\/span><\/pre>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>B\u00f6ylelikle PHP OPcache kurulumu tamamlanm\u0131\u015f oldu ve gerekli olmas\u0131 durumunda opcache.ini dosyas\u0131 \u00fczerinden istedi\u011finiz gibi de\u011fi\u015fiklik yapabilirsiniz.<\/p>\n<p>&nbsp;<\/p>\n<p>Opcache &#8216;in istatistiklerini takip etmek isterseniz buradan \/ <a href=\"https:\/\/github.com\/rlerdorf\/opcache-status\" target=\"_blank\" rel=\"noopener\">git<\/a> \u00fczerinden dosyalar\u0131 indirip, OpCache i kulland\u0131\u011f\u0131n\u0131z siteye y\u00fckleyip, dosya yolu \u00fczerinden \u00e7al\u0131\u015ft\u0131rabilirsiniz.<\/p>\n<p>If you want to see OpCache stats and status, you should the download opcache zip file from <a href=\"https:\/\/github.com\/rlerdorf\/opcache-status\" target=\"_blank\" rel=\"noopener\">here<\/a> and then upload your using opcache site. Finally, run the opcache url.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Merhabalar, PHP Zend OPcache kurulumunu yum parametresi ile sadece birka\u00e7 ad\u0131mda tamamlayaca\u011f\u0131z. PHP Zend OPcache installation is very easy witf yum param. to do-list PHP OpCache Kurulumu # yum update Gerekli paketler \/ requirements # yum install gcc httpd-devel php-pear pcre-devel PHP Opcache kurulumu \/ install opcache # yum install php-pecl-zendopcache # service httpd restart<\/p>\n","protected":false},"author":1,"featured_media":1289,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[113,1,199,43],"tags":[629,677],"class_list":["post-1286","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-genel","category-php-sunucu","category-sunucu","tag-opcache","tag-php-opcache-kurulumu"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2016\/02\/PHP-OpCache-Kurulumu-Installation-Zend-OpCache-on-CentOS.jpg","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4sbm9-kK","jetpack-related-posts":[{"id":763,"url":"https:\/\/sahinsolmaz.com\/blog\/ssh-xcache-kurulumuinstall-centos-6-x-2014\/","url_meta":{"origin":1286,"position":0},"title":"SSH xCache Kurulumu\/Install Centos 6.x &#8211; 2014","author":"SahinSOLMAZ","date":"20 Eyl\u00fcl 2014","format":false,"excerpt":"Bug\u00fcn bir vps 'e xCache kurulumunu yum ile yapmak istedi\u011fimde a\u015fa\u011f\u0131daki hatalarla kar\u015f\u0131la\u015ft\u0131m: yum install php-xcache xcache-admin No package xcache-admin available. yum install php-xcache\u00a0 No package php-xcache available. Error: Nothing to do \u015eimdi biraz daha dolayl\u0131 yoldan i\u015fimize yarayacak olan CentOS xCache Kurulumu i\u00e7in kesin \u00e7\u00f6z\u00fcme bakal\u0131m ad\u0131m ad\u0131m, i\u015fte\u2026","rel":"","context":"&quot;PHP&quot; i\u00e7inde","block_context":{"text":"PHP","link":"https:\/\/sahinsolmaz.com\/blog\/category\/sunucu\/php-sunucu\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1004,"url":"https:\/\/sahinsolmaz.com\/blog\/apc-nasil-kuruluroptimizasyon-centos-how-to-install-apc\/","url_meta":{"origin":1286,"position":1},"title":"APC Nas\u0131l Kurulur\/Optimizasyon &#8211; Centos How to install APC ?","author":"SahinSOLMAZ","date":"19 May\u0131s 2015","format":false,"excerpt":"APC Cache Nedir? Alternative PHP Cache PHP Extension Community Library k\u00fct\u00fcphanesinde bulunan Windows ve Linux \u00fczerinde \u00e7al\u0131\u015fabilen ve PHP 'ye eklenti\/plugin olarak kurulabilen bir PHP cache sistemidir. What is the APC Cache? Alternative PHP Cache is located\/findable in the PHP Extension Community Library. It can works in the Windows and\u2026","rel":"","context":"&quot;CentOS&quot; i\u00e7inde","block_context":{"text":"CentOS","link":"https:\/\/sahinsolmaz.com\/blog\/category\/sunucu\/centos\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/05\/apc-cache-nedir-what-is-the-apc-cache-nasil-kurulur-how-to-install-konfigure-etmek-configure.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/05\/apc-cache-nedir-what-is-the-apc-cache-nasil-kurulur-how-to-install-konfigure-etmek-configure.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/05\/apc-cache-nedir-what-is-the-apc-cache-nasil-kurulur-how-to-install-konfigure-etmek-configure.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/05\/apc-cache-nedir-what-is-the-apc-cache-nasil-kurulur-how-to-install-konfigure-etmek-configure.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":816,"url":"https:\/\/sahinsolmaz.com\/blog\/centos-6-ssh-mcrypt-kurulum-install-no-package-php53-mcrypt-available-solved\/","url_meta":{"origin":1286,"position":2},"title":"CENTOS 6 SSH MCRYPT KURULUM \/ INSTALL &#8211; No package php53-mcrypt available SOLVED","author":"SahinSOLMAZ","date":"2 Kas\u0131m 2014","format":false,"excerpt":"Linux CentOS i\u015fletim sisteminize MCRYPT eklentisinin kurulumunu yapabilmeniz i\u00e7in gerekli SSH Kodlar\u0131n\u0131 ve ad\u0131mlar\u0131n\u0131 a\u015fa\u011f\u0131dan takip edebilirsiniz. CENTOS 6 SSH MCRYPT KURULUM \/ INSTALL No package php53-mcrypt available\u00a0SOLVED wget http:\/\/dl.fedoraproject.org\/pub\/epel\/6\/x86_64\/epel-release-6-8.noarch.rpm wget http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-6.rpm sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm yum update yum install php-mcrypt* nano \/etc\/php.d\/mcrypt.ini extension=\/usr\/lib64\/php\/modules\/mcrypt.so service httpd restart","rel":"","context":"&quot;PHP&quot; i\u00e7inde","block_context":{"text":"PHP","link":"https:\/\/sahinsolmaz.com\/blog\/category\/sunucu\/php-sunucu\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":848,"url":"https:\/\/sahinsolmaz.com\/blog\/centosplesk-coklu-php-destegiphp-update-5-456-guncelleme-multipanda\/","url_meta":{"origin":1286,"position":3},"title":"CentOS\/Plesk &#8211; Coklu Php Deste\u011fi\/Php Update 5. \/4\/5\/6 G\u00fcncelleme Multi\/Panda","author":"SahinSOLMAZ","date":"2 Ocak 2015","format":false,"excerpt":"Merhabalar; Bu makalenin en ba\u015f\u0131nda vurgulamak istedi\u011fim bir konu var: PHP versiyon y\u00fckseltme, Php s\u00fcr\u00fcm y\u00fckseltme, PHP versiyon g\u00fcncelleme, Plesk Php g\u00fcncelleme, Php Panda Kurulumu, \u00c7oklu Php Kurulumu ve benzeri ba\u015fl\u0131klar ad\u0131 alt\u0131nda internette bir \u00e7ok makale var ve bunlar\u0131n bir \u00e7o\u011fu kafa kar\u0131\u015ft\u0131r\u0131c\u0131 ve maalesef kopya i\u00e7erik oldu\u011fu i\u00e7in\u2026","rel":"","context":"&quot;CentOS&quot; i\u00e7inde","block_context":{"text":"CentOS","link":"https:\/\/sahinsolmaz.com\/blog\/category\/sunucu\/centos\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/01\/Linux-CentOS-Plesk-Panel-%C3%87oklu-Php-Deste%C4%9Fi-Multi-Panda-Php-Update-Upgrade.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/01\/Linux-CentOS-Plesk-Panel-%C3%87oklu-Php-Deste%C4%9Fi-Multi-Panda-Php-Update-Upgrade.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/01\/Linux-CentOS-Plesk-Panel-%C3%87oklu-Php-Deste%C4%9Fi-Multi-Panda-Php-Update-Upgrade.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2015\/01\/Linux-CentOS-Plesk-Panel-%C3%87oklu-Php-Deste%C4%9Fi-Multi-Panda-Php-Update-Upgrade.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":407,"url":"https:\/\/sahinsolmaz.com\/blog\/cozuldusolved-php-configure-error-xml2-config-not-found\/","url_meta":{"origin":1286,"position":4},"title":"\u00c7\u00f6z\u00fcld\u00fc\/Solved &#8211; PHP configure: error: xml2-config not found","author":"SahinSOLMAZ","date":"31 Mart 2014","format":false,"excerpt":"PHP configure: error: xml2-config not found. Please check your libxml2 installation. Are you attempting to compile PHP on Linux and running into, \u201cconfigure: error: xml2-config not found. Please check your libxml2 installation.\u201d It\u2019s easy to fix, simply install the libxml2-development package by issuing the following command on your appropriate Linux\u2026","rel":"","context":"&quot;CentOS&quot; i\u00e7inde","block_context":{"text":"CentOS","link":"https:\/\/sahinsolmaz.com\/blog\/category\/sunucu\/centos\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":669,"url":"https:\/\/sahinsolmaz.com\/blog\/solusvm-kurulumu-resimlinasil-centosrhelscientific-56-how-to-install\/","url_meta":{"origin":1286,"position":5},"title":"SolusVM Kurulumu (Resimli\/Nas\u0131l) CentOS\/RHEL\/Scientific 5\/6 &#8211; How to install","author":"SahinSOLMAZ","date":"18 A\u011fustos 2014","format":false,"excerpt":"Merhaba arkada\u015flar, Bu yaz\u0131mda sizlere SSH \u00fczerinden CentOS\/RHEL\/Scientific 5\/6\u00a0sunucular\u0131n\u0131z i\u00e7in\u00a0SolusVM 'in kurulumunu anlataca\u011f\u0131m. Asl\u0131nda SolusVM bunu kendi sayfas\u0131nda zaten anlatm\u0131\u015f ancak \u0130ngilizce olarak, a\u015fa\u011f\u0131da T\u00fcrk\u00e7e anlat\u0131m\u0131 ve ilgili \u00f6rnek g\u00f6rselleri mevcut: kaynak:\u00a0http:\/\/docs.solusvm.com\/v2\/Default.htm#Installation\/Installing-Master.htm SSH terminaline giri\u015f yaparak s\u0131ras\u0131yla a\u015fa\u011f\u0131daki 3 komutu \u00e7al\u0131\u015ft\u0131r\u0131yoruz: wget http:\/\/soluslabs.com\/installers\/solusvm\/install ilgili dosyay\u0131 sunucumuza indirdik chmod 755 install\u2026","rel":"","context":"&quot;CentOS&quot; i\u00e7inde","block_context":{"text":"CentOS","link":"https:\/\/sahinsolmaz.com\/blog\/category\/sunucu\/centos\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2014\/08\/SolusVM-kurulum-resimli-anlatimi-ssh-centos-install-selinux-vs.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2014\/08\/SolusVM-kurulum-resimli-anlatimi-ssh-centos-install-selinux-vs.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2014\/08\/SolusVM-kurulum-resimli-anlatimi-ssh-centos-install-selinux-vs.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2014\/08\/SolusVM-kurulum-resimli-anlatimi-ssh-centos-install-selinux-vs.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/sahinsolmaz.com\/blog\/wp-content\/uploads\/2014\/08\/SolusVM-kurulum-resimli-anlatimi-ssh-centos-install-selinux-vs.png?resize=1050%2C600&ssl=1 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts\/1286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/comments?post=1286"}],"version-history":[{"count":6,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts\/1286\/revisions"}],"predecessor-version":[{"id":1637,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/posts\/1286\/revisions\/1637"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/media\/1289"}],"wp:attachment":[{"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/media?parent=1286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/categories?post=1286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sahinsolmaz.com\/blog\/wp-json\/wp\/v2\/tags?post=1286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}