Angel78
01-13-2002, 07:21 AM
How to turn safe mode on ? pico php.ini and than set to ON or?
is there a list of the comands for pico&SSH somewhere on the net= how to make backup rename file...etc?
Pingu
01-13-2002, 08:22 AM
Try:
cp php.ini php.org
This copies the php.ini file to php.org. Now you can edit the ini file:
pico -w php.ini
"-w" tells pico not to wrap lines (I hate that as it's confusing)
Guess turning safe_mode on in php.ini does the trick, but I don't know about that :(
Pingu
01-13-2002, 08:29 AM
Come to think of it, if you're familiar with DOS, here's a DOS to Unix "translation":
http://www.computerhope.com/unix.htm
ASPCode.net
01-13-2002, 01:03 PM
More info on it here:
http://www.php.net/manual/en/features.safe-mode.php
Yes, php.ini is possible however you can also configure each VirtualHost entry in
<VirtualHost...
...
php_admin_value safe_mode On
...
</VirtualHost>
On my RAQ I have chosen to go the VirtualHost way. My own sites I run without safe_mode and customers sites with it turned on :)
How do you turn it off, do you just change the ON for OFF or do you wipe the whole line out?
hoot
ASPCode.net
01-15-2002, 09:16 AM
Set it to Off. Although I guess it gives the same affect to erase the line, I think it is better to be explicit about things.