Web Programming

easyPHP: Unable to load PHP extension php_intl.dll

After enable the  intl extension in php.ini. There are two errors happen :
– eds-httpd.exe – System error: The program can’t start because icuuc51.dll is missing from your computer. Try reinstalling the program to fix this problem. (Figure 1)

– PHP Startup: Unable to load dynamic library ‘C:\PROGRA~2\EASYPH~1.1VC\\binaries\php\php_runningversion\ext\php_intl.dll’ – The specified module could not be found. (Figure 2)



  1. Copy all the files that starts with icu* (basically it contains 8 files, it is depends on your OS) from “C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\php\php_runningversion\” (location might be different):
  2. And then paste the files to “C:\Program Files (x86)\EasyPHP-DevServer-14.1VC11\binaries\apache\bin\” (location might be different).easyphp3
  3.  Restart easyPHP.


Tested : easyPHP Version 14.1 @ Windows 8

SugarCRM Web Programming

How to get full name of user by using user id in SugarCRM

It is very simple :

$myUser = new User();
Web Programming

EasyPHP: Apache Cannot Be Run. Another Web Server Is Using The Web Port Or Port Is Blocked By Firewall

When I start EasyPHP: “Apache Cannot be Run. Another web server is using the web port or port is blocked by firewall”…

1. By default the Apache port is set to, so make sure other applications  like IIS, Skype, Yahoo! messenger and etc applications are not using the same port (port 80).

2. If the port already used by other application, change the port to 8080. How? Please read more from this post.

3. If the problem still exists, then try this: Press “Ctrl+E” and there is a pop-up window or go to Configuration>EasyPHP:

4. Uncheck the “Check Server’s TCP port before starting” and press “Apply”. Then Restart EasyPHP again.

Web Programming Windows

EasyPHP: How to change Apache server port number?

By default the Apache server port is set to 80, same as IIS server. If I want to change the default port to the port that I want.

1. Double click on the EasyPHP icon at the system tray (the icon appears beside the clock). A popup window will appear, click once on the “e” button that appear on the left hand side> Configuaration > Apache.


2. It will open a file called httpd.conf:

– Find the line “Listen” and change to “Listen“,

(Optional) Find the line “ServerName localhost:80” and change to “ServerName localhost:8080

Web Programming

align=”absmiddle” or align=”absbottom” not validate in W3C Markup Validator

Normally we will use align=”absmiddle” to make an image align in the middle between a HTML element/object, e.g:

<input name=”text1″ type=”text” maxlength=”17″><img src=”button_ok.gif'” alt=”OK” style=”margin-bottom:1px;” align=”absmiddle>
<img src=”images/icon_diamond.gif” alt=”” align=”absbottom>

You will get error when you try to validate your page with W3C Markup Validator (

How to solve?

Use this:

<img style=”vertical-align:bottom” src=”images/icon_diamond.gif” alt=”” >

Same as:

<img style=”vertical-align:middle” src=”images/icon_diamond.gif” alt=”” >

.NET How to : Microsoft Web Programming Windows

How to : Run classic ASP/ASP.NET on IIS 7


After installed IIS7, some people might find that classic ASP or even ASP.NET are not be able to run on the new IIS. Example test, http://localhost/test.asp or http://localhost/test.aspx

By default, the IIS is not configured for classic ASP (crab!), but do not worry, you just have to follow the simple 2 steps:

1) Go to Control Panel > Programs and Features > click Turn Windows features on and off

2) Navigate down the tree of features and make sure ASP is checked(checked ASP.NET if you want to run ASP.NET too). It should be under Internet Information Services (IIS) Manager > World Wide Web Services > Application Development Features. Press OK when done.


p/s: There are many reasons to cause the classic ASP & are not running well in local PC. Normally this solution is apply to those who installed the new IIS.