Do it your self hobby code

Wordpress

PHP DOM Extension missing

The requested DOM PHP extension is missing. To install Php Dom extension on Ubuntu: Open your terminal to install the missing extension, type this: sudo apt-get install php-xml Then restart apache: sudo service apache2 restart

cURL Support Missing

The optional module, curl, is not installed, or has been disabled. To install this on your server, login on your terminal sudo apt-get install php-curl sudo service apache2 restart If still doesn’t work, we have to install the right version. Find first the version of your php How to fix cURL Support Missing? php –version …

cURL Support Missing Read More »

Required XMLReader PHP extension is missing on your server!

Required XMLReader Php extension. You are running your own vps and hosting a website. But after you installed a wordpress site, you see this error: Required XMLReader PHP extension is missing on your server! How to install XMLReader PHP extension on Linux VPS Ubuntu server? Run this command: sudo apt-get install php-xml And then restart …

Required XMLReader PHP extension is missing on your server! Read More »

Woocommerce: How to change currency symbol programmatically

woocommerce change currency programmatically

Woocommerce change currency programmatically In this tutorial, we will discuss two ways of changing currency symbol by editing the plugins or by code snippet. Either one should work. Editing Woocommerce plugin php file: The file that holds the code is: File: wc-core-functions.php Location: /[your-theme-folder]/wp-content/plugins/woocommerce/includes On line 520, you will see this: In this example, we …

Woocommerce: How to change currency symbol programmatically Read More »