Categories
Web Programming

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.

25 replies on “EasyPHP: Apache Cannot Be Run. Another Web Server Is Using The Web Port Or Port Is Blocked By Firewall”

Hi Majid,
Did u try to restart EasyPHP again after the changed?
Or post your error message to me (check your error log).

Locate httpd.conf file in the EASYPHP
installed folder and change
Listen 127.0.0.1:80
TO
Listen 127.0.0.1:81
Now your Apache works properly

none of the solutions above works for me 🙁
i changed the port to 81, Uncheck the “Check Server’s TCP port before starting”
and restarted easyphp

Hi carlos,

Please post your error log.
So wee can help you to solve your problem.

Locate httpd.conf file in the EASYPHP
installed folder and change
Listen 127.0.0.1:80
TO
Listen 127.0.0.1:81
Now your Apache works properly

Log:
EasyPHP Apache Cannot run server : Der angegebene Dienst ist kein installierter Dienst. (1060)

I did every thing but still Apache is Stopped. giving this message box:

Error in Apache configuration file.
“The system cannot execute the specified program.”
edit ?

now what should i do ? plz help

hi mohsin,

What did u change in Apache configuration file?
You can check the error log file, or u can post ur error msg here.

Try to reinstall, if error still happen then install others WAMP like Xampp or WampServer.

Argh! I can’t get it to work. I did the things you suggest, and it starts, then quickly generates a list of errors:

2014-03-26 17:47:07 6872 [Note] Plugin ‘FEDERATED’ is disabled.
2014-03-26 17:47:07 6872 [Note] InnoDB: The InnoDB memory heap is disabled
2014-03-26 17:47:07 6872 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-03-26 17:47:07 6872 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-03-26 17:47:07 6872 [Note] InnoDB: Not using CPU crc32 instructions
2014-03-26 17:47:07 6872 [Note] InnoDB: Initializing buffer pool, size = 20.0M
2014-03-26 17:47:07 6872 [Note] InnoDB: Completed initialization of buffer pool
2014-03-26 17:47:07 6872 [Note] InnoDB: Highest supported file format is Barracuda.
2014-03-26 17:47:07 6872 [Note] InnoDB: The log sequence numbers 1625977 and 1625977 in ibdata files do not match the log sequence number 1626134 in the ib_logfiles!
2014-03-26 17:47:07 6872 [Note] InnoDB: Database was not shutdown normally!
2014-03-26 17:47:07 6872 [Note] InnoDB: Starting crash recovery.
2014-03-26 17:47:07 6872 [Note] InnoDB: Reading tablespace information from the .ibd files…
2014-03-26 17:47:07 6872 [Note] InnoDB: Restoring possible half-written data pages
2014-03-26 17:47:07 6872 [Note] InnoDB: from the doublewrite buffer…
2014-03-26 17:47:07 6872 [Note] InnoDB: 128 rollback segment(s) are active.
2014-03-26 17:47:07 6872 [Note] InnoDB: Waiting for purge to start
2014-03-26 17:47:07 6872 [Note] InnoDB: 5.6.15 started; log sequence number 1626134
2014-03-26 17:47:08 6872 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 52f88f23-b549-11e3-a0ff-f46d0497cd29.
2014-03-26 17:47:08 6872 [Note] Server hostname (bind-address): ‘127.0.0.1’; port: 3306
2014-03-26 17:47:08 6872 [Note] – ‘127.0.0.1’ resolves to ‘127.0.0.1’;
2014-03-26 17:47:08 6872 [Note] Server socket created on IP: ‘127.0.0.1’.
2014-03-26 17:47:08 6872 [ERROR] Can’t start server: Bind on TCP/IP port: No error
2014-03-26 17:47:08 6872 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2014-03-26 17:47:08 6872 [ERROR] Aborting

2014-03-26 17:47:08 6872 [Note] Binlog end
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘partition’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘PERFORMANCE_SCHEMA’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_SYS_DATAFILES’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_SYS_TABLESPACES’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN_COLS’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_SYS_FIELDS’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_SYS_COLUMNS’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_SYS_INDEXES’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_SYS_TABLESTATS’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_SYS_TABLES’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_FT_INDEX_TABLE’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_FT_INDEX_CACHE’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_FT_CONFIG’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_FT_BEING_DELETED’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_FT_DELETED’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_FT_DEFAULT_STOPWORD’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_METRICS’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_BUFFER_POOL_STATS’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE_LRU’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX_RESET’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_CMPMEM_RESET’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_CMPMEM’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_CMP_RESET’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_CMP’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_LOCK_WAITS’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_LOCKS’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘INNODB_TRX’
2014-03-26 17:47:08 6872 [Note] Shutting down plugin ‘InnoDB’
2014-03-26 17:47:08 6872 [Note] InnoDB: FTS optimize thread exiting.
2014-03-26 17:47:08 6872 [Note] InnoDB: Starting shutdown…
2014-03-26 17:47:09 6872 [Note] InnoDB: Shutdown completed; log sequence number 1626144
2014-03-26 17:47:09 6872 [Note] Shutting down plugin ‘BLACKHOLE’
2014-03-26 17:47:09 6872 [Note] Shutting down plugin ‘ARCHIVE’
2014-03-26 17:47:09 6872 [Note] Shutting down plugin ‘MRG_MYISAM’
2014-03-26 17:47:09 6872 [Note] Shutting down plugin ‘MyISAM’
2014-03-26 17:47:09 6872 [Note] Shutting down plugin ‘MEMORY’
2014-03-26 17:47:09 6872 [Note] Shutting down plugin ‘CSV’
2014-03-26 17:47:09 6872 [Note] Shutting down plugin ‘sha256_password’
2014-03-26 17:47:09 6872 [Note] Shutting down plugin ‘mysql_old_password’
2014-03-26 17:47:09 6872 [Note] Shutting down plugin ‘mysql_native_password’
2014-03-26 17:47:09 6872 [Note] Shutting down plugin ‘binlog’
2014-03-26 17:47:09 6872 [Note] C:\PROGRA~2\EASYPH~1.1VC\binaries\mysql\bin\eds-mysqld.exe: Shutdown complete

