Skip to content
Advertisement

Tag: google-cloud-platform

DVWA setup – PHP function allow_url_include: Disabled

I am setting up a DVWA on a Linux VM in Google Cloud. When I click Create/Reset Database, one line that appears to have issues is PHP function allow_url_include: Disabled. I’ve tried enabling it in the php.ini file inside the cloned dvwa repo, as well as /etc/php/7.3/fpm/ and /etc/php/7.3/cli/ directories but alas, even after running sudo service nginx restart and

Laravel 8 (PHP) & Google Cloud Speech API: Streaming calls are not supported while using the REST transport.)

Wassup Guys, I’ve managed to install the Google Cloud Speech Api and use my .json file as credentials for the speech client. Now I’m getting the “Streaming calls are not supported while using the REST transport.” error. Did I miss something? Below is the method of my controller. AudioController.php Answer Make sure gRPC for PHP is installed and enabled. Check

How do I use the Google Cloud APIs (directly or using the GCP PHP Client SDK) to List, Add, and Remove Users from a GCP project programmatically?

A brief summary: I have a PHP web application which uses the Google Cloud PHP Client SDK to integrate with Dialogflow. That’s working no problem. I have a need now to let my users access the GCP Dialogflow dashboard directly, and part of that means that they need to be able to add/remove the Dialogflow permissions to users from within

Running PHP locally with Ubuntu

I am using Ubuntu 18.04 on Google Cloud Platform and I’m trying to run a test file called login.php. The path is /var/www/login.php. Whenever I try running it, I use sudo php -f /var/www/login.php then check http://localhost/var/www/login.php on my web browser. However, my web browser returns with This site can’t be reached, localhost refused to connect. I have looked everywhere

Advertisement