Caution Although Fog Bugz will run on PHP I recommend you get the latest version of PHP as of this writing There are important security fixes in recent versions

To check whether PHP is installed, create a file named test.php in a directory that is served by your Web server. Copy the following text into that file: <?

echo "XML:" . extension_loaded('xml') . "<br>"; echo "imap:" . extension_loaded('imap') . "<br>";

echo "mysql:" . extension_loaded('mysql') . "<br>"; ?>

Now browse that new page with a Web browser, for example, lynx http://localhost/test.php. If you see either the PHP source code itself or your Web browser offers to download the file to you, this means your HTTP server is not configured to run PHP files. See the PHP documentation for instructions on configuring Apache to run PHP files.

If PHP is running, you will see the PHP version in the first line. Check that it is 4.2.2 or later.

The next three lines tell you whether PHP was compiled with xml, imap, and mysql support, respectively. If they are, you will see the number 1 after the colon. For example:

On the Macintosh, you need to use MySQL, version 4.0 or later, to host the FogBugz database. You can download MySQL from http:/ / To check whether MySQL is running, type mysql at the command line:

• If you get "Command not found," you probably don't have MySQL installed, or it might not be in your path.

• If you get "Can't connect to local MySQL server," it's possible you only have the client installed, or it could be that the server (mysqld) is simply not running.

• If you get "Welcome to the MySQL monitor," you're probably in good shape. It should also tell you what version you're running.

0 0

Post a comment