DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 16th December 2008
plexter plexter is offline
Shell Scout
 
Join Date: May 2008
Posts: 124
Question phpMyAdmin Unaccessable

Hello,

I installed phpMyAdmin and all was working fine. I could access it and make changes and all that.

Then the symbolic link got removed by mistake.

Now when I create a new symbolic link (we wanted to rename it anyway) the link is no longer accessible but works fine via command line.

We have tried restarting apache and everything. No configuration changes have occurred other than removing the symbolic link.

If anyone knows what could be up please let me know. I would prefer to fix this as apposed to re: install more because I'd like to know why its broken.

Thanks!
Reply With Quote
  #2   (View Single Post)  
Old 16th December 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 8,020
Default

You've posted no details of your environment or configuration. So I'll take a wild guess. If my wild guess is wrong ... it's your fault.

----

ports/www/myphpadmin/pkg/MESSAGE states (highlight mine):
Quote:
The phpMyAdmin has been installed into ${INSTDIR}

You should point this to the DocumentRoot of your web-server:
# ln -s ../phpMyAdmin /var/www/htdocs/phpMyAdmin
(make sure you use a relative symlink since Apache is chrooted)

You can ensure you have a working install by accessing:
http://<localhost>/phpMyAdmin/index.php
Reply With Quote
  #3   (View Single Post)  
Old 16th December 2008
plexter plexter is offline
Shell Scout
 
Join Date: May 2008
Posts: 124
Question

Hi jggimi,

Thanks for replying.

Yes I had installed from pkg_add so it was installed into the default location. (/var/www/phpMyAdmin)

I ended up just copying the folder into htdocs and that works. I'm not clear on what the purpose of the symbolic link is anyway, at least on a single website.

Just thought if anyone knew why the new symlink would not work would be nice to know.

Oh well thanks for your input.
Reply With Quote
  #4   (View Single Post)  
Old 16th December 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,159
Default

What is the output of
Code:
ls -l /var/www/htdocs/phpMyAdmin
?
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem phpmyadmin Nk2Network OpenBSD Packages and Ports 6 14th May 2009 08:15 PM
phpMyAdmin Unaccessable Nk2Network OpenBSD Packages and Ports 2 20th April 2009 09:13 PM


All times are GMT. The time now is 08:28 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick