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

Go Back   LiteSpeed Support Forums > External Applications > PHP > PHP per host/path configuration directives

Reply
 
Thread Tools Display Modes
  #1  
Old 11-19-2012, 05:25 AM
andyf andyf is offline
Member
 
Join Date: Nov 2012
Posts: 11
Default PHP per host/path configuration directives

ref: http://us3.php.net/manual/en/ini.sections.php

PHP allows configuration directives to be defined with HOST= and PATH= syntax. This prevents these directives being overridden from from ini_set or via .htaccess.

Does LSWS support this, as no matter what I try, the configuration directives defined in the system php.ini under the HOST and PATH sections do not get applied to PHP requests at all.
Reply With Quote
  #2  
Old 11-21-2012, 03:39 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
please refer:
http://php.net/manual/en/configuration.changes.php

you can archive same goal by using
php_admin_value name value
or
php_admin_flag name on|off

in LSWS. and it looks easier to use and apply for all php versions not only with php 5.3.0+
Reply With Quote
  #3  
Old 05-07-2013, 02:06 AM
andyf andyf is offline
Member
 
Join Date: Nov 2012
Posts: 11
I was asking specifically about the HOST= and PATH= syntax in the php.ini, which allows you to set values based on the location of files within the filesystem - so for example /home/regularusers/ could have one value and /home/superusers/ could have another.

It also allows you to prevent overriding of values via .htaccess or php.ini within the accounts, so you can enforce php.ini values.

Can LSWS support this standard PHP behaviour?
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 01:05 PM.



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