#1  
Old 19th November 2007, 07:38
MisterVlad MisterVlad is offline
Member
 
Join Date: Jun 2007
Location: Windsor, Ontario, CANADA
Posts: 61
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via MSN to MisterVlad Send a message via Skype™ to MisterVlad
Unhappy 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
Reply With Quote
Sponsored Links
  #2  
Old 19th November 2007, 08:53
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
Default

use suPHP - that will make make user uploaded files to their according UID and GID
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
  #3  
Old 19th November 2007, 14:12
MisterVlad MisterVlad is offline
Member
 
Join Date: Jun 2007
Location: Windsor, Ontario, CANADA
Posts: 61
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via MSN to MisterVlad Send a message via Skype™ to MisterVlad
Default

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 )

Mistervlad

Last edited by MisterVlad; 19th November 2007 at 14:14.
Reply With Quote
  #4  
Old 19th November 2007, 14:22
MisterVlad MisterVlad is offline
Member
 
Join Date: Jun 2007
Location: Windsor, Ontario, CANADA
Posts: 61
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via MSN to MisterVlad Send a message via Skype™ to MisterVlad
Default

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...
Reply With Quote
  #5  
Old 20th November 2007, 08:16
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
 
Default

I have never used suPHP so far... so I can't help you there... I just know suPHP will do that.
__________________
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
custom php.ini via suphp Cirox Installation/Configuration 3 23rd September 2007 12:41
Custom database names and usernames kcackler Feature Requests 5 18th March 2007 20:59
need to change toggle settings of php.ini file in SSH bpstyle Installation/Configuration 4 13th February 2007 11:33
DNS manager faults when having custom directives martinfst Developers' Forum 2 27th January 2007 14:08
Custom user home/ftp root mtempels Feature Requests 0 4th December 2006 12:40


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


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