Drush has Error on windows
来源:互联网 发布:图论及其算法 编辑:程序博客网 时间:2024/05/18 02:17
安装很成功,按https://www.drupal.org/node/594744这里的介绍安装的。
Here are the complete steps you need to take:
- Install Cygwin
- Install ncurses package. You need to select ncurses manually in cygwin setup. If you miss to install this you will get an error message that tput is missing.
- Install Git package
- Install bsdtar package or you cannot restore archives and get errors likeUnable to untar and Unable to extract site archive tarball.
- Install Curl package or you cannot disable modules.
- Now install Composer for Windows globally.
- Install Drush the common way. e.g. Drush 7.x (stable):
composer global require drush/drush:7.*
NOTE: Drush cannot run with GnuWin32 as it has no sh.exe support.
但后面使用Drush时报错:
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: Call to undefined function ctype_alnum() in
/cygdrive/c/Users/ewendeng/AppData/Roaming/Composer/vendor/drush/drush/includes/command.inc
PHP Fatal error: Call to undefined function ctype_alnum() in /cygdrive/Composer/vendor/drush/drush/includes/command.inc on line 921
晕了,也找了百度,真什么都没有。后面找Google,也太妈的什么都没有呀,只有一个跟我类似的问题的,但没有人回答他的。
http://codegur.com/33388791/call-to-undefined-function-ctype-alnum-on-win-7-with-php-v5-5-12
再他的页面中提到官网上还有另一个安装说明:
https://www.drupal.org/node/1432756
不说了,再去看看重做一次去。
安装Cygwin的时候安装好的Lib就成功了。
- Drush has Error on windows
- An error has occurred on Android Device Monitor
- windows命令行安装Drupal7(包括drush安装与配置)
- [Fixed] Whoa! Google Chrome has Crashed error in Windows®
- Drush 命令
- drush 学习
- Drush Commands
- Error with pscp on Windows: "Cannot create file"
- Error (0xc0000225) installing Windows 7 on VirtualBox
- Error 2503 and 2502 when installing/uninstalling on Windows 8
- Windows Azure - error 500 on creating new Mobile Service
- “/dev/kvm not found ”error on windows in android studio
- Error: PyInstaller for Python 2.6+ on Windows needs pywin32.
- Database startup hangs on Windows when machine has more than 64 cores
- mountall:Filesystem has error
- 启动 Microsoft Windows Media Player 时,收到“An internal application error has occurred”错误信息的解决方法
- Vbox 安装 windows Server 2008 R2 报错 Info: An unexpected error has occurred 解决方法
- Vbox 安装 windows Server 2008 R2 报错 Info: An unexpected error has occurred 解决方法
- vMware存储:SAN配置基础
- matlab-高数 3.1415926的表达
- STL之容器适配器
- matlab-高数 反、双曲、正、余弦、正切函数
- 【leetcode】58. Length of Last Word
- Drush has Error on windows
- 51nod 1019 逆序数<STL vector>
- 指针间接赋值的意义
- 安卓开发之自定义View通过Drawable绘制图标
- 【初探】排序算法
- UISearchBar
- CMake学习笔记(1)——用CMake编译一个hello world程序
- git学习笔记--时光穿梭机
- 维修道路 题解