geerlingguy / ansible-role-phpmyadmin

DEPRECATED Ansible Role - phpMyAdmin
https://galaxy.ansible.com/geerlingguy/phpmyadmin/
MIT License
42 stars 40 forks source link

php code not executed #20

Closed mmhdbw closed 2 years ago

mmhdbw commented 2 years ago

Hi, I use the following playbook

---
- name: Setup container
  hosts: mysql-server-test
  become: true
  pre_tasks:
    - name: Update apt cache.
      apt: 
        update_cache: true
        cache_valid_time: 600
  roles:
    - role: geerlingguy.apache
    - role: geerlingguy.mysql
    - role: geerlingguy.php
    - role: geerlingguy.php-mysql
    - role: geerlingguy.phpmyadmin

to provision my fresh Ubuntu 20.04.4 instance. Provisioning shows no errors, MySQL seems to work properly, Apache as a webserver for html pages works properly. But when I try to open path /phpadmin on my server, PHP code is just shown but not executed. Same of course for simple phpinfo-scripts.

Here are my role versions:

I use ansible core 2.12.3.

Although I tried various suggestions found I cannot make it work. Thanks a lot for any advice.

Regards, Max.

stale[bot] commented 2 years ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] commented 2 years ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.