简体   繁体   English

使用带有500服务器错误的用户界面,Drupal 7模块更新失败

[英]Drupal 7 Module Updates fail using the User Interface with a 500 server error

I have a Drupal 7.15 site we are testing out, and when I provisioned everything I was able to use the module updater/installer through the web admin interface with no issues. 我有一个正在测试的Drupal 7.15站点,提供所有内容后,我可以通过Web管理员界面使用模块更新程序/安装程序而没有任何问题。 Now I seem to get a 500 ISE every time I try to install or update a module (either through link or direct upload). 现在,每次尝试安装或更新模块(通过链接或直接上载)时,我似乎都会得到500 ISE。

I do not see anything helpful in the system log or in apache's error log. 我在系统日志或apache的错误日志中看不到任何有用的信息。

I can see when I provide a URL or file, the Drupal server does grab it, puts it in /tmp/update-cache/ as it should (I have Drupal config'ed to use /tmp in File System->Temporary Directory), and it extracts the tar.gz to /tmp/update-extraction/ 我可以看到,当我提供URL或文件时,Drupal服务器会抓取它,并将它按需要放置在/ tmp / update-cache /中(我在文件系统->临时目录中将Drupal配置为使用/ tmp) ,并将tar.gz提取到/ tmp / update-extraction /

The files never get moved over to sites/all/modules. 文件永远不会移到站点/所有/模块。 Permissions are 权限是

drwxrwxr-x 27 apache webeditors 4096 Sep 12 09:43 modules drwxrwxr-x 27个Apache Webeditors 4096 Sep 12 09:43模块

apache is a member of webeditors. apache是​​webeditors的成员。

Any help is appreciated! 任何帮助表示赞赏!

Propably you need to increase thr PHP Memory The quick way: 可能您需要增加php内存的快速方法:

add ini_set('memory_limit','256M'); 添加ini_set('memory_limit','256M'); to your settings.php 到您的settings.php

Universal way: edit this limit in your php.ini. 通用方式:在php.ini中编辑此限制。 by finding 通过寻找

php_value memory_limit 32M and changing to appropriate limit php_value memory_limit 32M并更改为适当的限制

To find php.ini location run a phpinfo(); 要找到php.ini的位置,请运行phpinfo();

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM