tailieunhanh - Giải pháp thiết kế web động với PHP - p 4

GETTING READY TO WORK WITH PHP You don t need any special equipment. A web server is a piece of software that displays web pages, not a separate computer. As long as you have at least 1GB of free disk space, you should be able to install all the software on your computer—even one with modest specifications. If you already have a PHP test environment on your local computer, there s no need to reinstall. Just check the section at the end of the chapter titled “Checking your PHP (Windows and Mac).” Individual programs or an all-in-one package? For many years, I advocated installing. | GETTING READY TO WORK WITH PHP You don t need any special equipment. A web server is a piece of software that displays web pages not a separate computer. As long as you have at least 1GB of free disk space you should be able to install all the software on your computer even one with modest specifications. If you already have a PHP test environment on your local computer there s no need to reinstall. Just check the section at the end of the chapter titled Checking your PHP Windows and Mac . Individual programs or an all-in-one package For many years I advocated installing each component of a PHP testing environment separately rather than using a package that installs Apache PHP MySQL and phpMyAdmin automatically in a single operation. My advice was based on the dubious quality of some early all-in-one packages which installed easily but were next to impossible to uninstall or upgrade. The all-in-one packages currently available are excellent and I have no hesitation in recommending them. On my computers I use XAMPP for Windows en and MAMP for Mac OS X en mamp . Setting up a PHP testing environment with an all-in-one package is normally trouble free. The main cause of difficulty is a conflict with another program using port 80 which Apache and IIS use to listen for page requests. If Skype is installed go to the Advanced section of Skype Preferences and make sure it s not using port 80. Try 42815 as the incoming port instead. Setting up on Windows These instructions have been tested on Windows 7 Windows Vista and Windows XP. Make sure that you re logged on as an Administrator before proceeding. Getting Windows to display filename extensions By default most Windows computers hide the three- or four-letter filename extension such as .doc or .html so all you see in dialog boxes and Windows Explorer is thisfile instead of or . The ability to see these filename extensions is .

TỪ KHÓA LIÊN QUAN