Koozali.org: home of the SME Server

Change register_globals - PHP

flaviove

Change register_globals - PHP
« 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.

Offline Confucius

  • *****
  • 235
  • +0/-0
Change register_globals - PHP
« Reply #1 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

flaviove

Change register_globals - PHP
« Reply #2 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