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

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

Solution:
1. By default the Apache port is set to 127.0.0.1:80, 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:
easyphp_portbeenused

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

EasyPHP: How to change Apache server port number?

easyphp_logoProblem:
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.

Solution:
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.

easyphp_changeport

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

- Find the line “Listen 127.0.0.1:80″ and change to “Listen 127.0.0.1:8080“,

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

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>
or
<img src=”images/icon_diamond.gif” alt=”" align=”absbottom>

You will get error when you try to validate your page with W3C Markup Validator (http://validator.w3.org/check).

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=”" >

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

logo_dotNET

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.

step1step2

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

Windows 7 RC Released!

You can officially download from here :logo_windows

http://www.microsoft.com/windows/windows-7/download.aspx

If you are using XP, you will love it.

If you are using Vista, i am sure you are going to stick on it.

Anyway, it is still RC (Release Candidate) version. Still got some bugs and some changes in future.

Try it, and you will love it.

What? Your PC is running Pentium 3? No worry, it’s works!

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!