phpMyAdmin 2.6.4-pl4

Upgraded with:

Code:
#!/bin/sh

cd /var/www/html

VERSION=2.6.4-pl4

wget aleron.dl.sf.net/sourceforge/phpmyadmin/phpMyAdmin-$VERSION.tar.gz
tar xzf phpMyAdmin-$VERSION.tar.gz
rm -fr phpMyAdmin phpMyAdmin-$VERSION.tar.gz

find phpMyAdmin-$VERSION -type f -exec chmod 640 {} \;
find phpMyAdmin-$VERSION -type d -exec chmod 750 {} \;
chown -R apache:apache phpMyAdmin-$VERSION
ln -s phpMyAdmin-$VERSION phpMyAdmin

perl -pi -e 's/(..auth_type..\s*=\s*.)config/${1}http/' phpMyAdmin/config.inc.php
perl -pi -e 's/(PmaNoRelation_DisableWarning..\s*=\s*)FALSE/${1}TRUE/' phpMyAdmin/config.inc.php

exit 0

Credit goes to l0rdphi1 :)
 
The Aleron link is broken (as of right this minute) -here's an modified script:


#!/bin/bash

cd /var/www/html

VERSION=2.6.4-pl4

wget internap.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-$VERSION.tar.gz
tar xzf phpMyAdmin-$VERSION.tar.gz
rm -f phpMyAdmin phpMyAdmin-$VERSION.tar.gz

find phpMyAdmin-$VERSION -type f -exec chmod 640 {} \;
find phpMyAdmin-$VERSION -type d -exec chmod 750 {} \;
chown -R apache:apache phpMyAdmin-$VERSION
ln -s phpMyAdmin-$VERSION phpMyAdmin

perl -pi -e 's/(..auth_type..\s*=\s*.)config/${1}http/' phpMyAdmin/config.inc.php
perl -pi -e 's/(PmaNoRelation_DisableWarning..\s*=\s*)FALSE/${1}TRUE/' phpMyAdmin/config.inc.php

exit 0
 
just run this & have nice day:)
Code:
#!/bin/sh

cd /var/www/html


wget [url]http://ovh.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-2.6.4-pl4.tar.gz[/url]
tar xzf phpMyAdmin-2.6.4-pl4.tar.gz
rm -fr phpMyAdmin phpMyAdmin-2.6.4-pl4.tar.gz

find phpMyAdmin-2.6.4-pl4 -type f -exec chmod 640 {} \;
find phpMyAdmin-2.6.4-pl4 -type d -exec chmod 750 {} \;
chown -R apache:apache phpMyAdmin-$VERSION
ln -s phpMyAdmin-2.6.4-pl4 phpMyAdmin

perl -pi -e 's/(..auth_type..\s*=\s*.)config/${1}http/' phpMyAdmin/config.inc.php
perl -pi -e 's/(PmaNoRelation_DisableWarning..\s*=\s*)FALSE/${1}TRUE/' phpMyAdmin/config.inc.php

exit 0



Wael
 
Hi guys,

I see some scripts here that could make an update really easy (great), but there are now three of them!!

Can anyone tell me whether they each do the same, but improve the previous post, or are these three separate scripts that should all be run?

Thanks for the guidance :)

Harro
 
They're all essentially the same script... they just use different download points (the WGET statement).

Pick one, if the download doesn't work, use another. :)
 
Thanks HostPC :)

Looking at the thread a few threads below this one there is also an update script one can download to update PHPmyadmin.

Are the abovementioned scripts the same? Or am I missing something?
 
At the moment i am running: phpMyAdmin 2.6.1-pl3

if i run the above script does it all work good after that?
 
Back
Top