View previous topic :: View next topic |
Author |
Message |
webtrip Member
Joined: 07 Jun 2014 Posts: 22 Location: Netherlands
|
Posted: Sat Jul 05, 2014 3:51 pm Post subject: want to install PHPMYADMIN after installing server |
|
|
I have the server a few weeks ago installed. Its works and runs great. Even my domain is running without trouble With Microsoft I never get this far.
But here it comes: I did somehow a install of sms server but PhpMyAdmin was not installed it seems. Is there a way to do this on a installed server? And how I do that?
Greetz
Richard Trip _________________ Richard Trip
Field Service Engineer (IT & Document Sollutions )
Printer/MFP specialist |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sat Jul 05, 2014 8:46 pm Post subject: |
|
|
Well apparently you either delete the directory /var/www/htdocs/phpmyadmin or change the default documents dir, otherwise your phpmyadmin should be accessible at http://[yourdomain]/phpmyadmin ....
Now if the folder /var/www/htdocs/phpmyadmin exists just add to /etc/httpd/httpd.conf
Code: | NameVirtualHost *:80
<VirtualHost *:80>
ServerName sql.youdomain.com
ServerAlias www.sql.youdomain.com
DocumentRoot "/var/www/htdocs/phpmyadmin"
DirectoryIndex index.html index.php
<Directory /var/www/htdocs/phpmyadmin>
Options FollowSymLinks +Indexes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
</VirtualHost> |
You need to add an A record of sql.yourdomain.com to your DNS management for this to work.
You can also move the "phpmyadmin" directory to your web root, or extract it from phpmyadmin package...
And you should be able to access it at http://[yourdomain]/phpmyadmin ...
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
|