Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - garfieldoike

Pages: [1]
1
PHP / CWP PHP issue for files larger than 2MB
« on: December 17, 2019, 05:01:50 PM »
Good morning, please help me. I am trying to solve this problem for days.
Already tried the following ways:

I logged in to the root user of CWP7 and modified it in SIMPLE PHP.ini editor (PRINT)
https://prnt.sc/qc5gn9
https://prnt.sc/qc5fbs
I restarted the server and nothing.


I went to the desired site and modified the .htaccess
php_value upload_max_filesize 1024M
php_value post_max_size 1024M
php_value memory_limit 1024M
php_value max_execution_time 300
php_value max_input_time 300

And gave the following error:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@*******.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.

I deleted it, as it gave error.

I went to PHP wp-config.php WordPress installed and put:


Print: https://prnt.sc/qc5hvl

@ini_set( 'upload_max_size' , '1024M' );
@ini_set( 'post_max_size', '1024M');
@ini_set( 'memory_limit', '1024M' );

Nothing, nothing happened with the site, I only followed 2M

I signed in to CWP.user > Edit php.ini (PRINT) https://prnt.sc/qc5hch
memory_limit=1024M
upload_max_filesize=1024M
post_max_size=1024M
max_execution_time=300
display_errors=On
date.timezone=undefined
error_reporting=E_ALL & ~E_DEPRECATED & ~E_STRICT
session.save_path=undefined
magic_quotes_gpc=Off

And it didn't work either. Please help me.

Pages: [1]