[NTLUG:Discuss] Web site help needed

Eric Schnoebelen eric at cirr.com
Fri Apr 15 23:08:29 CDT 2011


On 4/15/2011 7:29 PM, Fred wrote:
> What is the problem is that I assume that those parts need to be
> configured and I am looking for a shortcut to the time it takes
> to learn about that on my own, mainly due to my limited time.
> That is what led to the appeal for help.

Quick set up, assuming the following:
	mod_php5 is installed to include in apache
	using apache 2.2
	apache 2.2 is installed with shared library support
		(very likely, that has been the norm for quite a while.)
	php-mysql component has been installed

add to httpd.conf:
	LoadModule php5_module lib/httpd/mod_php5.so
	AddType application/x-httpd-php .php5
	AddType application/x-httpd-php .php

add to php.ini:
	extension=mysql.so

(and perhaps tweak some portions of the [MySQL] section.)

reload apache, and you should be good to go.

install a script with the following contents somewhere that a
web browser can reach it:

	<?php
	    print phpinfo();
	?>

load it in a web browser off your web server, and see what it
says.   For comparision, look at
http://www.cirr.com/~eric/phpinfo.php.  Note, www.cirr.com,
also has pgsql support, and other modules loaded as part of php.
Many of which may not be intersting..

--
Eric Schnoebelen		eric at cirr.com 		http://www.cirr.com
  Server (n.), 1. Large, extremely expensive machine that goes "Ping!".
  Measuring at least 25 cubic feet, heavy, bulky and giving of more heat
    than a nuclear power plant.  It's big, it's bad, it's beautiful and 
      makes it pretty clear what happened to this year's IT-budget.



More information about the Discuss mailing list