Chapter 24 . Running a Linux, Apache, (Web hosting support) MySQL,

Chapter 24 . Running a Linux, Apache, MySQL, and PHP (LAMP) Server 663 If you installed Coppermine on a public server, you can give the Web address of that server to your friends and family and they can begin viewing your photo albums. There is a lot you can do to customize your Coppermine Photo Gallery. You can begin by going through the settings on the Configuration page (click the Config link to get there). Click the Users or Groups links to create user or group accounts that give special access to upload or modify the content of your gallery. Troubleshooting In any complex environment, you occasionally run into problems. This section includes tips for isolating and resolving the most common errors that you may encounter. This section refers to the Apache HTTPD binary as apache, which is what it is named on Debian systems. However, in most other distributions, the binary is named httpd. On different systems, you may need to substitute httpd for apache when it appears by itself, although not for commands such as apachectl. Configuration Errors You may occasionally run into configuration errors or script problems that prevent Apache from starting or that prevent specific files from being accessible. Most of these problems can be isolated and resolved using two Apache-provided tools: the apachectl program and the system error log. When encountering a problem, first use the apachectl program with the configtest parameter to test the configuration. In fact, it s a good idea to develop the habit of running this every time you make a configuration change: # apachectl configtest Syntax OK # apachectl graceful /usr/sbin/apachectl graceful: httpd gracefully restarted In the event of a syntax error, apachectl indicates where the error occurs and also does its best to give a hint about the nature of the problem. You can then use the graceful restart option (apachectl graceful) to instruct Apache to reload its configuration without disconnecting any active clients. The graceful restart option in apachectl automatically tests the configuration before sending the reload signal to apache, but it is still a good idea to get in the habit of running the manual configuration test after making any configuration changes. Note Note
We recommend cheap and reliable webhost to host and run your web applications: Coldfusion Web Hosting services.

Leave a Reply