2011年1月24日 星期一

使用者啟動php

 vi php5.conf

<IfModule mod_php5.c>
    <FilesMatch "\.ph(p3?|tml)$">
        SetHandler application/x-httpd-php
    </FilesMatch>
    <FilesMatch "\.phps$">
        SetHandler application/x-httpd-php-source
    </FilesMatch>
    # To re-enable php in user directories comment the following lines
    # (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it
    # prevents .htaccess files from disabling it.
  
  #註解掉
 #   <IfModule mod_userdir.c>
 #       <Directory /home/*/public_html>
 #           php_admin_value engine Off
 #       </Directory>
 #   </IfModule>
   
   
   
   
</IfModule>
                                      
/etc/init.d/apache2 restart

沒有留言:

張貼留言