View Full Version : phpMyAdmin 2.6.0
interfasys
09-27-2004, 08:00 PM
"Finally released! After 2 beta versions and 3 release candidates, the development team is proud to announce the new stable 2.6.0 version."
http://prdownloads.sourceforge.net/phpmyadmin/phpMyAdmin-2.6.0-pl1.tar.bz2?download
EDIT:
Now version 2.6.0-pl1
l0rdphi1
09-27-2004, 08:46 PM
I updated like this:
cd /var/www/html
wget http://aleron.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.6.0-pl2.tar.gz
tar xzf phpMyAdmin-2.6.0-pl2.tar.gz
rm -f phpMyAdmin-2.6.0-pl2.tar.gz
mv phpmyadmin phpmyadminOLD
mv phpMyAdmin-2.6.0-pl2 phpmyadmin
chown -R admin: phpmyadmin
perl -pi -e 's/(..auth_type..\s*=\s*.)config/${1}http/' phpmyadmin/config.inc.php
perl -pi -e 's/(PmaAbsoluteUri_DisableWarning..\s*=\s*)FALSE/${1}TRUE/' phpmyadmin/config.inc.php
perl -pi -e 's/(PmaNoRelation_DisableWarning..\s*=\s*)FALSE/${1}TRUE/' phpmyadmin/config.inc.php
Phi1.
Edited for pl2 :)
PauGasol
09-28-2004, 07:04 AM
Thanks l0rdphi1 for the script and interfasys for the thread.. i visited the phpmyadmin.net site two days ago but was RC3 yet:D i ll update my DA boxs with this version.
redeye
09-28-2004, 08:10 AM
Thx, works great
werwin01
09-28-2004, 12:20 PM
l0rdphi1,
Are you running Linux?
PauGasol
09-28-2004, 12:23 PM
Originally posted by werwin01
l0rdphi1,
Are you running Linux?
I think l0rdphi1 use linux :D all my cash to this 100 to 1 :D :D
l0rdphi1
09-28-2004, 05:27 PM
Yes, I'm on RH EL. If you use FreeBSD you may need to use fetch inplace of wget. I don't know much about FreeBSD :)
Cheers, Phi1.
What have I done wrong if I get a blank page when pointing my browser to http://server/phpMyAdmin-2.6.0 ?
I followed all instructions to the point - only substitution being that my old phpMyAdmin was installed in phpMyAdmin-2.5.6, so I simply extracted the files, chowned recursively the directory, did the perl script in my command line - received no errors - phpMyAdmin is in place, but I can't seem to be able to access it.
There seems to be trouble with my links though, because when attempting to open certain files within the directory (only some) I get the error - too many symlinks. But I can't find any symlinks in my /var/html/www directory - the only one that was there was 'phpMyAdmin' which I deleted so I could set up a new one pointing to phpMyAdmin-2.6.0. But still htp://server/phpmyadmin works, even with no symlink...
Anyone got suggestions? I might have been a bit too quick doing this, considering my limited time with Linux...
interfasys
09-29-2004, 06:10 AM
2.6.0-pl1 was released ;)
wget http://aleron.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.6.0-pl1.tar.gz
Also, in my install I have phpMyAdmin and not phpmyadmin. I don't know if it's me that is not using the standard DA name.
l0rdphi1
09-29-2004, 01:01 PM
Originally posted by interfasys
2.6.0-pl1 was released ;)
wget http://aleron.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.6.0-pl1.tar.gz
Also, in my install I have phpMyAdmin and not phpmyadmin. I don't know if it's me that is not using the standard DA name.
I updated my post too :)
You could also change your phpMyAdmin to lowercase: ;)mv /var/www/html/phpMyAdmin-?.?.? /var/www/html/phpmyadmin
mv /var/www/html/phpMyAdmin /var/www/html/phpmyadmin
perl -pi -e 's#phpMyAdmin-.\..\..#phpmyadmin#g' /etc/httpd/conf/httpd.conf
perl -pi -e 's#html/phpMyAdmin#html/phpmyadmin#g' /etc/httpd/conf/httpd.conf
/sbin/service httpd restartThat will also fix the phpmyadmin-x.x.x folder naming from old versions of DA.
Of course, that is also untested code. Use at own risk. :)
Cheers, Phil.
l0rdphi1
09-29-2004, 01:14 PM
Originally posted by torp
What have I done wrong if I get a blank page when pointing my browser to http://server/phpMyAdmin-2.6.0 ?
That is very odd. Lets try this:
cd /var/www/html
rm -fr php?y?dmi*
wget http://aleron.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.6.0-pl1.tar.gz
tar xzf phpMyAdmin-2.6.0-pl1.tar.gz
mv phpMyAdmin-2.6.0-pl1 phpmyadmin
chown -R admin:admin phpmyadmin
perl -pi -e 's/(..auth_type..\s*=\s*.)config/${1}http/' phpmyadmin/config.inc.php
perl -pi -e 's/(PmaAbsoluteUri_DisableWarning..\s*=\s*)FALSE/${1}TRUE/' phpmyadmin/config.inc.php
perl -pi -e 's#phpMyAdmin-.\..\..#phpmyadmin#g' /etc/httpd/conf/httpd.conf
perl -pi -e 's#html/phpMyAdmin#html/phpmyadmin#g' /etc/httpd/conf/httpd.conf
And then restart Apache :)
What that code should do is completely remove phpmyadmin, reinstall it, and then update httpd.conf to point to the new phpmyadmin installation. You will be able to then access phpMyAdmin from /phpmyadmin.
Of course, this is untested code, and I'm not a system administrator. Use this code at your own risk. :)
Good luck, Phi1.
Might the first code work if I restart apache? Didn't do that...
I have a lot of accounts on the server, so I'm not too happy to reboot, that's why I'm asking before I test it...
jmstacey
09-30-2004, 07:39 AM
:confused:
You should be able to just remove the old installation of phpmyadmin from the /var/www/html directory and extract the new version. Or the defaults in l0rdphi1's phpmyadmin installation tool worked just fine for me.
You don't need to restart apache unless you modify the httpd.conf file which is part of l0rdphi1's command in his post above.
jechilt
10-13-2004, 07:48 AM
phpMyAdmin2.6.0-pl2 has been released.
can we follow the same instructions provided in pl1?
thanks for any info...
jmstacey
10-13-2004, 12:13 PM
Yes
l0rdphi1
10-13-2004, 04:39 PM
I was wondering if perhaps the upgrade code above could be implemented into DirectAdmin's customapache build script?
That, and a way to upgrade squirrelmail would be very nice as ./build phpmyadmin and ./build squirrelmail ;)
John? :D
Phi1.
(P.S., I updated my upgrade code for pl2.)
interfasys
10-13-2004, 06:11 PM
That would be nice, but if that's the case, then there should be a way to keep the old config file. I have enabled all the extra pma tables to offer extra features to my customers and it would be nice if it could be preserved ;)
l0rdphi1
10-14-2004, 03:55 PM
If a config file exists in /usr/local/directadmin/data/templates/custom/ (or whatever that directory is), DA would use that over any new config file.
Phi1.
Chrysalis
10-17-2004, 09:06 AM
on my server's phpmyadmin was a symlink to the actual phpmyadmin dir and needs to be phpMyAdmin, using phpmyadmin doesnt work.
DirectAdmin Support
10-17-2004, 03:48 PM
Hello,
If you have DA 1.23.0, then you should be able to run:
cd /usr/local/directadmin/scripts
./phpMyAdmin.sh
to get the 2.6.0-pl1
John
l0rdphi1
10-17-2004, 07:10 PM
Ah, cool.
Only problem is that pl1 has security issues :D
Cheers!
Phi1.
Chrysalis
10-18-2004, 05:32 AM
yes mine was already pl1 but I upgraded it to pl2
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.