Category : cloud

I’ve using Google Cloud API and I’ve created instance but without IPv4. I need instance with IPv4. Can anyone help me to config AccessConfig? <?php require_once ‘vendor/autoload.php’; use GoogleCloudComputeV1InstancesClient; use GoogleCloudComputeV1AttachedDisk; use GoogleCloudComputeV1AttachedDiskInitializeParams; use GoogleCloudComputeV1Instance; use GoogleCloudComputeV1NetworkInterface; use GoogleCloudComputeV1Operation; use GoogleCloudComputeV1ZoneOperationsClient; use GoogleCloudComputeV1AccessConfig; putenv(‘GOOGLE_APPLICATION_CREDENTIALS=my.json’); $projectId = ‘myProject’; $zoneName = ‘europe-west3-c’; function create_instance( string $projectId, string ..

Read more

I am using CURL to parse data from this webpage ( this is downloadable file) https://dailyiptvlist.com/dl/us-m3uplaylist-2021-04-19-8.m3u It`s possible to open from browser but CURL return error $ch = curl_init(); curl_setopt( $ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1" ); curl_setopt( $ch, CURLOPT_URL, $url ); curl_setopt( $ch, CURLOPT_FOLLOWLOCATION, true ); curl_setopt( $ch, CURLOPT_ENCODING, ..

Read more

I run this 4 commands – Downloading the latest version of Acquia CLI. curl -OL https://github.com/acquia/cli/releases/latest/download/acli.phar. chmod +x acli.phar mv acli.phar /usr/local/bin/acli And after completing this if I am trying to run acli in my ubantu terminal I am getting error – ***Box Requirements Checker Using PHP 7.4.3 PHP is using the following php.ini file: ..

Read more

This is the configuration of the php file Thanks for the help Can not connect cloud sql database to docker custom image website nginx. Error 405 not allowed <?php /* Database credentials. Assuming you are running MySQL server with default setting (user ‘root’ with no password) */ define(‘DB_SERVER’, ‘[ip of cloud sql instance]’); define(‘DB_USERNAME’, ‘[user ..

Read more