Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: flaviove on April 13, 2007, 06:38:42 PM

Title: Change register_globals - PHP
Post by: flaviove on April 13, 2007, 06:38:42 PM
(SME 7.0)
I need to change register-globals to on.
I did:

db configuration setprop php RegisterGlobals On

expand-template /etc/php.ini

/etc/init.d/httpd-e-smith restart

but register-globals still Off.
What I did wrong?

Any help will be great.
Tanx in advance.
Title: Change register_globals - PHP
Post by: Confucius on April 13, 2007, 07:03:41 PM
When you would have seen this section you already know that you made a tiny error. http://wiki.contribs.org/DB_Variables_Configuration#Apache_server_ibay_specific_.28httpd-e-smith.29

db configuration setprop php RegisterGlobals On

should become

db accounts setprop <IbayName> PHPRegisterGlobals enabled

So, for each Ibay you have to determine the need for it.

Harro

PS: template rebuild isn't needed : signal-event ibay-modify IbayName
Title: Change register_globals - PHP
Post by: flaviove on April 15, 2007, 03:02:50 AM
Thank you so much, it is working like a charm now. :lol:
Cheers,
Flavio


Quote from: "Confucius"
When you would have seen this section you already know that you made a tiny error. http://wiki.contribs.org/DB_Variables_Configuration#Apache_server_ibay_specific_.28httpd-e-smith.29

db configuration setprop php RegisterGlobals On

should become

db accounts setprop <IbayName> PHPRegisterGlobals enabled

So, for each Ibay you have to determine the need for it.

Harro

PS: template rebuild isn't needed : signal-event ibay-modify IbayName