Web Hosting Forum | Lunarpages
News: October 6, 2008 - Submit Your Site for the October 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 13, 2008, 02:59:53 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Dedicated/Custom php.ini file  (Read 602 times)
roosevelt
Trekkie
**
Offline Offline

Posts: 10


WWW
« on: December 02, 2006, 11:20:38 PM »

For a while now I have been googling but still can't find any solution. Can anyone please tell me how I can offer my hosted clients to have their own php.ini file, so that I don't have to change the global php.ini settings just before one client wants it.

I am using Linux!
Logged

Anthony_S
Intergalactic Superstar
*****
Offline Offline

Posts: 130


WWW
« Reply #1 on: December 03, 2006, 01:40:29 AM »

Hi,

You can do this with suPHP. For more information regarding suPHP, please visit http://www.suphp.org. This will allow you to create custom php.ini files just like you wanted.

I hope this helped!
« Last Edit: December 03, 2006, 01:42:48 AM by Anthony_S » Logged

roosevelt
Trekkie
**
Offline Offline

Posts: 10


WWW
« Reply #2 on: December 03, 2006, 10:31:47 AM »

Thanks Anthony_S I appreciate your feedback. Is there any other like suPHP? Because it looks bit complicated to setup.
Logged

perestrelka
Administrator
Master Jedi
*****
Offline Offline

Posts: 1058



« Reply #3 on: December 08, 2006, 07:55:24 AM »

Hello,

If you only need to modify only a couple of PHP settings, you can use "php_value" or "php_flag" commands in the .htaccess file. Please see http://us2.php.net/configuration.changes for more information.

Please be advised that there are some things that you can't override using .htaccess files.

I hope this helps.
Logged

Kind Regards,
Vlad Artamonov
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM