安装drupal 7.22时出现的怪现象
来源:互联网 发布:s7-300编程手册 编辑:程序博客网 时间:2024/05/18 09:41
以前安装过,没有任何问题,今天想安装一下最新的drupal 7.22 ,结果安装过程挺诡异,安装数据库时略过,然后到最后一步时就报错.
仔细读了一下系统要求:
PHP from different sources
Drupal is designed to work with PHP as distributed on php.net. Every effort is made to make it work with PHP versions from other sources but this is only done on a best effort basis. In particular, suhosin is known to break certain features and some operating systems move core components into other packages.
Database extensions
The PHP extension for connecting to your chosen database must be installed and enabled. Drupal's currently supported database connectors are: mysql (the original MySQL extension),mysqli (an improved connector for newer MySQL installations), and pgsql (for PostgreSQL). Note: PHP 5.x no longer enables the mysql extension by default. Please read the links above for installing and enabling your chosen connector. Additionally, Drupal 6.x does not provide the option to select the mysql connector if mysqli is enabled in your PHP configuration.
XML extension
PHP XML extension (for Blog API, Drupal, and Ping modules). This extension is enabled by default in a standard PHP installation; the Windows version of PHP has built-in support for this extension. Enabling the XML extension also enables PHP DOM. DOM is now a systems requirement.
Image library
An image library for PHP such as the GD library is needed for image manipulation (resizing user pictures, image and imagecache modules). GD is included with PHP 4.3 and higher and usually enabled by default. ImageMagick is also supported for basic image manipulations in Drupal core but there is much less support from contributed modules.
If you have administrator rights on a Debian/Ubuntu server, and GD is not already available (see your phpinfo) it can usually be installed by running the following command:sudo apt-get install php5-gd
or on Redhat/Centos:sudo yum install php-gd
See the ImageMagick install instructions for your platform if you want that.
Memory requirements
PHP memory requirements can vary significantly depending on the modules in use on your site. Drupal 6 core requires PHP's memory_limit to be at least 16MB. Drupal 7 core requires32MB. Warning messages will be shown if the PHP configuration does not meet these requirements. However, while these values may be sufficient for a default Drupal installation, a production site with a number of commonly used modules enabled (CCK, Views etc.) could require 64 MB or more. Some installations may require much more, especially with media-rich implementations. If you are using a hosting service it is important to verify that your host can provide sufficient memory for the set of modules you are deploying or may deploy in the future. (See the Increase PHP memory limit page in the Troubleshooting FAQ for additional information on modifying the PHP memory limit.)
.htaccess settings
Some of the memory settings are contained in the default .htaccess file that ships with Drupal, so you shouldn't need to set them explicitly. Note, however, that setting PHP configuration options from .htaccess only works under the following conditions:
In some shared hosting environments, access to these settings is restricted. If you cannot make these changes yourself, please ask your hosting provider to adjust them for you.
PHP needs the following configuration directives for Drupal to work (only directives that differ from the default php.ini-dist / php.ini-recommended):
Other interfaces
See the PHP manual for how to change configuration settings for other interfaces to PHP.
xdebug
If using xdebug, ensure that the xdebug.show_exception_trace value is set to 0, or this could cause Drupal's installer to crash.
就差这个xdebug 上.原来Xdebug.show_exception_trace=On,导致安装出错;
最后修改php.ini后,重启apache最成功.
- 安装drupal 7.22时出现的怪现象
- Drupal 空白或者drupal安装时出现空白解决方法
- 三星P1000中出现的怪现象
- 安装drupal与数据库时的问题
- Drupal 的安装
- 初次安装wp8SDK出现设计器出错的现象
- idea出现的怪异现象
- drupal中Fckeditor的安装
- 定制的UIAlertView在显示时出现抖动的现象
- 关于Vector删除末尾末尾元素时出现的怪现象
- Microsoft SQLServer安装出现“挂起”现象解决方法
- 解决打开CHM文件,出现"取消操作“的怪现象
- 解决打开CHM文件,出现"取消操作“的怪现象
- chrome浏览器对iframe出现的怪现象!
- DB2中出现SQL1032N错误现象时的解决办法
- 解决JAVA写mysql时出现中文乱码的现象
- 优化tableView滑动时出现卡的现象
- 优化tableView性能(针对滑动时出现卡的现象)
- Oracle 完全卸载方法
- Android中如何调用照相程序
- 验证邮箱
- mac开启64位内核
- Flask+Nginx+Gunicorn+Redis+Mysql搭建一个小站
- 安装drupal 7.22时出现的怪现象
- 皮二哥,讲究人
- UVa 10905 Children's Game 贪心
- (原创)自编protel99se鼠标增强工具,支持dxp2004
- innerHTML,outerHTML,innerText,outerText 的区别?
- USTCOJ 1324 Zipper 存储计算结果
- 吐槽 Python Web 框架 Flask
- 如何把图片整合到war3的mpq文件中作为登录背景界面
- zoj 3642 Just Another Information Sharing Problem