php ini complate command

[PHP] engine = On short_open_tag = On asp_tags = Off precision = 12 y2k_compliance = On output_buffering = Off zlib.output_compression = Off implicit_flush = Off unserialize_callback_func= serialize_precision = 100 allow_call_time_pass_reference = On safe_mode = Off safe_mode_gid = Off safe_mode_include_dir = safe_mode_exec_dir = safe_mode_allowed_env_vars = PHP_ safe_mode_protected_env_vars = LD_LIBRARY_PATH ; open_basedir = On disable_functions = “system,exec,shell_exec,readfile,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_open,ini_alter,show_source,popen,dl” … Read more

Cara custome php.ini di php-selector (cagefs) cpanel

cara nya adalah bisa anda tambahkan sbb: 1. login ke root via ssh 2. lalu cari user cpanel yg mau di custome php.ini nya misal: vi /home/user/.cl.selector/alt_php53.cfg ;>=== Start of PHP Selector Custom Options === upload_max_filesize=64M register_globals=off register_long_arrays=Off ;

Membangun Streaming Web Server dengan PHPMotion di centos 6.5

Requirment : -centos 6.5 – PHP 4.3 and above  Burberry Outlet UK (including support of CLI) – MySQL database server – LAME MP3 Encoder – Libogg + Libvorbis – Mencoder and also Mplayer – FFMpeg-PHP – GD Library 2 or higher – CGI-BIN – Be able to run background Burberry Sweaters  processes tahap instalasi : … Read more

Membuat log per hari dengan logrotate – postfix

tahapan nya : 1. login ke server ( ssh ) 2. jenis scripts yg di gunakan : /var/log/maillog { daily rotate 31 start 1 compress create 0600 root dateext postrotate /etc/init.d/postfix reload > /dev/null endscript atau /var/log/maillog { missingok notifempty size 100M daily create 0600 root root rotate 35 dateext copytruncate } 3. tambahkan script … Read more

Secure Postfix with Amavisd, ClamAV, SpamAssassin – centos 6

1. install repo : link : http://wiki.centos.org/AdditionalResources/Repositories/RPMForge?action=show&redirect=Repositories%2FRPMForge#head-f0c3ecee3dbb407e4eed79a56ec0ae92d1398e01 misal : ketika di uname -i muncul veri : x86_64 wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm rpm -Uvh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm 2. install tools nya : yum install amavisd-new clamav clamav-devel clamd spamassassin -y 3. config Clamav vi /etc/clamd.conf kasih tanda # # TCP port address. # Default: no # TCPSocket 3310 4. config … Read more