Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 383215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:15:40+00:00 2026-05-12T15:15:40+00:00

I have apache+mysql+phpmyadmnin under Gentoo. phpmyadmin-3.2.2 It worked fine before, but now, when I’m

  • 0

I have apache+mysql+phpmyadmnin under Gentoo.

phpmyadmin-3.2.2

It worked fine before, but now, when I’m loading http://localhost/phpmyadmin I get a list of flies in phpmyadmin-directory, and when I chose index.php, I get it’s own code.

What I did wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T15:15:40+00:00Added an answer on May 12, 2026 at 3:15 pm

    It means that apache does not recognizes neither of your files as php executables. Maybe you run an ’emerge update world’ and then an ‘env-update’ which install a new apache2 version and then re-write the old apache config file. As LiraNuna mentioned, you need to check that the phpMyAdmin directory contains the proper instruction to load the proper PHP module. In this way apache will know how to handle the php files.

    This is what I have on /etc/apache2/vhosts.d/default_vhost.include under the phpMyAdmin Directory definition:

    
    Alias /phpMyAdmin /var/www/localhost/htdocs/phpMyAdmin
       <Directory /var/www/localhost/htdocs/phpMyAdmin>
       Options Indexes FollowSymLinks
       DirectoryIndex index.php
       # Authorize for setup
       <Files setup.php>
       # For Apache 1.3 and 2.0
             <IfModule mod_auth.c>
                 AuthType Basic
                 AuthName "phpMyAdmin Setup"
                 AuthUserFile /etc/phpmyadmin/htpasswd.setup
             </IfModule>
       # For Apache 2.2
             <IfModule mod_authn_file.c>
                 AuthType Basic
                 AuthName "phpMyAdmin Setup"
                 AuthUserFile /etc/phpmyadmin/htpasswd.setup
             </IfModule>
             Require valid-user
       </Files>
       <IfModule mod_php4.c>
             AddType application/x-httpd-php .php
             php_flag magic_quotes_gpc Off
             php_flag track_vars On
             php_flag register_globals Off
             php_value include_path .
       &lt/IfModule>
       <IfModule mod_php5.c>
             AddType application/x-httpd-php .php
             php_flag magic_quotes_gpc Off
             php_flag track_vars On
             php_flag register_globals Off
             php_value include_path .
       </IfModule>
    </Directory>
    

    This should solve your problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have got loads of options for php + MySQL + Apache combo... Which
I have a web site using apache httpd as the server and mysql as
We have a RedHat box with Apache2, PHP5 and MySQL 5 for much of
I have apache 2.2 and tomcat 5.5 running on a Windows XP machine. Which
I have Apache running on a public-facing Debian server, and am a bit worried
I have Apache with mod_rewrite, and whenever I enter a URI with an accented
I have apache web server installed as frontend and I have j2ee SAP Netweaver
I have Apache 2 running on a VPS server (running Debian). I recently changed
I have Apache/SVN running on Windows Server 2003 with authentication via LDAP/Active Directory and
I have an Apache 2 installation on Debian with mod_ssl installed. The server private

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.