XAMPP: Another web server is already running

本文详细介绍了在使用Nginx和XAMPP时遇到并发问题的原因,即XAMPP内置的端口检测机制。通过调整配置文件,成功解决了端口冲突,使得两个应用能同时正常运行。

 nginx 和 xampp 一起使用的时候,如果 nginx先启动,然后 再启动 xampp的时候,就是修改了 http.conf也是会报如果错误

liaohb@ubuntu-xtn->$sudo /opt/lampp/xampp start
[sudo] password for liaohb: 
Starting XAMPP for Linux 5.6.11-1...
XAMPP: Starting Apache...fail.
XAMPP:  Another web server is already running.
XAMPP: Starting MySQL...already running.


在网查了一下,原来是因为在  xampp 里面有一判断,端口是否已经使用。所要修改一下就可以了。


修改后保存就,再启动没有问题了。

2015-11-10 15:26:56 10fc InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator. 2015-11-10 15:26:56 4348 [Note] InnoDB: Using mutexes to ref count buffer pool pages 2015-11-10 15:26:56 4348 [Note] InnoDB: The InnoDB memory heap is disabled 2015-11-10 15:26:56 4348 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions 2015-11-10 15:26:56 4348 [Note] InnoDB: Memory barrier is not used 2015-11-10 15:26:56 4348 [Note] InnoDB: Compressed tables use zlib 1.2.3 2015-11-10 15:26:56 4348 [Note] InnoDB: Not using CPU crc32 instructions 2015-11-10 15:26:56 4348 [Note] InnoDB: Initializing buffer pool, size = 16.0M 2015-11-10 15:26:56 4348 [Note] InnoDB: Completed initialization of buffer pool 2015-11-10 15:26:56 4348 [Note] InnoDB: Highest supported file format is Barracuda. 2015-11-10 15:26:57 4348 [Note] InnoDB: 128 rollback segment(s) are active. 2015-11-10 15:26:57 4348 [Note] InnoDB: Waiting for purge to start 2015-11-10 15:26:57 4348 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.26-74.0 started; log sequence number 1835027 2015-11-10 15:26:57 6140 [Note] InnoDB: Dumping buffer pool(s) not yet started 2015-11-10 15:26:57 4348 [Note] Plugin 'FEEDBACK' is disabled. 2015-11-10 15:26:57 4348 [Note] Server socket created on IP: '::'. 2015-11-10 15:26:57 4348 [Note] Event Scheduler: Loaded 0 events 2015-11-10 15:26:57 4348 [Note] C:\xampp\mysql\bin\mysqld.exe: ready for connections. Version: '10.1.8-MariaDB' socket: '' port: 3306 mariadb.org binary distribution 2015-11-10 15:27:11 5152 [Note] C:\xampp\mysql\bin\mysqld.exe: Normal shutdown 2015-11-10 15:27:11 5152 [Note] Event Scheduler: Purging the queue. 0 events 2015-11-10 15:27:11 5732 [Note] InnoDB: FTS optimize thread exiting. 2015-11-10 15:27:11 5152 [Note] InnoDB: Starting shutdown... 2015-11-10 15:27:13 5152 [Note] InnoDB: Shutdown completed; log sequence number 1835037 2015-11-10 15:27:13 5152 [Note] C:\xampp\mysql\bin\mysqld.exe: Shutdown complete 2025-10-31 10:54:37 5784 InnoDB: Warning: Using innodb_additional_mem_pool_size is DEPRECATED. This option may be removed in future releases, together with the option innodb_use_sys_malloc and with the InnoDB's internal memory allocator. 2025-10-31 10:54:37 22404 [Note] InnoDB: Using mutexes to ref count buffer pool pages 2025-10-31 10:54:37 22404 [Note] InnoDB: The InnoDB memory heap is disabled 2025-10-31 10:54:37 22404 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions 2025-10-31 10:54:37 22404 [Note] InnoDB: Memory barrier is not used 2025-10-31 10:54:37 22404 [Note] InnoDB: Compressed tables use zlib 1.2.3 2025-10-31 10:54:37 22404 [Note] InnoDB: Using generic crc32 instructions 2025-10-31 10:54:37 22404 [Note] InnoDB: Initializing buffer pool, size = 16.0M 2025-10-31 10:54:37 22404 [Note] InnoDB: Completed initialization of buffer pool 2025-10-31 10:54:37 22404 [Note] InnoDB: Highest supported file format is Barracuda. 2025-10-31 10:54:37 22404 [Note] InnoDB: 128 rollback segment(s) are active. 2025-10-31 10:54:37 22404 [Note] InnoDB: Waiting for purge to start 2025-10-31 10:54:37 22404 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.28-76.1 started; log sequence number 1835037 2025-10-31 10:54:37 4400 [Note] InnoDB: Dumping buffer pool(s) not yet started 2025-10-31 10:54:37 22404 [Note] Plugin 'FEEDBACK' is disabled. 2025-10-31 10:54:37 22404 [Note] Server socket created on IP: '::'. 2025-10-31 10:54:37 22404 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 10048: ͨ ÿ ׽ ֵ ַ(Э / ַ/ ˿ )ֻ ʹ һ Ρ 2025-10-31 10:54:37 22404 [ERROR] Do you already have another mysqld server running on port: 3306 ? 2025-10-31 10:54:37 22404 [ERROR] Aborting
最新发布
11-01
评论 4
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值