You are not logged in.
Pages: 1
Topic closed
hello,
i have probleme with phpmyadmin
few months ago phpmyadmin was installed in /home/httpd/html/phpmyadmin
but now it is installed in /srv/www/phpmyadmin and so don't run anymore
i've found an old thread about /srv here: http://bbs.archlinux.org/viewtopic.php?id=27986
to make myadmin work i've cp it to old dir home/httpd/html/phpmyadmin, it works
but next upgrade will broke that
it is possible to add the /srv/www dir to the php.ini
but for apache the conf is: DocumentRoot "/home/httpd/html"
symbolic links are supported but could this help ?
oh and sorry for my language..i try..
Offline
Erm, I'm not sure why this was never complete. Would you mind adding a bug to the bug tracker regarding /srv/www ?
Offline
done: http://bugs.archlinux.org/task/9182?str … name=&type[]=&sev[]=&pri[]=&due[]=&reported[]=&cat[]=&status[]=open&percent[]=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto=
Offline
http://bugs.archlinux.org/task/9182 is enough.
Offline
oups..
Offline
*sigh* this bug messed me up bad. I was very confused as to what was going on with phpmyadmin.. the dir /srv. Some weird things.
-Bolero
Offline
How can it "mess you up bad"? The directory is configurable via a config file like anything else. It just so happens that the default config points elsewhere. Just change it.
Offline
Will Apache and other server software be moved to /srv too ?
Quis custodiet ipsos custodiet?
Offline
Will Apache and other server software be moved to /srv too ?
The software will not. It is *JUST* a configuration variable that anyone can change at any time. I believe apache uses "DocumentRoot" for this purpose
Offline
Yeah I know... But will the data structure in /home/httpd/ be moved to /srv/www ?
Quis custodiet ipsos custodiet?
Offline
I installed an Arch64 box about a month ago and phpmyadmin was sitting as /home/httpd/html/phpMyAdmin. Did a -Syu this morning and was moved to /srv/www/phpMyAdmin. No biggie, fixed my webserver config files.
Last edited by quad3d@work (2008-01-22 14:54:36)
Offline
Sorry I have the latest Apache, PHP, MySQL & phpMyAdmin installed...
How do I set it in order to access phpMyAdmin correctly, that is what settings need to be set in the webserver config file in order to use phpMyAdmin at /srv/www/phpMyAdmin?
TIA
Offline
Sorry I have the latest Apache, PHP, MySQL & phpMyAdmin installed...
How do I set it in order to access phpMyAdmin correctly, that is what settings need to be set in the webserver config file in order to use phpMyAdmin at /srv/www/phpMyAdmin?
TIA
ln -s /srv/www/PhpMyadmin /home/httpd/html/phpmyadmin
(Or use Apache redirect)
[terii@monkey1 /etc/php]$ cat php.ini|grep ^open_base
open_basedir = /home/:/tmp/:/usr/share/pear/:/srv/www/:/var/lib/squirrelmail/
/etc/rc.d/httpd restart
Last edited by quad3d@work (2008-01-30 22:04:38)
Offline
I have just installed phpmyadmin and mysql. I see that phpmyadmin created the /srv/www folder. What to do now? Only to copy the phpmyadmin to /home/httpd/html? Or what else?
Thanks
~k3rn31
Offline
Why copying it to somewhere else while you're forced not to do so ? You just need so set your CONF files according to the new location of phpMyAdmin.. See Wiki and Apache's documentation for that.. It's easy..
Quis custodiet ipsos custodiet?
Offline
Why copying it to somewhere else while you're forced not to do so ? You just need so set your CONF files according to the new location of phpMyAdmin.. See Wiki and Apache's documentation for that.. It's easy..
But If I have all my web files to httpd/html? What I must do? Can I add 2 web dirs?
~k3rn31
Offline
Sure.. You can configure it however you like... It's amazing that you have your web sites that way.. In my configuration, every site is in its home directory.. If there is a site like johndoe.mydomain.com, then it would stay in /home/johndoe/public_html ... None of them have shell access and they can't see other people's home directories... And I don't have to move them to another location... It's very easy to configure this with Arch.. (because that it's almost set and you just remove the # from the beginning of some lines)
I just had some files and directories that Apache installed (like images, error pages, etc..) and I moved them to /srv/www.. I also moved phpsysinfo which was installed in /home/httpd/.. Then I changed the parts that were written /home/httpd/ to /srv/www... It works like a charm
Quis custodiet ipsos custodiet?
Offline
Yes. But I don't have and I will not have any other accounts or users. It's home pc....
Thanks by the way.
~k3rn31
Offline
I installed phpmyadmin through pacman and did ln -s /srv/www/PhpMyadmin /home/httpd/html/phpmyadmin However when I try to open http://localhost/phpmyadmin I get this error:
Access forbidden!
You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
localhost
Sat Mar 15 01:31:26 2008
Apache
Any ideas?
Offline
Hi, this is driving me nuts too.
I am PRETTY well versed in setting up aliases and the like, but the problem I have is that /srv is owned by root and /home/httpd.... is owned by nobody. Yes I tried a great many things including all the suggestions here but all came to naught.
THEN I lost all patience and did an mv /srv/www/phpMyAdmin /home/httpd (note i did NOT put it in /home/httpd/html, don't want any common as mucker falling over it do we ...)
THEN RENAME IT from phpMyAdmin to PhpMyAdmin (leading character Uppercase). Yes it matters. God knows why
THEN into /etc/httpd/conf/extra/httpd-ssl and do THIS (yes I'm running it encrypted and yes I have forced a basic auth passwd. Very stone age I know ...
Alias /PhpMyAdmin/ "/home/httpd/PhpMyAdmin/"
Alias /PhpMyAdmin "/home/httpd/PhpMyAdmin"
<Directory "/home/httpd/PhpMyAdmin">
AuthType Basic
AuthName "Staff Area"
AuthUserFile /etc/httpd/conf/htpasswd
require valid-user
Options Indexes FollowSymLinks Includes
AllowOverride None
DirectoryIndex index.php
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Now with THAT lot at the bottom of my ssl-enabling config file I can FINALLY go to https://localhost/PhpMyAdmin/ and be rewarded with ...
.....phpMyAdmim 2.11.4 The configuration file now needs a secret passphrase.
ARRGGHHHHHH
Last edited by johnvoisey (2008-03-19 14:31:06)
Offline
Just to know I removed the phpmyadmin package installed from pacman and download the orinigal tar.gz from sourceforge. Extracted it into /home/http/html (ok you can try sth different) and the wrote a config.inc.php based on phpmyadmin's wiki. It works just fine like that.
Offline
I just wanted to add that I was having trouble accessing my phpmyadmin folder. For me I am not able to access it by editing the .htaccess file in the phpmyadmin folder which blocks ALL access to the folder.
Offline
I just wanted to add that I was having trouble accessing my phpmyadmin folder. For me I am not able to access it by editing the .htaccess file in the phpmyadmin folder which blocks ALL access to the folder.
If I understand correctly, you had to change the installed .htaccess-file to get access to the software.
I guess that is part of the default security.
Zl.
Offline
Keep an eye out for zombies...
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
We'll go ahead and close this one, seeing as it is about a year old. Feel free to link to it if you feel it is relevant, and please start a new thread.
Thanks.
Offline
Pages: 1
Topic closed