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