PHP code example of vundb / ansible-role-php
1. Go to this page and download the library: Download vundb/ansible-role-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
vundb / ansible-role-php example snippets
- hosts: all
roles:
- role: vundb-php
php_version: "7.2"
php_extensions: ["apache2"]