{"id":1443,"date":"2019-10-31T01:29:58","date_gmt":"2019-10-30T22:29:58","guid":{"rendered":"https:\/\/www.linux-destek.com\/?p=1443"},"modified":"2019-10-31T01:29:58","modified_gmt":"2019-10-30T22:29:58","slug":"cloudlinuxta-ortak-tum-php-ayarlarinin-yonetimi","status":"publish","type":"post","link":"https:\/\/www.48k.com.tr\/cloudlinuxta-ortak-tum-php-ayarlarinin-yonetimi\/","title":{"rendered":"Cloudlinuxta ortak t\u00fcm php ayarlar\u0131n\u0131n y\u00f6netimi"},"content":{"rendered":"

Cloudlinux sunucunuzda kurulu olan t\u00fcm php versiyonlar\u0131 i\u00e7in ortak tek dosyada bir kereli\u011fine php ayarlar\u0131n\u0131 de\u011fi\u015ftirebilirsiniz.\u00dcstelik bu,g\u00fcncellemelerden etkilenmeyecektir.\u00c7\u00fcnk\u00fc her paket g\u00fcncellemesinde paket i\u00e7ersinndeki php.ini dosyas\u0131 sizin dosyas\u0131n\u0131z\u0131n \u00fczerine yaz\u0131lmaktad\u0131r.<\/p>\n

Bunu yapmak i\u00e7in \u00f6ncelikle ssh login olup \/etc\/cl.selector\/ dizinine ge\u00e7in.<\/p>\n

global_php.ini isimli dosyay\u0131 nano veya vi gibi bir editorle a\u00e7\u0131n.<\/p>\n

[Global PHP Settings]<\/strong> tag\u0131 alt\u0131nda t\u0131pk\u0131 php.ini standart format\u0131nda oldu\u011fu gibi kendi direktiflerinizi yaz\u0131n.\u00d6rne\u011fin date.timezone veya disable_functions gibi.Altta sizin i\u00e7in bir \u00f6rnek;<\/p>\n

[Global PHP Settings]<\/strong><\/p>\n

disable_functions= proc_open,escapeshellcmd,escapeshellarg, show_source,
\nposix_mkfifo, ini_restore, mysql_list_dbs, get_current_user, getmyuid,pconnect, link, symlink, fin, exec, fileread, shell_exec, pcntl_exec, leak, apache_child_terminate, ch
\nown, posix_kill, posix_setpgid, posix_setsid, posix_setuid, proc_terminate, syslog, fpassthru, execute, shell, chgrp, stream_select, passthru, socket_select, socket_create,
\nsocket_create_listen, socket_create_pair, socket_listen, socket_accept, socket_bind, socket_strerror, pcntl_fork, pcntl_signal, pcntl_waitpid, pcntl_wexitstatus, pcntl_wif
\nexited, pcntl_wifsignaled, pcntl_wifstopped, pcntl_wstopsig, pcntl_wtermsig, openlog, apache_get_modules, apache_get_version, apache_getenv, apache_note, apache_setenv, vir
\ntual, eval, allow_url_fopen, pconnect, p_connect,posix_getpwuid,fileowner,sym<\/p>\n

Dosyan\u0131z\u0131 kaydedip editorden \u00e7\u0131k\u0131n.Tekrar konsola geldi\u011finizde \u015fu komutla i\u015flemi onaylay\u0131n.<\/p>\n

[root@srv ~]#<\/strong> selectorctl \u2013apply-global-php-ini<\/p>\n

Bunu dilerseniz herhangi bir web hosting alt\u0131na y\u00fckleyebilece\u011finiz phpinfo ile yapt\u0131\u011f\u0131n\u0131z de\u011fi\u015fiklikleri g\u00f6rebilirsiniz.<\/p>\n","protected":false},"excerpt":{"rendered":"

Cloudlinux sunucunuzda kurulu olan t\u00fcm php versiyonlar\u0131 i\u00e7in ortak tek dosyada bir kereli\u011fine php ayarlar\u0131n\u0131 de\u011fi\u015ftirebilirsiniz.\u00dcstelik bu,g\u00fcncellemelerden etkilenmeyecektir.\u00c7\u00fcnk\u00fc her paket g\u00fcncellemesinde paket i\u00e7ersinndeki php.ini dosyas\u0131 sizin dosyas\u0131n\u0131z\u0131n \u00fczerine yaz\u0131lmaktad\u0131r. Bunu yapmak i\u00e7in \u00f6ncelikle ssh login olup \/etc\/cl.selector\/ dizinine ge\u00e7in. global_php.ini isimli dosyay\u0131 nano veya vi gibi bir editorle a\u00e7\u0131n. [Global PHP Settings] tag\u0131 alt\u0131nda t\u0131pk\u0131 […]<\/p>\n","protected":false},"author":1,"featured_media":1442,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[499,350,449,574],"tags":[487,679],"class_list":["post-1443","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux-hosting","category-linux-sunucu-kurulumu","category-linux-sunucu-yonetimi","category-linux-web-hosting","tag-cloudlinux","tag-tum-php-versiyonlari-icin-ortak-ayarlar"],"_links":{"self":[{"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/posts\/1443"}],"collection":[{"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/comments?post=1443"}],"version-history":[{"count":0,"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/posts\/1443\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.48k.com.tr\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/media?parent=1443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/categories?post=1443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.48k.com.tr\/wp-json\/wp\/v2\/tags?post=1443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}