Advertisement
Guest User

Arch PhpMyAdmin Bad Symlink Config

a guest
Jan 2nd, 2015
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.82 KB | None | 0 0
  1. # Enable Mod Rewrite in “/etc/httpd/conf/httpd.conf” by uncommenting
  2. #LoadModule rewrite_module modules/mod_rewrite.so
  3. LoadModule alias_module modules/mod_alias.so
  4.  
  5. # Append to end of file “/etc/httpd/conf/httpd.conf”
  6.  
  7. # PhpMyAdmin
  8. Include conf/phpmyadmin.conf
  9.  
  10.  
  11. # Create File “/etc/httpd/conf/phpmyadmin.conf” with contents
  12.  
  13. Alias /phpmyadmin "/usr/share/webapps/phpMyAdmin"
  14.  
  15. <Directory "/usr/share/webapps/phpMyAdmin">
  16.     DirectoryIndex index.html index.php
  17.     AllowOverride All
  18.     Options FollowSymlinks
  19.     Require all granted
  20. </Directory>
  21.  
  22.  
  23. # PhpMyAdmin Symlinks are bad
  24. mv /usr/share/webapps/phpMyAdmin/config.inc.php /usr/share/webapps/phpMyAdmin/config.inc.php.bak
  25.  
  26.  
  27. # Copy Config
  28. sudo cp /usr/share/webapps/phpMyAdmin/config.sample.inc.php /usr/share/webapps/phpMyAdmin/config.inc.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement