It is currently Sun Apr 30, 2017 9:04 am



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Can't access PhpMyAdmin or Drupal
PostPosted: Mon Feb 06, 2012 12:35 am 
Offline

Joined: Tue Nov 09, 2010 3:08 am
Posts: 19
Just installed MySql and phpmyadmin along with drupal.
But I cannot access phpmyadmin or drupal I get a '404 not found' error page.
Tried localhost/phpMyAdmin localhost/drupal and localhost/drupal7

Whats going wrong??


Top
 Profile  
 
 Post subject: Re: Can't access PhpMyAdmin or Drupal
PostPosted: Mon Feb 06, 2012 1:03 am 
Offline

Joined: Thu Jan 21, 2010 12:36 am
Posts: 1040
do you also have apache or another webserver installed?

If so check to see if it is running as well as having the correct redirects.

If not then maybe one is needed. I am not sure if drupal is a stand alone product or not.

_________________
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown


Top
 Profile  
 
 Post subject: Re: Can't access PhpMyAdmin or Drupal
PostPosted: Mon Feb 06, 2012 6:28 pm 
Offline

Joined: Tue Nov 09, 2010 3:08 am
Posts: 19
Yes I have apache2 installed and I get the 'IT WORKS" page when I go to 'localhost'.

EDIT:
I did a reconfigure of phpmyadmin: dpkg-reconfigure -plow phpmyadmin
And that worked I can access the phpmyadmin login page now, but i still can't access the drupal page.
Im still working on that one.


Top
 Profile  
 
 Post subject: Re: Can't access PhpMyAdmin or Drupal
PostPosted: Mon Feb 06, 2012 6:49 pm 
Offline

Joined: Thu Jan 21, 2010 12:36 am
Posts: 1040
ok, now for php my admin you will need to find the root directory of phpmyadmin, this is probably in /usr/share/phpmyadmin. The phpmyadmin root directory is really dependant on how/where you installed phpmyadmin

anyway you will need to make a redirect in /etc/apache2/sites-enabled/000-default. It should look like
#Alias /url-addition "root directory"
Alias /phpmyadmin "/usr/share/phpmyadmin"

then restart apache by issuing the command
/etc/init.d/apache2 resart

this will make the option so that you can use the url http://localhost/phpmyadmin ( this is my suggestion on setting it up )

The same effect can be achieved by moving the root directory for phpmyadmin to the root directory for the webserver.
Example:
#cp -r /root/dir /apache/web/root/dir
cp -r /usr/share/phpmyadmin /var/www/

I have tried phpmyadmin before, now I use webmin which is far more powerful IMHO. If the directories are not the same, could you give me information on how you installed phpmyadmin so that I can install it in a similar manner? As to drupal I have no idea really as I have never used it before.

_________________
Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
suspicion-preferred