A pretty way to get your code withing the PHP Coding standards is using the PHP Code Sniffer tool.
If you are working in a Magento 2 si..
With this tutorial you will be able to customize those Apache error messages like 404 (image below) with your suitable design.
If you need to export as a CSV file a model that you already have in your database, you can do the following in your code:
- Add a meth..
When you execute PHP CURL calls to HTTPS URLs, you might get the following error:
SSL certificate problem: unable to get local issuer c..
If you are getting the following error:
Error during session start; please check your PHP and/or webserver log file and configure your ..
If you want to update your PHP version, or just get a different one, you can proceed with the corresponding PHP steps in the following lin..
To install oauth on your system, you need to perform the following steps with your root user. Be aware that this example is for PHP 5.6, y..
Many times, you will need to setup a new work environment such as staging or live, or you may need to setup your local development environ..
Those are many code snippets that could be helpful for you on shell scripts, standalone scripts, or in different situations of your market..