tailieunhanh - PHP and MySQL Web Development - P168

PHP and MySQL Web Development - P168: PHP and MySQL Web Development teaches the reader to develop dynamic, secure, commercial Web sites. Using the same accessible, popular teaching style of the first edition, this best-selling book has been updated to reflect the rapidly changing landscape of MySQL and PHP. | Installing Apache PHP and MySQL Under Windows 807 Using InstallShield The installer comes as an executable file. Begin by stopping your Web server and then double-click the installer to run it. The installer will ask you if you would like to use the standard or advanced setup. The standard setup will ask you very few questions It will ask you what directory to install to where your mail server lives what your email address is and the type of web server you have. The advanced setup will also ask you If you want to create backups during the installation Where you would like uploaded files to be placed Where you would like session data stored What error reporting level you would like What file extensions you would like Apache to recognize Manual Installation Begin by unzipping the Zip file to the directory of your choice. The usual location is c PHP and we will use this in the following explanation. 1. In the main directory you will see a file called and one called . These are the files you will need to run PHP as a CGI. If you would like to run it as a SAPI module you will need to look in the directory c PHP sapi and copy the relevant DLL file to C PHP If you are using Apache the file is called for example. The SAPI modules are faster and easier to secure the CGI version allows you to run PHP from the command line. Again the choice is up to you. 2. Copy the contents of c PHP dlls to your Windows system directory. This will be C winnt system32 on Windows NT or 2000 or C windows system32 on Windows XP. 3. Move the directory c PHP mibs to c usr mibs. 4. Set up a configuration file. PHP comes with two prepared files and suggest you use . Make a copy of this file and rename it . Place your file in the SYSTEM-ROOT directory. This is usually c winnt or c winnt40 on Windows NT or 2000 or c windows on Windows XP 5. Edit your are many settings in it

TỪ KHÓA LIÊN QUAN