diff --git a/examples/php-zip/README.md b/examples/php-zip/README.md index 0c53ac9b..5151a75e 100644 --- a/examples/php-zip/README.md +++ b/examples/php-zip/README.md @@ -23,4 +23,4 @@ When the deployment completes, take note of URL's Value. It is the API Gateway e ### Verify it works -Open URL's URL in a browser, you should see `phpinfo()` on the page. +Open URL's URL in a browser, you should see `Hello, World!` on the page. diff --git a/examples/php-zip/app/public/index.php b/examples/php-zip/app/public/index.php index 29007318..10f8a33c 100644 --- a/examples/php-zip/app/public/index.php +++ b/examples/php-zip/app/public/index.php @@ -2,4 +2,6 @@ require __DIR__ . '/../vendor/autoload.php'; -phpinfo(); +header('Content-Type: text/plain'); + +echo "Hello, World!"; diff --git a/examples/php/app/public/index.php b/examples/php/app/public/index.php index 29007318..10f8a33c 100644 --- a/examples/php/app/public/index.php +++ b/examples/php/app/public/index.php @@ -2,4 +2,6 @@ require __DIR__ . '/../vendor/autoload.php'; -phpinfo(); +header('Content-Type: text/plain'); + +echo "Hello, World!";