CyberPanel Community

ClosedDomain Specific PHP Configuration - vHost Conf File

RA
Rajon Ahmed #1

Hi there,

  phpIniOverride  {
php_value memory_limit "64M"
php_value display_errors "Off"
php_value log_errors "On"
php_admin_value error_log "logs/errors.log"
php_value upload_max_filesize "5M"
php_value post_max_size "6M"
php_value session.gc_maxlifetime "21600"
php_value session.gc_divisor "500"
php_value session.gc_probability "1"
php_value date.timezone "Asia/Dubai"
  }

What am I doing wrong here?
The settings don’t have any effect on the website. I checked the phpinfo.php file and found nothing had changed.

3 replies
Dr
Dreamer #2

Did you restart litespeed after changes?

RA
Rajon Ahmed #3

@Dreamer
Hi, yes I restarted every services one by one. But no luck.

Thank you!

RA
Rajon Ahmed #4

Issue resolved.

I was adding the code in wrong order.

Sign in to reply