LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Different different php config?

Reply
 
Thread Tools Display Modes
  #1  
Old 02-01-2009, 04:38 PM
fastproxy fastproxy is offline
Senior Member
 
Join Date: Nov 2007
Posts: 95
Default Different different php config?

Hi,

How can i set different php config for different domains?

i use lxadmin. Before it has different php.ini config for each domain. But now all the sites use 1 php config from lsphp4/lib/php.ini

Last edited by fastproxy; 02-01-2009 at 04:46 PM..
Reply With Quote
  #2  
Old 02-02-2009, 10:14 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
AddType application/x-httpd-php4 php

or

AddType application/x-httpd-php5 php
Reply With Quote
  #3  
Old 02-03-2009, 08:56 PM
fastproxy fastproxy is offline
Senior Member
 
Join Date: Nov 2007
Posts: 95
It is not php4 or php5. I need to enable some php functions for specific domain.

I.e: i need enable "show_source, system, shell_exec, passthru, exec, popen, proc_open, base64_decode, base64_encodem, proc_terminate" for 1 domain, but not all.
Reply With Quote
  #4  
Old 02-04-2009, 08:40 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Use

php_admin_value <php.ini directive>

for that vhsot.
Reply With Quote
Reply

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


All times are GMT -7. The time now is 12:01 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.