1- Locate nginx.conf on your server, which almost on this path
/etc/nginx/nginx.conf
2- Add this code under the http block
fastcgi_buffering off;
Refrence: microsoft/WSL#2100 (comment)
1- Locate nginx.conf on your server, which almost on this path
/etc/nginx/nginx.conf
2- Add this code under the http block
fastcgi_buffering off;
Refrence: microsoft/WSL#2100 (comment)
| <?php | |
| $handle = curl_init(); | |
| $postData = array( | |
| 'firstName' => 'Khaled', | |
| 'lastName' => 'Abu Alqombpz', | |
| 'email' => '[email protected]' | |
| ); | |
| $headers = [ | |
| 'api-key' => '{api-key}', | |
| 'another-header' => '{another-header-value}' |
sudo /etc/init.d/mysql stop
sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking &
mysql -u root
FLUSH PRIVILEGES;
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
ps -A | grep apt
1314 pts/1 00:00:00 apt
1- Exit the docker application
2- Open Power Shell as administrator
3- Run this command Stop-Service com.docker.service
4- Run this command cd 'C:\Program Files\Docker\Docker\resources'
5- Run This command -ExecutionPolicy ByPass -File .\MobyLinux.ps1 -Destroy
| name: appname | |
| recipe: pantheon | |
| config: | |
| framework: wordpress | |
| site: appname | |
| id: [side-id] | |
| proxy: | |
| mailhog: | |
| - mail.appname.lndo.site | |
| services: |
| <?php | |
| /* | |
| The source for this code is: https://dev-notes.eu/2017/01/convert-acf-fields-registered-by-php-to-importable-json-format/ | |
| */ | |
| $groups = acf_get_local_field_groups(); | |
| $json = []; | |
| foreach ($groups as $group) { | |
| // Fetch the fields for the given group key |