Author Topic: php.ini  (Read 1837 times)

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
php.ini
« 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 ???
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307

totaln00b

  • Full Member
  • ***
  • Posts: 104
    • View Profile
php.ini
« Reply #1 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
CL 860, cacko  1.23 full, Sandisk 512Mb CF, Kodak 256Mb SD, Symbol Spectrum24 wifi
SL 5500, standard rom, 256Mb SD, CF GPS

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
php.ini
« Reply #2 on: August 12, 2004, 06:07:10 am »
ok , thankyou very much !!!
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307