2014-03-26 17:48:45 6360 [Note] Plugin ‘FEDERATED’ is disabled.
2014-03-26 17:48:45 6360 [Note] InnoDB: The InnoDB memory heap is disabled
2014-03-26 17:48:45 6360 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2014-03-26 17:48:45 6360 [Note] InnoDB: Compressed tables use zlib 1.2.3
2014-03-26 17:48:45 6360 [Note] InnoDB: Not using CPU crc32 instructions
2014-03-26 17:48:45 6360 [Note] InnoDB: Initializing buffer pool, size = 20.0M
2014-03-26 17:48:45 6360 [Note] InnoDB: Completed initialization of buffer pool
2014-03-26 17:48:45 6360 [Note] InnoDB: Highest supported file format is Barracuda.
2014-03-26 17:48:45 6360 [Note] InnoDB: 128 rollback segment(s) are active.
2014-03-26 17:48:45 6360 [Note] InnoDB: Waiting for purge to start
2014-03-26 17:48:46 6360 [Note] InnoDB: 5.6.15 started; log sequence number 1626144
2014-03-26 17:48:46 6360 [Note] Server hostname (bind-address): ‘127.0.0.1’; port: 3306
2014-03-26 17:48:46 6360 [Note] – ‘127.0.0.1’ resolves to ‘127.0.0.1’;
2014-03-26 17:48:46 6360 [Note] Server socket created on IP: ‘127.0.0.1’.
2014-03-26 17:48:46 6360 [ERROR] Can’t start server: Bind on TCP/IP port: No error
2014-03-26 17:48:46 6360 [ERROR] Do you already have another mysqld server running on port: 3306 ?
2014-03-26 17:48:46 6360 [ERROR] Aborting

2014-03-26 17:48:46 6360 [Note] Binlog end
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘partition’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘PERFORMANCE_SCHEMA’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_SYS_DATAFILES’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_SYS_TABLESPACES’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN_COLS’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_SYS_FOREIGN’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_SYS_FIELDS’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_SYS_COLUMNS’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_SYS_INDEXES’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_SYS_TABLESTATS’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_SYS_TABLES’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_FT_INDEX_TABLE’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_FT_INDEX_CACHE’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_FT_CONFIG’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_FT_BEING_DELETED’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_FT_DELETED’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_FT_DEFAULT_STOPWORD’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_METRICS’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_BUFFER_POOL_STATS’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE_LRU’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_BUFFER_PAGE’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX_RESET’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_CMP_PER_INDEX’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_CMPMEM_RESET’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_CMPMEM’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_CMP_RESET’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_CMP’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_LOCK_WAITS’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_LOCKS’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘INNODB_TRX’
2014-03-26 17:48:46 6360 [Note] Shutting down plugin ‘InnoDB’
2014-03-26 17:48:46 6360 [Note] InnoDB: FTS optimize thread exiting.
2014-03-26 17:48:46 6360 [Note] InnoDB: Starting shutdown…
2014-03-26 17:48:47 6360 [Note] InnoDB: Shutdown completed; log sequence number 1626154
2014-03-26 17:48:47 6360 [Note] Shutting down plugin ‘BLACKHOLE’
2014-03-26 17:48:47 6360 [Note] Shutting down plugin ‘ARCHIVE’
2014-03-26 17:48:47 6360 [Note] Shutting down plugin ‘MRG_MYISAM’
2014-03-26 17:48:47 6360 [Note] Shutting down plugin ‘MyISAM’
2014-03-26 17:48:47 6360 [Note] Shutting down plugin ‘MEMORY’
2014-03-26 17:48:47 6360 [Note] Shutting down plugin ‘CSV’
2014-03-26 17:48:47 6360 [Note] Shutting down plugin ‘sha256_password’
2014-03-26 17:48:47 6360 [Note] Shutting down plugin ‘mysql_old_password’
2014-03-26 17:48:47 6360 [Note] Shutting down plugin ‘mysql_native_password’
2014-03-26 17:48:47 6360 [Note] Shutting down plugin ‘binlog’
2014-03-26 17:48:47 6360 [Note] C:\PROGRA~2\EASYPH~1.1VC\binaries\mysql\bin\eds-mysqld.exe: Shutdown complete

Thanks for helping me!
Wayne

@Wayne,

Are you trying to install multiple easyPHP or MySQL in the same machine?
Please don’t do that, or there is a tricky way to do that. Not suggest, use VM to do that if needed.

Sorry for my late response.

Leave a Reply

Your email address will not be published. Required fields are marked *