Web Hosting Talk







View Full Version : The PHP configuration variable file_uploads needs to be turned on.


Hostlead
02-03-2003, 11:01 AM
Hello,
I am learning PHP..and I want to install phpads
Before I can continue it says: The PHP configuration variable file_uploads needs to be turned on.


How do I do that?

Hostlead.com

Rich2k
02-03-2003, 11:17 AM
In your PHP.ini file the configuration variable file_uploads has been disabled.

If you are the system administrator then you can do this yourself by editing the php.ini file, otherwise you need to ask your sys admin. However they may have disabled it for security reasons because some people don't check the content of uploaded files to see if there is anything bad in them.

Hostlead
02-03-2003, 11:28 AM
where can I find the php.ini file?

HL

null
02-03-2003, 12:07 PM
in Windows -> c:\WinNT\php.ini (or c:\Windows\php.ini, depends on system version)

in linux -> updatedb, locate php.ini

null

Hostlead
02-03-2003, 02:28 PM
thx guys!

HL