Archive

Archive for the ‘php’ Category

Mengaktifkan PHP Register Global On di Cpanel

November 10, 2011 51 comments

Biasanya hosting tidak mengaktifkan register global, karena akan berdampak dengan keamanan variabel untuk PHP Injection 😀 ..

Untuk mengaktifkann register global on bisa dengan membuat file php.ini dengan:

register_globals = on

atau dengan file .htaccess dengan:

php_value register_globals on 
Categories: Cpanel, docs, php, server

Limited Upload max on your own directory apache

April 28, 2010 Leave a comment

Apache is one powerfull web server most used on cyber world. So many module to configuring as you want. One of them called mod_php. Sometimes we need different value of php main configuration. An example, on php main configuration we’ve added upload max 5M. So, you want a directory have different to upload more 5 M, example: 100M. So just add to your own directory directive:

<Directory /usr/local/www/upload>
php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value max_execution_time 200
php_value max_input_time 200
</Directory>

semoga membantu.. 🙂

ref:

http://php.net/manual/en/configuration.changes.php

Categories: apache, GNU/Linux, php, tips Tags: , , , ,

Install Apache 1.3 with mod_ssl and mod_watch, Mysql 4.1, PHP 5 on FreeBSD 7.2

June 20, 2009 6 comments

ok, check more below for complete information
Read more…

Install apache, php5, and mysql on FreeBSD 7.2 using ports

June 17, 2009 15 comments

Update: 12/09/2009

Apache web server one of the most widely used. Apache can also be installed on freebsd. following way to install apache, PHP5, mysql the most easy to use ports.
Read more…

Install apache, mysql dan php di slax

February 23, 2009 6 comments

mysql_yin_yang
Peralatan yang dibutuhkan:

1. pkgtool

biasanya pkgtool udah include di distro slax

bahannya:

1. download di sini (httpd,mysql,php)

di sini menggunakan paket httpd-2.2.8, php-5.2.5-i486 dan mysql-5.0.51b dari slacky. Semuanya paket tgz. Kenapa enggak pake paket lzm ?? karena kalo kita pake lzm ntar remove nya susah, so kita pake paket tgz biar ntar remove paket nya lebih mudah 🙂 . Untuk installasi nya cukup mudah. Buka konsole, lalu masuk k direktori anda menyimpan paket2nya.
lalu ketik:
Read more…