tailieunhanh - Phát triển web với PHP và MySQL - p 83

Installing PHP 4 and MySQL APPENDIX A 795 A INSTALLING PHP 4 AND MYSQL FIGURE The Services Control Manager allows you to configure the services running on your machine. To test whether or not MySQL is working, you can execute the following commands: C:\mysql\bin\mysqlshow C:\mysql\bin\mysqlshow -u root mysql C:\mysql\bin\mysqladmin version status proc C:\mysql\bin\mysqladmin -u root shutdown These commands all work the same with the various Windows operating systems. MySQL will create two databases, the mysql and test databases. The mysql database will be used for storing the permissions and access to the server. The test database is not required, but gives you a safe place to. | Installing PHP 4 and MySQL 795 Appendix A A Figure The Services Control Manager allows you to configure the services running on your machine. To test whether or not MySQL is working you can execute the following commands C mysql bin mysqlshow C mysql bin mysqlshow -u root mysql C mysql bin mysqladmin version status proc C mysql bin mysqladmin -u root shutdown Installing PHP 4 AND MySQL These commands all work the same with the various Windows operating systems. MySQL will create two databases the mysql and test databases. The mysql database will be used for storing the permissions and access to the server. The test database is not required but gives you a safe place to execute commands to see if things are configured correctly. If you need more information please refer to the MySQL Web site http . We are now ready to install Apache under Windows. Let s begin Installing Apache Under Windows Apache and later is designed to run on Windows NT and Windows 2000. The installer will only work with the x86 family of processors such as Intel s. However Apache can also run on Windows 95 and 98 but these have not been tested. In all cases TCP IP networking must be installed. Make sure you use the Winsock 2 library if you decide to install it under either Win95 or Win98. It is recommended that you download the version of Apache for Windows with the .exe extension if you are a beginner and don t want to compile the source code. This single file contains the Apache server ready to be installed. Run the file you downloaded by double-clicking on it. The installation process should look familiar to you. As shown in Figure it looks similar to many other Windows installers. 796 Appendixes Part VI Figure The Apache installer is easy to use. The install program will prompt you for the following The directory to install Apache. The default is C Program Files Apache Group Apache. The start menu name. The default is Apache Web Server.

TỪ KHÓA LIÊN QUAN