phpinfo() is not working on my CentOS server

I have PHP installed on my CentOS server. However, when running a phpinfo() inside my script to test it, I receive the HTML, not the interpreted information. I can see the folders for PHP. I can even see the php.ini in the etc folder. But PHP itself does not seem to be working. I mean … Read more

Updating php version on mac

Use Homebrew: I would probably recommend installing homebrew to manage such installations for you. With that installed you can just run the following command to install php7.1

WooCommerce action hooks and overriding templates

First in reference below you will find how to override properly woocommerce templates via a theme (avoiding editing the plugin templates). In your first code snippet, as you can see for woocommerce_single_product_summary hook, you have in order all the different templates that are @hooked in this hook location with do_action() WordPress function: So in your … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)