Web host music - 234 CHAPTER 8 INSTALLING AND CONFIGURING PHPBB
234 CHAPTER 8 INSTALLING AND CONFIGURING PHPBB frequently and will grow, and database performance can suffer if you have more tables than necessary in the database. In addition to performance benefits, using a separate database is a boon to security; if a miscreant should break into your board, the damage is far more likely to be limited to just the phpBB database, rather than affecting the whole site s database, which could lead to real trouble. The method for creating a database varies from host to host. Most hosts using the cPanel control panel system have a MySQL option you can select, which permits creation of a database via a form. Ultimately, your best bet is to check with your host providers on their modus operandi for creating a database. If creating an additional database isn t an option, phpBB plays very well with existing data in the database by attaching a prefix of your choice (the default is phpbb_) to each of phpBB s tables in order to provide a distinguishing characteristic. Also, this functionality lets you run additional instances of phpBB inside the same database. Uploading phpBB to Your Server Now it s time to put the phpBB script in your web space on your server. Start the FTP client of your choice and connect to your server. Before you start uploading the files, you need to check your client s upload settings. Most modern FTP clients can automatically determine whether they are uploading plain text or binary data, and negotiate the connection as appropriate, so you do not need to bother with uploading certain file types separately from others. Check your transfer type setting, usually found in the Options dialog of your program, to make sure it s set for Auto. Next, navigate to the directory where your public web files are placed (typically called www, public_html, or htdocs), and then simply upload the entire phpBB2 folder to that location. Tip If your client can t automatically select the transfer type, you are better off trying a new FTP client. I use and heartily recommend SmartFTP, which handles this with incredible ease. You can obtain it free for personal use from http://www.smartftp.com. After uploading, you may wish to consider renaming the phpBB2folder to something a little more user-friendly, such as forums. It s not necessary, but it s a nice, professional touch forums seems to be a more logical choice to house your board than phpBB2. Making the Configuration File Writable After you ve completed the upload, make the following writable by the web server: /config.php: This file contains the configuration data for the database, and it is written only during installation. /images/avatars/uploads/: This directory does not exist by default in the phpBB installation. If you wish for users to be able to upload avatars directly to your server (explained in detail in Chapter 9), feel free to create this directory and make it writable. You can use your FTP client to make files writable. For example, in SmartFTP, right- click the file you want to make writable, select Properties, and check the Writable box under Group. Depending on your server configuration, you may also need to check the
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.