Advertisement
kaiux

suphp enable phpmyadmin

Nov 2nd, 2012
481
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. <IfModule mod_suphp.c>
  2. AddType application/x-httpd-suphp .php .php3 .php4 .php5 .phtml
  3. suPHP_AddHandler application/x-httpd-suphp
  4.  
  5. <Directory />
  6. suPHP_Engine on
  7. </Directory>
  8.  
  9. # By default, disable suPHP for debian packaged web applications as files
  10. # are owned by root and cannot be executed by suPHP because of min_uid.
  11. <Directory /usr/share>
  12. suPHP_Engine off
  13. </Directory>
  14.  
  15. <Directory /usr/share/phpmyadmin>
  16. AddType application/x-httpd-php .php .php3 .php4 .php5
  17. suPHP_AddHandler application/x-httpd-php
  18. suPHP_Engine off
  19. </Directory>
  20.  
  21. # # Use a specific php config file (a dir which contains a php.ini file)
  22. # suPHP_ConfigPath /etc/php4/cgi/suphp/
  23. # # Tells mod_suphp NOT to handle requests with the type <mime-type>.
  24. # suPHP_RemoveHandler <mime-type>
  25. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement