Re: Apache2 & MySQL
Everything was automatic.
/etc/apache2/apache2.conf - didn't even touch it
/etc/apache2/sites-available/default - edited it to limit access to my
sites (think of it as apache's own personal firewall)
/etc/php4/apache2/php.ini - edited it to enable register_globals (yeah
it's not overly secure, but I havn't converted one of the sites yet)
/etc/mysql/my.cnf - edited it to comment out the bind-address line so
that the mysql server would accept outside connections.
Ben
On 9/1/05, Steve Å <kru_tch@yahoo.ca> wrote:
> On Thu, Sep 01, 2005 at 09:41:42AM -0400 or thereabouts, Ben Bettin wrote:
> > I just reinstalled my LAMP (Linux/Apache/Mysql/PHP) development server
> > at my office. I'm keeping track of -everything- I do while setting it
> > up so my coworkers can have some idea how to do it themselves. I
> > installed the following packages (selected via aptitude), and then
> > installed any "recommended" packages as well.
> >
> > apache2-mpm-prefork
> > libapache2-mod-php4
> > php4
> > php4-cli
> > php4-mysql
> > mysql-client
> > mysql-server
> >
> > That assortment of packages should do it for you, and allow you to use
> > php4 and mysql at the command line as well. The rest comes down to
> > setting up the config files for each of them;
> > /etc/php4/apache2/php.ini for php4, /etc/mysql/my.cnf for mysql,
> > /etc/apache2/apache2.conf and /etc/apache2/sites-available/default for
> > apache2.
>
> Hello Ben:
>
> Yeah I have everything installed that I need -- Did PHP4-MySQL get enabled
> automatically for you, or did you have to add the module manually to
> 'apache2.dconf' ? What syntax does the apache2.conf file use for this module ?
>
>
> Thanks.
>
> --
> Steve <http://sweetpig.dyndns.org:1000/>
> -----------------------------------------------
> Thursday Sep 01 2005 09:40:02 AM EDT
> -----------------------------------------------
> It is so very hard to be an
> on-your-own-take-care-of-yourself-because-there-is-no-one-else-to-do-it-for-you
> grown-up.
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQFDFwZL0TbbxWyNBKURAoLjAKCdsV2StT6IgcGOnK558wfVACOKQwCZAY9i
> LBRvpjJ3tvADpsafdBzWdtI=
> =t6qk
> -----END PGP SIGNATURE-----
>
>
>
Reply to: