HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Custom php.ini (http://www.howtoforge.com/forums/showthread.php?t=17457)

MisterVlad 19th November 2007 07:38

Custom php.ini
 
Ok, I have searched, and searched, and cannot find a good way to set up custom php.ini files.

Mostly, what I need, is for uploaded files and stuff to be under the users UID and GID when done though html file uploads.

How can I do this? I am seriously at a brain malfunction right now... and it is 140am on sunday night/monday morning....

HELP?!!?

Mistervlad

sjau 19th November 2007 08:53

use suPHP - that will make make user uploaded files to their according UID and GID

MisterVlad 19th November 2007 14:12

Right now, say the uid is 2004, and the gid is 2001, the uploaded files are coming up as 33/33 (www-data) which is what php is set to run at.

How do i use suPHP? is there a special install for this on Debian Etch 4.0? Could you please be a little more elaborate, and maybe point me in the right direction? (5 hours of sleep is not enough to function on :confused: )

Mistervlad

MisterVlad 19th November 2007 14:22

Maybe I should use ISPconfig? it seems as if everyone is using it... if I do that, maybe I should reinstall my webserver...

I guess I will read all the bennifits of ISPconfig, as I will be hosting multiple websites, and dont want to be able to have everyone have access to everyone elses stuff...

sjau 20th November 2007 08:16

I have never used suPHP so far... so I can't help you there... I just know suPHP will do that.


All times are GMT +2. The time now is 12:12.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.