Re: PHPLIB and PHPMyAdmin

From: Date: Tue, 16 Jan 2001 19:29:14 +0000
Subject: Re: PHPLIB and PHPMyAdmin
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-34886@lists.php.net to get a copy of this message
Since phpmyadmin doesn't use an include path and an auto prepend file but phplib does, what we do is run them under separate sub directories. Under the phplib subdir we use an .htaccess to specify the phplib directives needed to make it run and under the phpmyadmin subdir we don't specify anything since phpmyadmin doesn't require this. What we don't do is put the phplib .htaccess with it's directives under the web root "/". That way we can specify varying configurations under various sub directories. So, you can have magic quotes on under one dir and off under another. Use .htaccess for configuration. best of both worlds. Matt Friedman Spry New Media ----- Original Message ----- From: "Ignacio Vazquez-Abrams" <ignacio@openservices.net> To: "Kevin Cawthorne" <kevin@intuitive.net> Cc: <php-general@lists.php.net> Sent: Tuesday, January 16, 2001 9:24 AM Subject: Re: [PHP] PHPLIB and PHPMyAdmin > On Tue, 16 Jan 2001, Kevin Cawthorne wrote: > > > Hi, > > > > I want to install PHPLIB but one of the configuration notes says "turn off magic quotes in the php.ini file". > > > > OK But I'm, using phpMyAdmin, which I understand NEEDS magic quotes on to work. > > > > Has anyone done this using the two together? > > > > Kevin Cawthorne > > > > Knowing which web server you're using helps, but if you're using Apache, the > way to do it is to turn it off in php.ini and then turn it on in httpd.conf or > .htaccess or wherever for the directory/location phpMyAdmin is in. > > -- > Ignacio Vazquez-Abrams <ignacio@openservices.net> > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.general (#34886) next »