Install gd support in php without xorg

Recent upgrade to php 5.2.3 require to install gd support too but it always need xorg. Here’s a lttle note on how to add gd support in php5 ports in freebsd without xorg. 1. Checking installed php extension proxy# pkg_info | grep php5 php5-5.2.3          PHP Scripting Language (Apache Module and CLI) php5-bz2-5.2.3      The bz2 shared …

More

php 5.2.3 upgrade more issue

Warning: session_save_path() [ href="function.session-save-path">function.session-save-path]: open_basedir restriction in effect. with error reporting set, blank page won’t give anything A little work need to be done since session not working properly after upgrade php from php 4.4.7 to php 5.2.3. After doing install and uninstall php5 ports in freebsd 6.2 box. I can see that error. Googling …

More

Upgrading to php5

Recent announcement from php.net about end support for php4 make me thinking about upgrading to php5. All server already use latest php4 version php 4.4.7 with mysql support (4.0.27) and apache1.37 Upgrading start from student server : 1. Uninstall all related php4 ports 2. Install php5 ports kongja# cd /usr/ports/lang/php5 && make clean ===>  Cleaning …

More

PHP 4 end of life announcement

From php.net "Today it is exactly three years ago since PHP 5 has been released. In those three years it has seen many improvements over PHP 4. PHP 5 is fast, stable & production-ready and as PHP 6 is on the way, PHP 4 will be discontinued. The PHP development team hereby announces that support …

More

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 …

More

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, …

More

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 …

More

Operation is not allowed when the object is closed

New problem come with javascript php and mysql script that proven to work suddenly pop error message and entire editing process get stuck Error message : ” Operation is not allowed when the object is closed “ line 94 char 11 code 0 file display.php a few suspect come after : xmlchapter.php xmlsubchapter.php xmlpage.php

Different days Auction Ads keyword with php

In my previous post about randomize keyword with php, shoemoney tell me that function already built in AA program, just use ; to separate your keywords :-)I’m still research how sales made on daily basis, what people buy on Sunday, Tuesday till Sunday The idea is pick good keywords and integrate it in AA code. …

More

Randomize your Auction Ads keyword with php

Auction ads is simple program that display auction ads from ebay, live in your website different from adsense, auction ads need specific keyword to display properly I use simple php rand() function to help me randomize my auction ads keyword. Here’s my code : <?php $keyword=array(‘computer’,’laptop’,’handphone’); $key2=rand(‘0′,count($keyword)); ?> For example :

ZFS and FreeBSD current

Very interesting to see progress of ZFS in FreeBSD, comitted in FreeBSD 7 ( will release in 2007). This excellent job done by Pawel Jakub Dawidek with collaboration with opensolaris¬† for suitable patch . Many feature that ZFS offer that make me hard to blink till see last pages of presentation Pawel also give quick …

More