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.
Articals in this section
-
Create site error "Error: Please allow extension : 'mysqlnd','pdo','gd','curl','iconv', .......
Updated on 2025-11-18 08:05:39
-
Create site error "Error: Please set max_execution_time more than 90"
Updated on 2025-11-18 08:05:39
-
Create site error "Error: Please set memory_limit more than 64M."
Updated on 2025-11-18 08:05:38
-
Edit website returns Admin Login instead of content editor
Updated on 2025-11-18 09:17:55
-
Create site error "Error: Please allow function : 'posix_getpwuid', 'getmyuid', 'fileowner', 'stat', 'file_put_contents', 'parse_ini_file'"
Updated on 2025-11-18 08:05:38
-
Create site error "Error: Please allow function : json"
Updated on 2025-11-18 08:05:38
-
Create site error "Error: Please allow extension : json"
Updated on 2025-11-18 08:05:38
-
Create site error Running tar command unzip failed
Updated on 2025-11-18 08:05:38
-
Create site error "Not enough database"
Updated on 2025-11-18 08:05:37
-
Repair website error Prepare Installer : HTTP/1.1 301 Moved Permanently
Updated on 2025-11-18 08:05:37
