LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-08-2003, 01:08 PM   #1
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
phpmyadmin install dislays index only


I am installing phpmyadmin in order to install php-nuke (the only instructions i have been able to find on php-nuke involve phpmyadmin). i have compiled and installed mysqul, apache, and php from source files. after installing and configuring phpmyadmin pursuant to these instructions http://www.ubbcentral.com/resources/PhPMyAdmin.html
i am unable to get the phpadmin interface to display.

when i try to browse to http://192.168.0.3/phpMyAdmin-2.5.4/
i get "Index of /phpMyAdmin-2.5.4" (just aas if i was doing an ftp download)

the only error message i am getting is that when i restart [root@testy phpMyAdmin-2.5.4]# /etc/rc.d/init.d/httpd2 restart, I get the following message:
[warn] module php4_module is already loaded, skipping

there is no other php install on this box ([root@testy phpMyAdmin-2.5.4]# rpm -qa | grep php = 0).

my info-php file displays the following

System Linux testy 2.4.20-20.9 #1 Mon Aug 18 11:45:58 EDT 2003 i686
Build Date Nov 8 2003 06:58:11
Configure Command './configure' '--with-apxs2=/usr/local/apache2/current/bin/apxs' '--with-mysql=/usr/local/mysql/current' '--with-pdflib=/usr/local/' '--with-zlib-dir=/usr/lib/' '--enable-versioning' '--enable-track-vars=yes' '--enable-url-includes' '--enable-sysvshm=yes' '--enable-sysvsem=yes' '--enable-ftp' '--with-config-file-path=/etc' '--with-gd'
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, compress.zlib
 
Old 11-08-2003, 03:15 PM   #2
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Original Poster
Rep: Reputation: 30
.htaccess file?

Doing some follow up, i tried to add an .htaccess file with "DirectoryIndex index.php." in the phpmyadmin directory. I followed up by reading the reference to these types of files in apache web server administration by ault. it didn't work and i tried an "allow from xxx.xxx.xxx.xxx (ip address). neither worked.
 
Old 11-17-2003, 03:27 PM   #3
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Original Poster
Rep: Reputation: 30
i am wondering if i have the wrong version of the software. i raise this question after reviewing the cryptic install instructions at http://www.phpmyadmin.net/documentation/
Quote:
Choose and download a distribution kit with the files having the extension (.php3 or .php) depending on the way your web/PHP server interprets those extensions.
i've reviewed the downloads and don't understand the distinction mentioned in this instruction. can anyone help explain was this quote means in terms of selecting a download?
 
Old 11-17-2003, 03:45 PM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
In your Apache configuration file (usually /etc/apache/conf/httpd.conf), look for a section looking like this:
Code:
<IfModule mod_dir.c>
    DirectoryIndex index.html index.htm index.shtml index.cgi
</IfModule>
Add index.php to the end of that line (after index.cgi or whatever filename is last) and restart Apache.

Håkan
 
  


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
help needed for a peculiar phpmyadmin install ramdak5000 Linux - Software 2 02-11-2005 12:27 AM
Trouble opening index.php file to install eZ publish jedson Linux - Software 2 11-01-2004 08:22 AM
cannot install PHPMYADMIN MySQL Extention will not load k41184 Linux - Software 1 06-02-2004 02:28 PM
when ever i run a java gui on my redhat 9 it always dislays some warnings anjiie Programming 2 03-09-2004 02:50 PM
phpmyadmin tinaa Linux - Software 0 11-03-2003 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:01 PM.

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
Open Source Consulting | Domain Registration