Apache lässt PHP Datein herunterladen statt sie auszuführen

Nach dem ich einen Server mit Debian 7 64 Bit und neustes Webmin + Virtualmin eingerichtet habe, habe ich Probleme mit Apache und PHP Dateien. Apache lässt PHP Dateien herunterladen.

Webmin version 1.660
Virtualmin version 4.02.gpl GPL

#uname
Linux myserver 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 x86_64 GNU/Linux

Im Moment bin ich gezwungen PHP-Scripts in mod_php auszuführen, welche Sicherheitsrisiko darstellt.

PHP script execution mode :

Apache mod_php (run as Apache's user)
CGI wrapper (run as virtual server owner)
FCGId (run as virtual server owner)

Auf Lösungvorschläge würde mich freuen.

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Profile picture for user Guest
Permanenter Link

Ein lösung ist:

Gehe zu: Webmin >> eine Virtualserver >> PHP

 

PHP Admin Configuration Values : Engine Off

Hier Diesen Eintrag komplett löschen.  Warum es so ist, wo Konflikte gibt weiss ich auch nicht.

 

Profile picture for user Guest
Permanenter Link

Das ist tatsächlich unter Webmin >> Apache Webserver  >> PHP.

 

Ich dachte man hat ausversehentlich Webmin statt Virtualmin geschrieben.

 

Suche

Neueste Kommentare

  • 2 weeks 3 days ago
    How to Renew Let’s Encrypt SSL Certificate on Plesk via Ubuntu Shell

    Let’s Encrypt will only accept a wildcard via DNS challenge. 

    If your Plesk instance can’t create the _acme-challenge.example.com TXT (external DNS), the extension can’t complete validation and will show no success. 

  • 3 weeks 3 days ago
    Warning: Undefined array key "url" in Drupal\Core\Asset\CssCollectionOptimizerLazy->optimizeGroup()
    Warning: Undefined array key "url" in Drupal\Core\Asset\JsCollectionOptimizerLazy->optimizeGroup() 
  • 3 weeks 6 days ago
    Server install & config : Debian 12 + Plesk + Apache + nginx + MariaDB + Solr
    sudo timedatectl set-timezone Europe/Berlin
  • 1 month ago
    Warning: PHP Startup: Unable to load dynamic library 'apcu.so' ... cannot open shared object file: No such file or directory

    Try this:

  • 1 month 2 weeks ago
    List Cronjobs for all users (via for + crontab)

    Alternative (without warnings like "no crontab for dovecot") to see all tasks:

  • 1 month 2 weeks ago
    Install APCu (PHP 8.1, Plesk)

    php 8.3 apcu failed

    über Plesk hat es geklappt.

     

  • 1 month 2 weeks ago
    Install APCu (PHP 8.1, Plesk)

     

    install:

    # sudo apt install php-dev
    
  • 1 month 2 weeks ago
    pecl install apcu : phpize: not found / ERROR: `phpize' failed

    phpize

    # sudo apt install php-dev
    

     

    details

  • 1 month 2 weeks ago
    Install APCu (PHP 8.1, Plesk)

    Problem:

  • 3 months ago
    Install APCu (PHP 8.1, Plesk)

    Problem: