PHP code example of acdh-oeaw / arche-core

1. Go to this page and download the library: Download acdh-oeaw/arche-core 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/ */

    

acdh-oeaw / arche-core example snippets

bash
  docker exec arche-dev a2dissite mod_php
  docker exec arche-dev a2ensite php_fpm
  docker exec -w /root arche-dev supervisorctl restart apache2
  
bash
  docker exec arche-dev a2dissite php_fpm
  docker exec arche-dev a2ensite mod_php
  docker exec -w /root arche-dev supervisorctl restart apache2