OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: gab74 on August 09, 2004, 11:40:50 am

Title: php.ini
Post by: gab74 on August 09, 2004, 11:40:50 am
Good morning,
i'm using apache 1.3.27 with php 4.2.3 on my zaurus sl6000l with sharp rom.

Problem is i have to enable

register_globals = On


The package has no php.ini so i created a

php.ini files under /etc dir and

put

[PHP]

register_globals = On
i've restarted apache but nothing happens (it seems it is ignored?

Any helps , i've to enable register_globals=On ???
Title: php.ini
Post by: totaln00b on August 10, 2004, 09:33:40 am
What worked for me was to edit httpd.conf in /home/www/conf to include the following line:

php_flag register_globals on

Don't know if it matters where in the file you put it, but I put mine in Section 1: Global Environment

You do have to restart apache of course, or reboot your zaurus, but that should do the trick!

Jo
Title: php.ini
Post by: gab74 on August 12, 2004, 06:07:10 am
ok , thankyou very much !!!