Web Hosting Talk







View Full Version : phpmyadmin and PHP on RAQ4


Surfer
03-10-2001, 07:50 PM
Hi,

I just installed phpmyadmin on my RAQ and I apparently need to enable magic quotes gpc in order for phpmyadmin to function properly.
Normally I activate it by adding this line to the .htaccess file in the desired directory:

php_flag magic_quotes_gpc on

But I am getting and internal server error every time I add this line!

Any ideas?

thanks

Chicken
03-11-2001, 04:52 AM
I have that too, yet it seems to work fine, so I don't know what I'm missing...

Surfer
03-11-2001, 07:20 AM
That's weird?
You have the exact same line in your .htaccess file?
And it works?

Guess I'll try again!

Surfer
03-11-2001, 07:46 AM
Nope, can't get it to work!
Are you using any other lines?

thanks

Surfer
03-11-2001, 08:22 AM
I am starting to think that the apache server doesn't allow me to add this line, strange that it works for you? Have you altered the access.conf file or installed a cobalt patch?

thanks

Chicken
03-11-2001, 03:00 PM
Backup. I have the same magic quotes error in phpmyadmin, and haven't added any .htaccess lines, etc. Without doing anything, phpmyadmin seems to work fine, so I don't know what I'm missing (what I meant).

Surfer
03-11-2001, 03:13 PM
I changed the access.conf file and now it accepts .htaccess files! you can also edit the php.ini file but then it will enable magic quotes for the whole server.

Another question, when I choose to backup all server files I get a file that's around 40MB, do you know exactly what it backup's?

thanks

iplexx
03-12-2001, 05:59 AM
I use 2.1.0 on RaQ4, it gives me the magic_quotes error aswell, but it seems to work.

I didn't install the 2.1.0.1, but maybe you want to check out http://www.phpwizard.net/phorum/read.php?f=1&i=2342&t=1637

Surfer
03-12-2001, 06:10 AM
Iplexx just change the access.conf file as discussed in an earlier thread and enable magic quotes with an .htaccess file. You will probably need to enable magic quotes for feature scripts anyway...

It all works fine on my server now!

Matthew.A
03-12-2001, 11:42 AM
I had this problem as well, so I just added the line ini_set... as shown below on main.php and fixed the error - dunno if it works :)

<?php
/* $Id: main.php,v 1.35 2000/07/31 13:17:27 tobias Exp $ */
ini_set("magic_quotes_gpc","1");
if (!isset($message))

huck
11-29-2004, 04:53 PM
we released a new pkg for phpmyadmin
http://www.rackaid.com/free/phpmyadmin.cfm