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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > i have issue with safe mod

Reply
 
Thread Tools Display Modes
  #1  
Old 10-08-2011, 01:43 PM
Eslam Taha Eslam Taha is offline
Member
 
Join Date: Mar 2011
Posts: 17
Default i have issue with safe mod

Hello

i need make php.ini to folder how make that with litespeed

Thanks
Reply With Quote
  #2  
Old 10-10-2011, 12:07 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
try from command line:
Quote:
/path_to_lsws/fcgi-bin/lsphp5 -i| grep "Configuration File (php.ini) Path"
where path_to_lsws is the install path of lsws (e.g. /usr/local/lsws).
Reply With Quote
  #3  
Old 10-11-2011, 03:41 PM
Eslam Taha Eslam Taha is offline
Member
 
Join Date: Mar 2011
Posts: 17
Hello


Configuration File (php.ini) Path => /usr/local/lib

okay i know the path but i need make safe mod off to one site no all server

Thanks
Reply With Quote
  #4  
Old 10-11-2011, 04:16 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
add below to vhost .htaccess or vhost in httpd.conf (if lsws read apache config).
Quote:
php_admin_value safe_mode "Off"
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 04:19 AM.



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