Active PHP Extension
mbstring on the Hosting
Allow using PHP function
You install normally like other plugins but use the file upload method. Note: In order for the installation to be successful, you need to make the folder wp-content/plugins writable.
Before proceeding to install the plugin we suggest you to disable cache plugins such as WP Rocket, W3 Total Cache..to avoid errors during optimization implementation. After optimization is complete, re-enable the cache plugin and configure it according to the instructions in step 4.
To install, you login to the WP admin page and go to Appearance > Install Plugins > select to install plugin "Penci Shortcodes & Performan" and "Penci Speed Optimizer". You need to activate both plugins "Penci Shortcodes & Performan" and "Penci Speed Optimizer" to get it works correctly.
After installed & activated the plugins "Penci Shortcodes & Performan" and "Penci Speed Optimizer", you can go to Customize > Speed Optimization > PageSpeed Optimizer > and check to "Enable Page Speed Optimizer"
Set PHP memory limit in the wp-config.php file:
This plugin will not edit or delete any files on the hosting. The optimization process will generate new js & CSS files based on the original files of the website. In case you change CSS and js files for your theme and plugins so you need to tell with the plugin that you have modified them. To do this you can go to Dashboard > Settings > PageSpeed Optimizer > and press the [Purge All] button to refresh the CSS and js files generated for optimization.
Some hosting have to install software for viruses scanning or security plugins automatically delete suspicious files. Penci Speed Optimizer plugin has used
curl_exec function, and the PHP file can be removed by your host. To ensure plugin works without errors, please exclude virus scan from folder
mbstring php extension.In cpanel, find 'Select PHP Version' & click on it.
mbstring as bellow:
curl_exec function.in `Select PHP Version` app, click on 'Options' tab.
And make sure `curl_exec` not in disable_functions field.
Exclude virus scan in the plugin folder. Open
imunify 360 / imunify AV app in cpanel. Click tab 'Ignore list' & click the link 'Add new file or directory'.
Enter the absolute path to Penci Speed Optimizer plugin & click ADD button, like this:
In some case, if you using PHP 8, you can get an error 503 issue after activating the plugin Penci PageSpeed Optimizer - you just need to go to your hosting > Cpanel > Select PHP Version > click on the "Extensions" tab and disable the opcache extension - check the image below: