Cách dễ nhất và nhanh nhất để tạo localhost, test tiếc nghịch ngợm chính là dùng easyphp, gọn nhẹ, hơn xampp là cái chắc
) đơn giản, dễ dàng. Nhưng trên bản 64bit nó dở chứng ầm ĩ ko dùng dc, hôm nọ cài apache rồi php mệt quá, hnay cài thêm mysql nhưng khổ quá, may tìm ra cái này, chiếm luôn
)
http://ryan.rawswift.com/2009/09/20/easyphp-on-64-bit-windows-7-how-to-fix-apache-and-mysql-problem/
EasyPHP on Windows 7Apache
I am accustomed in using EasyPHP on a Windows platform. Installation, running, and configuring it is always a breeze (on Windows XP that is). Recently I’ve installed Windows 7 RTM on my MSI notebook and installed EasyPHP 5.3.0, though the Installation goes flawlessly but then when I launch the stack software, Apache wouldn’t start.
I turned off the firewall but no luck. So I did a search on google, again no luck with Windows 7 specific solution but I found one for Windows Vista. I tried it anyway, then BAM! It worked! I finally got Apache to start, tried opening the local default web and it worked perfectly. Here’s the error message and how to fix it:
Apache cannot be runned: another Web server use the Web port or port is blocked by firewall.
That would fix the “Apache cannot be runned…” problem.
Got the Apache server to work but after I closed EasyPHP and run it again, I’m hit with another error message:
Unexpected end of MySql... See log file?
Now it’s from MySQL. After a few head scratching and inspection. And then it hit me! I figure that must be a permission problem. So I changed my user’s permission for the EasyPHP directory and Viola! MySQL finally start. Solved the MySQL problem. Here’s what I did:
Now you’ll be able to start MySQL server by clicking “MySQL” button on EasyPHP dialog and then click “Start“.
Hope this helps!