Editor INI de MultiPHP en cPanel
Esta opción solo está disponible en sistemas que ejecutan EasyApache 4 y le permite realizar cambios de configuración en su configuración de PHP. Puede editar el directorio de inicio de la cuenta o la raíz del documento del dominio. El MultiPHP INI Editor tiene los siguientes dos modos:
A] Modo básico:
En este modo, puede seleccionar el dominio o el directorio de inicio y realizar cambios de configuración en los valores de directiva deseados que se cargan desde el archivo php.ini. El sistema solo escribe una directiva en un archivo .htaccess o en un archivo .ini si admite la directiva.
- Inicie sesión en su cPanel >> Software >> MultiPHP INI Editor o busque MultiPHP en la barra de búsqueda de cPanel.
Puede cambiar los siguientes valores de la directiva PHP:
PHP Directive |
Information |
cPanel default Setting |
allow_url_fopen |
This option enables the URL-aware fopen wrappers that enable accessing URL objects like files. |
Disabled |
allow_url_include |
This option allows the use of URL-aware fopen wrappers with the following functions: include(), include_once(), require(), require_once(). |
Disabled |
display_errors |
This determines whether errors should be printed to the screen as part of the output or if they should be hidden from the user. |
Disabled |
enable_dl |
You can turn dynamic loading of PHP extensions with dl() on and off per virtual server or per directory. |
Disabled |
file_uploads |
Whether or not to allow HTTP file uploads. |
Enabled |
max_execution_time |
This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser. |
30 |
max_input_time |
This sets the maximum time in seconds a script is allowed to parse input data, like POST, GET and file uploads. |
60 |
max_input_vars |
This sets the maximum number of input variables allowed per request. |
1000 |
memory_limit |
This sets the maximum amount of memory in bytes that a script is allowed to allocate. |
Can be adjusted at the time of install based on system memory |
post_max_size |
Sets max size of post data allowed. |
8M |
session.gc_maxlifetime |
This specifies the number of seconds after which data will be seen as "garbage" and potentially cleaned up. |
Can be adjusted |
session.save_path |
It defines the argument which is passed to the save handler. |
NULL |
upload_max_filesize |
The maximum size of an uploaded file. |
2M |
zlib.output_compression |
Whether to transparently compress pages. |
Disabled |
Ejemplo:
B] Modo editor:
Este modo muestra el contenido del archivo php.ini para el dominio seleccionado o el directorio de inicio si el archivo php.ini existe. Si el archivo no está presente, puede crear su propio archivo a través de la interfaz del editor en blanco y hacer clic en Guardar.
El sistema guarda los cambios tanto en el archivo php.ini en la sección Ruta de la interfaz como en el archivo .user.ini. El sistema también guarda estos cambios en su archivo .htaccess.
Ejemplo: