View Single Post
Old 11-06-2005, 03:51 PM  
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Punta Cana, DR
Posts: 29,932
Quote:
Originally Posted by nakki
Sorry, but it can't be changed with .htaccess, and ini_set won't have any effect either. I don't really see Lycos changing their php.ini either, so think your best bet would be to find a new host that doesn't have safe mode on..
Definitively easier, but some stay were they are.

So in thaty case, if safe_mode is ON, you can always add to the apache config file ( or get them to add ....):

[HTML]<VirtualHost ***.***.***.***>
ServerAlias www.domain.net domain.net
ServerAdmin [email protected]
DocumentRoot /home/domain/public_html
php_admin_flag safe_mode Off
BytesLog domlogs/domain.net-bytes_log
ServerName www.domain.net
User domain
Group domain
CustomLog domlogs/domain.net combined
ScriptAlias /cgi-bin/ /home/domain/public_html/cgi-bin/
</VirtualHost>[/HTML]


please note the added line:

php_admin_flag safe_mode Off


or this other one, but not both at the same time:

php_admin_value safe_mode 0
__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....

Last edited by directfiesta; 11-06-2005 at 03:53 PM..
directfiesta is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook