On Saturday 09 April 2005 21:27, Mark Sargent wrote: > >> I did a source install, of which I'm a newb at, and then created a > >> index.php file containing the following, > >> > >> <?php > >> phpinfo(); ?> > >> > >> but, that shows in the browser, Firefox, when typing > > > > <snip> > > > > You need to tell Apache how to handle php files. > sorry guys, quite new to all this. On this page, > > http://www.php.net/manual/en/install.unix.php > > it has 2 examples, > > 4-1 and 4-2. Little confused with what shared and static modules are > and which 1 pertains to me. I was wanting to get php running to allow > base to show results of snort logging in mysql. Snort/Mysql/Base etc > are installed fine, just php is the last hurdle. Again, sorry. Cheers. OK you said you had already installed it, so which did you follow 4-1 or 4-2? 4-1 (shared modules) compiles PHP as an Apache module, this means that when Apache needs to process a page that contains PHP it will have to load in the PHP module (this is all done automatically), however you need to tell it what PHP files look like and what the PHP module is. This is done in steps 14 & 15. 4-2 (static) means that PHP will be compiled into the Apache executable however you still need to tell it what PHP files look like (step 15). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ New Year Resolution: Ignore top posted posts -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php