image
image
Ticket Options
Question Profile
DATEOct 12, 2006
TICKET#29167
STATUSClosed
SUBJECTApache's web path for Cerberus.....
CATWeb Sites, Home Pages and Web Based Development
TYPE
DESC
DESC
PLATFORMApple Macintosh (PowerPC)
MODELG5
PROCdual 1.8 900Mhz
RAM1.5
DRIVE500 GB
NAMETim
USERNAMEspectre315
TECHNICALLots of Experience
ISSUEStumped
Question Details
TICKET ARCHIVE -> Apache's web path for Cerberus.....
spectre315 - Oct 12, 2006 - 7:34 am
image
image
Hello:

I am installing a help desk support application (Cerberus) that uses php, Mysql, and Apache.

The install seems pretty straight forward as all of these ingredients are already on a fresh install of Server 10.4.... or am I wrong..?

I am to extract a tar archive in the "web server's web path" and then change the web servers permissions in the newly created directory.

I have tried this install in a couple of places, but to no avail...

Has anyone installed this help desk software...?? It really looks great, I am just a little lost!

Thanks in Advance,
Tim
stottm - Oct 14, 2006 - 6:29 am
image
image
I may be wrong, but PHP may not be turned on in Apache by default. It's installed but disabled. You may need to add or uncomment the following line in your /etc/httpd/httpd.conf file:

AddType application/x-httpd-php .php (should already be in the file)

You also have to make sure the PHP Apache Module is loaded. Look in the httpd.conf file for:

LoadModule php4_module libexec/httpd/libphp4.so

and

AddModule mod_php4.c

Uncomment both entries, stop and restart Apache so it re-reads the httpd.conf file changes you just made.

Now you can test PHP to see that it's actually working. Create a test.php file that contains "<?php phpinfo() ?>" and put it in the root of the web server and see if it spits out all sorts of PHP information when you browse to it. If all you see is the "<?php phpinfo() ?>" then PHP is not working. You should see a large amount of technical information about what version of PHP is installed and what options were turned on when it was compiled and what modules are active.

You should also see if MySQL is loading and working. Create a database with a simple table and see if you can insert some records, etc. You can even download PHPMySQLAdmin which is a PHP web interface to your MySQL database. http://www.phpmyadmin.net/home_page/index.php

Also read the following:
Mac OS X Server 10.4: Issues connecting PHP to MySQL
http://docs.info.apple.com/article.html?artnum=301457

Mac OS X Server 10.4.4: Improvements to Apache/PHP/MySQL interaction
http://docs.info.apple.com/article.html?artnum=302977

i.e. upgrade your Mac OS X Server to at least 10.4.4 as it fixes a known problem with PHP connectivity to MySQL.

You might even have to install a newer PHP and/or MySQL server or even install Apache 2.x.


IF THIS IS YOUR QUESTION AND YOU WISH TO RESPOND, LOGIN HERE FIRST.


Search Engine Friendly URLs by vBSEO 3.1.0