网络营销电子商务研究中心

网络营销电子商务研究中心 (https://www.0058.net/index.php)
-   服务器环境搭建 (https://www.0058.net/forumdisplay.php?f=5)
-   -   PHP register globals of Hostgator Web Hosting (https://www.0058.net/showthread.php?t=4752)

Nacogdoches 2014-05-27 07:17 AM

PHP register globals of Hostgator Web Hosting
 
After I installed drupal I got these massage:



register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled.

Nadeau 2014-05-27 07:19 AM

add this code to your primary .htaccess (/home/username/public_html/.htaccess).

Be sure to replace "username" with your actual cPanel user name.
Code:

<IfModule mod_suphp.c>
suPHP_ConfigPath /home/username
<Files php.ini>
order allow,deny
deny from all
</Files>
</IfModule>



All times are GMT +8. The time now is 09:16 PM.

Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.