duanrebo3559 2014-07-29 09:06
浏览 24

DeinServerläuftmitder PHP-Version 4.4.9,aber WordPress3.9.1benötigtmindestensdie 5.2.4 [关闭]

The php version for the wordpress installation is wrong on the server (web.de). At the provider (web.de) i can't find any possibility to change the php version.

  • 写回答

1条回答 默认 最新

  • drnrxv9383 2014-07-29 09:19
    关注

    Your problem is that by default, web.de uses PHP4 to interpret .php files. PHP5 is installed, you can try by adding three files:

    • test.php5 with content <?php phpinfo() ?>
    • test.php4 with content <?php phpinfo() ?>
    • test.php with content <?php phpinfo() ?>

    Calling them all from your browser, you will find out that .php and .php4 are interpreted using php 4, while .php5 is interpreted using php 5!

    You can change this behaviour by adding a .htaccess file to your wordpress directory with the following content:

    Type application/x-httpd-php5 .php
    
    评论

报告相同问题?

悬赏问题

  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 LiBeAs的带隙等于0.997eV,计算阴离子的N和P
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 来真人,不要ai!matlab有关常微分方程的问题求解决,
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算