martes, 13 de abril de 2010

Linux: Administrar Servidores on linux

reiniciar Apache
service httpd restart
en Debian / Ubuntu:
/etc/init.d/apache2 restart

php info Local Value and Master Value
The 'master' value is your php.ini , while the 'local' one refers to the directory you are looking at.
Basically you can override/change the local value using a .htaccess
I'd advise you to poke around on the PHP site.
php_value safe_mode "1"


Si no anda el exec
1º verificar estas variables en phpinfo: safe_mode y disable_functions

just add this to the end of the httpd.conf file and restart apache.

<Directory /var/www/html>
php_admin_flag safe_mode off
</Directory>


Saber que version de Linux Tengo
cat /etc/issue
lsb_release -a
cat /etc/lsb-release

Obtener info
uname -r – obtener versión del kernel
uname -a – obtener toda la información del kernel

No hay comentarios:

Publicar un comentario