Create site error "Error: Please allow function : 'posix_getpwuid', 'getmyuid', 'fileowner', 'stat', 'file_put_contents', 'parse_ini_file'"
Problem
When you create a website, it error.
Error: Please allow function : 'posix_getpwuid', 'getmyuid', 'fileowner', 'file_put_contents', 'parse_ini_file'.
Reason
RVsitebuilder requires these PHP functions to enable but some is disabled for your domain name.
Solution
Enable PHP function for ea-php (EasyApache4)
Reconfiguration on cPanel/WHM
1 Log in to WHM
2. Go to Home->Software->MultiPHP INI Editor.
3. Choose the Editor Mode tab.
4. From the drop-down list choose the PHP version.
5 .In the configuration window that will be opened, search for “disable_functions”.
6. Remove 'posix_getpwuid', 'getmyuid', 'fileowner', 'stat', 'file_put_contents', 'parse_ini_file' on "disable_functions" and Save.

Reconfiguration via root SSH access.
1. Log into your server via SSH as ‘root’ user
2. Find the main PHP configuration file on the server
Run the below command to find the php.ini configuration file on your server
php --ini
OR
php -i | grep php.ini

You can see that PHP configuration file on server is /opt/cpanel/ea-php74/root/etc/php.ini
3. Backup php.ini file before editing with command
cp -a /opt/cpanel/ea-php74/root/etc/php.ini /opt/cpanel/ea-php74/root/etc/php.ini.original
4. Edit php.ini file by removing 'posix_getpwuid', 'getmyuid', 'fileowner', 'stat', 'file_put_contents', 'parse_ini_file'
5. Restart EasyApache after doing the above steps.
Posts in Category
-
Create site error "Error: Please allow extension : 'mysqlnd','pdo','gd','curl','iconv', .......
Admin Updated on 2025-10-30 09:03:23
-
Create site error "Error: Please set max_execution_time more than 90"
Admin Updated on 2025-10-30 09:03:23
-
Create site error "Error: Please set memory_limit more than 64M."
Admin Updated on 2025-10-30 09:03:22
-
Edit website returns Admin Login instead of content editor
Admin Updated on 2025-10-30 09:03:17
-
Create site error "Error: Please allow function : 'posix_getpwuid', 'getmyuid', 'fileowner', 'stat', 'file_put_contents', 'parse_ini_file'"
Admin Updated on 2025-10-30 09:03:17
Admin