| Author |
Register Globals |
|
CJD
Just popping in Joined: 16-Mar-2003 Posts: 3
|
Posted: 2003-03-16 14:14
i am running Apache HTTP Server Version 1.3 with PHP Version 4.3.1 on windows 2000 pro & MyPHPNuke 1.8.8_7, & i get this error trying to install "Register Globals Must be turned On.
Contact your System Admin to fix this issue."
i got & turn on the Register Globals in the php.ini file.but there is no ALIAS to add"When you are running your own web server, you're likely to have access to php.ini. You need to make an ALIAS and add the setting to this alias. Open the file php.ini in a text editor, browse for the beginning of the Alias section and add the following lines: "
what do i do? [ This message was edited by: CJD on 2003-03-16 14:16 ]
|
|
trini0
MPN Developer Joined: 18-Jul-2001 Posts: 5096
From: FL USA
|
Posted: 2003-03-16 14:40
I was about to say, what the hell you're talking about. But then I read that section of the manual and understood why.
That is an error in the manual. It was supposed to reference httpd.conf for Apache.
If you are running your own server, edit php.ini, search for register_globals = Off and turn it On.
Restart Apache and it should be fine from there.. ----------------- trini0... mPN2 Test Bed
|
|
CJD
Just popping in Joined: 16-Mar-2003 Posts: 3
|
Posted: 2003-03-16 14:42
i have turned it on, but still get the same thing
& Alias /mpn1887 aint in the httpd.conf either
Quote:
| ; You should do your best to write your scripts so that they do not require
; register_globals to be on; Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
register_globals = On |
| [ This message was edited by: CJD on 2003-03-16 15:04 ]
|
|
Kiril
MPN Developer Joined: 10-Nov-2001 Posts: 4181
|
Posted: 2003-03-16 23:12
I'm lost you completely.
|
|
trini0
MPN Developer Joined: 18-Jul-2001 Posts: 5096
From: FL USA
|
Posted: 2003-03-17 08:23
Did you restart apache. There isn't a need to modify httpd.conf if there is only one domain.
Please refer to apache/php documentation for further actions. ----------------- trini0... mPN2 Test Bed
|
|
CJD
Just popping in Joined: 16-Mar-2003 Posts: 3
|
Posted: 2003-03-17 10:15
i have turned on globals & restarted webserver & i still get the same thing
i also rebooted the PC too
FYI i did not modify httpd.conf
[ This message was edited by: CJD on 2003-03-17 10:16 ]
|