Master:
# 1    Got error when i install Drupal                  
Maggie
Online no
State
Grouping Member
Class class3
Score 97
Wealth 93.5
Posts 62
Login 05:17:08
register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings. (Currently using PHP register globals Enabled ('1'))

I have already set register_globals Off indeed.
I configured it in php.ini
Hits: 572, Date: 2010-05-12 06:46:33
[Agree] ( 7 ) [Against] ( 6 )

# 2    What is the version of php?                  
exp
Online no
State
Grouping Member
Class class4
Score 348
Wealth 219
Posts 269
Login 11:49:09
What is the version of php?
Hits: 571, Date: 2010-05-12 06:47:21
[Agree] ( 8 ) [Against] ( 6 )

# 3    You may need to upgrade php 4 to php 5                  
exp
Online no
State
Grouping Member
Class class4
Score 348
Wealth 219
Posts 269
Login 11:49:09
You may need to upgrade php 4 to php 5
Hits: 568, Date: 2010-05-12 06:47:50
[Agree] ( 6 ) [Against] ( 7 )

# 4    in phpinfo() you can see it is off, but Drupal still think it is on                  
exp
Online no
State
Grouping Member
Class class4
Score 348
Wealth 219
Posts 269
Login 11:49:09
This could be the problem php4, so you may try to upgrade to php 5.
You can ask web hosting company. Or if you use cpanel,
You just need to upgrade it in cpanel.
Hits: 567, Date: 2010-05-12 06:49:54
[Agree] ( 6 ) [Against] ( 8 )

# 5    In share hosting, we often copy the php.ini to your web page root directory                  
luke1
Online no
State 453
Grouping Super Admin
Class class4
Score 250
Wealth 62
Posts 230
Login 07:37:57
write a code similar to the following in run.php:
echo exec('cp /usr/local/php4/lib/php.ini /home/myuser/public_html/php.ini');

then open run.php, the file php.ini will be copied to public_html, then you can modify it.

I put here for reference.
Hits: 558, Date: 2010-05-13 23:15:04
[Agree] ( 8 ) [Against] ( 4 )

# 6    These commands are useful, i put here for reference                  
luke1
Online no
State 453
Grouping Super Admin
Class class4
Score 250
Wealth 62
Posts 230
Login 07:37:57
echo exec('cp sites/default/default.settings.php sites/default/settings.php');
echo exec('chmod o+w sites/default/settings.php');
echo exec('chmod o+w sites/default');
Hits: 555, Date: 2010-05-13 23:20:36
[Agree] ( 6 ) [Against] ( 4 )

1 - 6 [ 6]

Reply: Got error when i install Drupal

*First line:


More content:


Tags:



Hint: You cannot post here before loginLogin | Register

nothing