I am developing a website where users can input the text and click a button to hear it as audio. I have decided to use google cloud text to speech(TTS) api. All the documentation that I could find online shows how to use google TTS in a local computer by installing the google cloud library. I dont know how to
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
GAE PHP 7 403 FORBIDDEN error while got URL to upload file
I got some problem while managing migration from PHP5 to PHP7. Actually, what I was doing with php5, to get an URL where upload a file, was something like this: I’ve uploaded the library and now I’m trying to use GoogleCloudStorageStorageClient I’ve converted the code above to something like this: I got a 403 FORBIDDEN error Some suggestions? In the
Using Gmail Api with Laravel PHP to read all gmail inbox on website and then respond to a particular email
I want to access my gmail inbox list in laravel php using Gmail API.I can do it on the console using PHP but it is difficult to find the sources to run the code on website using Laravel Framework. Note that I don’t want to send the email to the recipient but wanted to fetch my whole inbox list of
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
GCP error reporting stacktrace sample is not detected
I’m currently trying to implement the GCP error reporting for a Symfony project (PHP) in order to report any errors especially the stack trace of the application. The implementation is done by using …
Google Cloud Storage bucket->exists gives 403
I am trying to check if a bucket exists in Laravel PHP. I am getting a 403 on the exists() method. Why? See line 160 https://github.com/googleapis/google-cloud-php/blob/master/Storage/src/Bucket.php …
How do I upgrade from PHP 7.0 to 7.3 on google cloud platform?
I am running the Wordpress multisite click to deploy on the compute engine. Operating system Debian 9.8 Package contents Apache 2.4.25 Google-Fluentd 1.6.9 MySQL-Client …