Category Archives: PHP

Step by step install wamp in windows xp

With recent progress of php5 campaign and minimum windows xp deployment I think I should upgrade my appserv to wampserver mode.

Wampserver can use dual php mode, php5 by default with php4 as addon.

Latest release :

WAMP5 1.7.2 with PHP 5.2.3 and MySQL 5.0.41

PHP4.4.7 ADD-ON for WAMP5 1.7.2

Latest release can be download here

I download WAMP5 1.7.2 with addon php4

Here’s the the installation steps :

Continue reading

disable php function in vhost or multiple user environment

Providing php access to many user require patience plus security aware.

People can damage server with some php function like system, passthru etc.

php provide php.ini file, this file needed to disable some dangerous function.

some option for disable php function are :

system, exec, shell_exec, passthru, set_time_limit, error_log, ini_alter, dl, pfsockopen, openlog, syslog, readlink, symlink, link, leak, fsockopen, popen, escapeshellcmd, apache_child_terminate apache_get_modules, apache_get_version, apache_getenv, apache_note,apache_setenv,virtual

after get this information php must know about these fucntion by editing php.ini files. This file located in C:\windows (in my win xp)

Double click to open, click edit -> find enter  "disable_function"

Before edit, the line will like this

Continue reading

rthanks, wp-plugin for say thanks

In last few days after testing stumbleupon effect I see very good result, almost everyday stats log get visitor from stumbleupon. Other socialbookmark like digg also included, netscape etc.

Google analytics also give interesting result, direct access very small while two other source come into major contributor :

  • Search Engines
  • Referring sites

I also see some question about how to increase rss subscriber :

Continue reading