[Php-avanzado] Modificar php.ini en server compartido
Mario Gomez Cassou
collectgc en gmail.com
Vie Abr 22 11:53:26 ART 2011
Hola
Estoy tratando de modificar la configuración de PHP de un sitio
alojado en un server compartido.
Para esto modifico el archivo .htaccess: el original contiene
AddHandler x-httpd-php5 .php
ErrorDocument 404 /404.php
ErrorDocument 403 /403.php
si le quiero agregar algo mas, como
AddHandler x-httpd-php5 .php
ErrorDocument 404 /404.php
ErrorDocument 403 /403.php
php_value session.cookie_lifetime 3600
php_value session.gc_maxlifetime 3600
al ejecutar phpinfo(); suenan todas las alarmas:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator and inform them of the time
the error occurred, and anything you might have done that may have
caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while
trying to use an ErrorDocument to handle the request.
(y ya que estamos preguntando ¿como se abre con Bluefish un archivo
oculto como .htaccess?)
Gracias
Mario
Más información sobre la lista de distribución Php-avanzado