Apache2 Mysql Auth problem

2006-11-29 Thread Dave Whiteley
An upgrade has broken my Apache installation. I have been using old modules to allow autentication from a MySQL database for years. The most recent upgrade to Apache2 has killed this because the relevent modules have been changed/split/renamed. I think I have re-configured accordingly, but I a

Re: Apache2 & MySQL

2005-09-03 Thread Oliver Lupton
Steve Å wrote: On Thu, Sep 01, 2005 at 10:16:49PM +0800 or thereabouts, Robert Vangel wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve Å wrote: Hello Ben: Yeah I have everything installed that I need -- Did PHP4-MySQL get enabled automatically for you, or did you have to ad

Re: Apache2 & MySQL

2005-09-02 Thread Steve Å
On Thu, Sep 01, 2005 at 10:16:49PM +0800 or thereabouts, Robert Vangel wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Steve Å wrote: > > > > > > Hello Ben: > > > > Yeah I have everything installed that I need -- Did PHP4-MySQL get enabled > > automatically for you, or did you have

Re: Apache2 & MySQL

2005-09-01 Thread Ben Bettin
> 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 ? In addition, I don't think you even have to tell apache2 about mysql.

Re: Apache2 & MySQL

2005-09-01 Thread Ben Bettin
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, b

Re: Apache2 & MySQL

2005-09-01 Thread Robert Vangel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steve Å wrote: > > > 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

Re: Apache2 & MySQL

2005-09-01 Thread Steve Å
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 > installe

Re: Apache2 & MySQL

2005-09-01 Thread Ben Bettin
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 "recommend

Re: Apache2 & MySQL

2005-09-01 Thread Steve Å
On Thu, Sep 01, 2005 at 01:46:56PM +0100 or thereabouts, Dave Ewart wrote: > On Thursday, 01.09.2005 at 08:14 -0400, Steve Å wrote: > > > I'm familiar with how Apache 1.3.x is to be setup, but confess I don't > > understand Apache 2 well. > > > > I'm doing a new Sarge installation (offsite) on a

Re: Apache2 & MySQL

2005-09-01 Thread Dave Ewart
On Thursday, 01.09.2005 at 08:14 -0400, Steve Å wrote: > I'm familiar with how Apache 1.3.x is to be setup, but confess I don't > understand Apache 2 well. > > I'm doing a new Sarge installation (offsite) on a box which won't be > on the Internet. I installed Apache 2 and PHP 4. PHP is working fi

Apache2 & MySQL

2005-09-01 Thread Steve Å
I'm familiar with how Apache 1.3.x is to be setup, but confess I don't understand Apache 2 well. I'm doing a new Sarge installation (offsite) on a box which won't be on the Internet. I installed Apache 2 and PHP 4. PHP is working fine, however in checking my configuration via phpinfo(); I notice t

Re: PHP4 - Apache2 - MySQL What am I missing *FIXED*

2004-08-27 Thread Caveman
You should NEVER NEVER NEVER enabled register globals. You should never trust data comming from the client without making sure what that input is not crazy, Try using $_POST veriables. Its much much safer. Caveman > i was getting error like it, as i was sending my user name passwd > through my

Re: PHP4 - Apache2 - MySQL What am I missing *FIXED*

2004-08-27 Thread Nayyar Ahmed
On Fri, 27 Aug 2004 08:41:11 -0500, Michael Satterwhite <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Friday 27 August 2004 08:25, Michael Satterwhite wrote: > > I'd like to blame Google, but that wouldn't be fair. > > I kept going through the pages that ref

Re: PHP4 - Apache2 - MySQL What am I missing

2004-08-27 Thread Douglas G. Phillips
Michael Satterwhite <[EMAIL PROTECTED]> writes: > When I try to open a web page that has mysql_connect, I get an error message > because I used an undefined function mysql_connect. The same web page works > fine if run on the production machine. What do you see in the output of phpinfo()? If th

Re: PHP4 - Apache2 - MySQL What am I missing

2004-08-27 Thread Marcos Carneiro da Rocha
Hi, do you have installed mysql libraries ??? Marcos Carneiro da Rocha On Fri, 2004-08-27 at 10:25, Michael Satterwhite wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > For development purposes, I have Apache2 running on a local machine. MySQL is > running on one of my main machine

Re: PHP4 - Apache2 - MySQL What am I missing *FIXED*

2004-08-27 Thread Michael Satterwhite
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Friday 27 August 2004 08:25, Michael Satterwhite wrote: I'd like to blame Google, but that wouldn't be fair. I kept going through the pages that referenced this error and found the (obvious) that I hadn't enabled it in php.ini. Sorry about the p

PHP4 - Apache2 - MySQL What am I missing

2004-08-27 Thread Michael Satterwhite
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 For development purposes, I have Apache2 running on a local machine. MySQL is running on one of my main machines. The development machine is running Debian Sarge and PHP4. PHP4 is running fine; pages that don't use database work perfectly. I used a