Ubuntu apt-get update GPG error

Ubuntu apt-get update error :
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://storage.googleapis.com/bazel-apt stable InRelease: The following signatures were invalid: KEYEXPIRED 1527185977 KEYEXPIRED 1527185977 KEYEXPIRED 1527185977 W: Failed to fetch http://storage.googleapis.com/bazel-apt/dists/stable/InRelease The following signatures were invalid: KEYEXPIRED 1527185977 KEYEXPIRED 1527185977 KEYEXPIRED 1527185977 W: Some index files failed to download. They have been ignored, or old ones used instead.

curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
# Followed by sudo apt-get update

Amazon S3 Bucket Config (Bucket Policy)

{ "Version": "2012-10-17", "Statement": [ { "Sid": "AddPerm", "Effect": "Allow", "Principal": "*", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::(address)/*" } ] }

for example: hello_world.s3.amazonaws.com

Oracle Virtualbox Setup Share Folder

sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) name /mnt/{name}

Link node command to nodejs

ln -s /usr/bin/nodejs /usr/bin/node

Apache2 Prefork Config

Apache2 based server using prefork threads . Change setting for best performance

<IfModule mpm_prefork_module> ServerLimit 1024 StartServers 1024 MinSpareServers 256 MaxSpareServers 256 MaxRequestWorkers 1024 MaxConnectionsPerChild 0 </IfModule>

Show All PHP Errors

show all php error inside php code

ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL);