Topic: register_argc_argv (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Australia |
posted 07-07-2006 08:03
Anyone know exactly what this setting is for register_argc_argv |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 07-07-2006 09:00
argC and argV are the count and contents of the variables passed via the command line to a (c-)program. |
Paranoid (IV) Inmate From: Australia |
posted 07-07-2006 09:09
Currently my host is running php as cgi |
Paranoid (IV) Inmate From: Australia |
posted 07-07-2006 09:11
Just to clarify: |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 07-07-2006 16:39
Let's approach this the other way - why do you want to disable it? |
Paranoid (IV) Inmate From: Australia |
posted 07-07-2006 17:58
Okay, well im just going through all the settings and i guess disabling some things for security reasons, and some things that dont need to be enabled, or you would normally disable. So ive disabled register globals, all the magic quotes etc. |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 07-08-2006 00:52
I just happened to be reading a php.ini file yesterday and it says in the comments that if your not actually useing the args you should turn them off. quote:
|
Paranoid (IV) Inmate From: Australia |
posted 07-08-2006 03:54
Thanks butcher, i spose you would know if you are using them so ill turn them off for now. |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 07-08-2006 13:59
Most likely because it exceeds phps memory limit. I have expierenced webservers that would just bomb out with a 500 instead of saying 'memory limit exceeded'. |
Paranoid (IV) Inmate From: Australia |
posted 07-12-2006 09:22
Well i talked to my host and they said the limit is being imposed beacuse they are using phpsuexec, any ideas if it is possible to upload large files with phpsuexec running? |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 07-12-2006 15:41
H][RO |
Paranoid (IV) Inmate From: Australia |
posted 07-12-2006 17:56
Yeh ive checked them out, none of it works because the php isnt compiled with memory-limit, im not sure if its to do with the zend optimizer. Can you have zend going and compile php with memory limit i wonder. |