LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2009, 02:03 PM   #1
asif2k
Member
 
Registered: Mar 2006
Location: Texas
Distribution: Fedora Project
Posts: 79

Rep: Reputation: 15
Can I install phpmyadmin via yum???


Any help is appreciated. Anyone know if there is a way to install phpmyadmin via yum? thanks in advance

EDIT: I did not install phpmyadmin via yum. I just tar the file and installed in my localhost directory.

Last edited by asif2k; 03-11-2009 at 11:38 PM. Reason: subject changed
 
Old 02-25-2009, 02:34 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,601

Rep: Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532
There are rpms for phpMyadmin, so you can use yum to install it.
 
Old 03-11-2009, 11:37 PM   #3
asif2k
Member
 
Registered: Mar 2006
Location: Texas
Distribution: Fedora Project
Posts: 79

Original Poster
Rep: Reputation: 15
ok I was able to install phpmyadmin. Now, when I go into the setup page,

http://localhost/phpmyadmin/setup

there are few warnings displayed on the page.

Code:
Runtime Notice in ./libraries/common.inc.php#281
date_default_timezone_get() [function.date-default-timezone-get]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead

Backtrace

./libraries/common.inc.php#281: date_default_timezone_get()
./setup/lib/common.inc.php#18: require_once(./libraries/common.inc.php)
./setup/index.php#12: require(./setup/lib/common.inc.php)
Anyone know how i can fix these errors?
thanks in advance
 
Old 03-12-2009, 02:07 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,601

Rep: Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532Reputation: 1532
You have to edit php.ini and change the line:
Quote:
;date.timezone =
to
Code:
date.timezone = "America/Chicago"
assuming that your timezone is indeed America/Chicago.
Or you can set the timezone (the TZ env. variable) using your distro's admin tools. Take a look here for help.

Regards

Last edited by bathory; 03-12-2009 at 02:08 AM.
 
Old 03-12-2009, 03:29 AM   #5
asif2k
Member
 
Registered: Mar 2006
Location: Texas
Distribution: Fedora Project
Posts: 79

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bathory View Post
You have to edit php.ini and change the line:
to
Code:
date.timezone = "America/Chicago"
assuming that your timezone is indeed America/Chicago.
Or you can set the timezone (the TZ env. variable) using your distro's admin tools. Take a look here for help.

Regards

thank you! That worked like a charm. For those who are Linux beginners. Once you edit the php.ini file. You have to restart httpd (apache). Just to let everyone know.

thanks
 
Old 03-12-2009, 04:21 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,986

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
this is why i dislike rpm's and deb files for the lamp stack
nobody ever reads the documentation
the best thing i can suggest it to BUILD them
apache
mysql
php
phpmyadmin
awstats
...
for the first 6 to 12 installs you do .Then use the prebuilt as a time saver ( not much of one )
 
Old 03-12-2009, 04:31 AM   #7
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Rep: Reputation: 51
Do you think installing through BUILD as compared to RPM is good idea?
I think installing through tar.gz throws sometimes gcc error which is even more cumbersome and diffficult to understand. Installing throuhg RPM anyway reflects the dependent package atleast.
Whatt you think?
 
Old 03-12-2009, 01:03 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,986

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
to learn the "in's and out's" of the lamp stack yes build/install by hand .
Once you do , even the slightest change ,from the default settings .Things can get VERY complicated VERY fast .Even with a rpm/deb install you still need to know ' what and how' to edit
httpd.conf,my.ini,php.conf,config.inc.php( PhpMyAdmin)

installing by hand will TEACH one WHAT will need to be edited
and WHERE to install them ( personally i like EVERYTHING in
/opt/www ( it's own partition )
/opt/www/http
/opt/www/mysql
/opt/www/php
/opt/www/phpMyAdmin
/opt/www/AwStats
Quote:
I think installing through tar.gz throws sometimes gcc error which is even more cumbersome and diffficult to understand
everything builds out of the box

Last edited by John VV; 03-12-2009 at 01:04 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
phpMyAdmin install Slackware 12.2 hellbillyJoker Linux - Software 5 12-28-2008 11:26 PM
phpmyadmin install problems DigitalFirefly Linux - Server 9 11-18-2007 10:04 AM
phpmyadmin - how to install? smeggle Linux - Newbie 1 08-19-2007 08:09 PM
how do I install phpMyAdmin via yum? asif2k Linux - Software 1 03-29-2006 09:02 AM
Query re: order of yum update and yum install jajtiii Linux - General 0 12-12-2005 01:48 PM


All times are GMT -5. The time now is 09:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration