Results 1 to 8 of 8

Thread: Apache and phpMyAdmin

  1. #1
    Join Date
    Oct 2010
    Location
    Kathmandu,Nepal
    Posts
    79

    Default Apache and phpMyAdmin

    Hello
    I am just configuring my PC for learning php.
    If I install phpMyAdmin from rpm,it works however if i download it manually and put in /home/user/public_html/phpMyAdmin
    and then browse http://127.0.0.1/~user/phpMyAdmin,I just see a blank page.
    What is the reason?

  2. #2
    Join Date
    Jun 2008
    Location
    Inzago, Italy
    Posts
    108

    Default Re: Apache and phpMyAdmin

    In OpenSuse the Apache directory usually is /srv/www/htdocs/phpMyAdmin/
    OpenSuse 13.1 with KDE 4.11 on Intel I7 930 motherboard Asus P6T SE - RAM 6 Gb
    - video card NVIDIA GT220 1GB - TV card Hauppauge WinTV Nova T stick

  3. #3
    Join Date
    Nov 2009
    Location
    Pennsylvania, USA
    Posts
    405

    Default Re: Apache and phpMyAdmin

    Quote Originally Posted by Aatish910 View Post
    Hello
    I am just configuring my PC for learning php.
    If I install phpMyAdmin from rpm,it works however if i download it manually and put in /home/user/public_html/phpMyAdmin
    and then browse http://127.0.0.1/~user/phpMyAdmin,I just see a blank page.
    What is the reason?
    The reason is your Apache config file isn't configured to display files from the public_html folder.
    Desktop: AMD Athlon(tm) II X3 455 3.3 Ghz | 4 GB RAM | GeForce GT 630

  4. #4
    Join Date
    Jul 2009
    Location
    Montreal, Québec
    Posts
    833

    Default Re : Re: Apache and phpMyAdmin

    Quote Originally Posted by rafter22 View Post
    The reason is your Apache config file isn't configured to display files from the public_html folder.
    On the contrary, it is configured to display web pages from this folder by default. Except for phpMyAdmin that is usually in the folder pointed by Vivianno_Guastalla.

  5. #5
    Join Date
    Nov 2009
    Location
    Pennsylvania, USA
    Posts
    405

    Default Re: Re : Re: Apache and phpMyAdmin

    Quote Originally Posted by DaaX View Post
    On the contrary, it is configured to display web pages from this folder by default. Except for phpMyAdmin that is usually in the folder pointed by Vivianno_Guastalla.
    That's news to me. Different defaults for different methods of installation?

    I installed from a tarball in /usr/local and my config file was configured to display everything from htdocs,, until I edited it.
    Desktop: AMD Athlon(tm) II X3 455 3.3 Ghz | 4 GB RAM | GeForce GT 630

  6. #6
    Join Date
    Oct 2010
    Location
    Kathmandu,Nepal
    Posts
    79

    Default Re: Re : Re: Apache and phpMyAdmin

    joomla works fine from that folder.

  7. #7
    Join Date
    Jun 2008
    Location
    Finland, European Union
    Posts
    1,879

    Default Re: Apache and phpMyAdmin

    Open a terminal;
    su -
    tail -f /var/log/apache2/error_log


    Keep the terminal open and try to access the phpmyadmin URI, see what errors are printed out on the error_log.

  8. #8
    Join Date
    Oct 2010
    Location
    Kathmandu,Nepal
    Posts
    79

    Default Re: Apache and phpMyAdmin

    Here are related errors.
    Code:
    [Thu Apr 21 11:07:12 2011] [error] [client 127.0.0.1] PHP Warning:  require_once(./libraries/Message.class.php): failed to open stream: No such file or directory in /home/user/public_html/phpMyAdmin/libraries/Error.class.php on line 13
    [Thu Apr 21 11:07:12 2011] [error] [client 127.0.0.1] PHP Fatal error:  require_once(): Failed opening required './libraries/Message.class.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /home/user/public_html/phpMyAdmin/libraries/Error.class.php on line 13

Similar Threads

  1. Where is phpmyadmin
    By sublifer in forum Applications
    Replies: 7
    Last Post: 16-Jul-2010, 10:38
  2. phpmyadmin
    By trazomtg in forum Applications
    Replies: 12
    Last Post: 02-Sep-2009, 07:44
  3. phpMyAdmin
    By addinall in forum Applications
    Replies: 3
    Last Post: 18-Mar-2009, 06:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •