Lesson2 drupal7入门,drupal后台密码取回,httdp.conf伪静态,php.ini,phpmyadmin的介绍和配置

日期:2013-12-07 阅读:12297

dmandwp系统 - wordpress系统和DM系统区块建站>>

本课内容:

关于伪静态:
Use URLs like   example.com/user/aa
instead of     example.com/?q=user&sfasd

httpd.conf
LoadModule rewrite_module modules/mod_rewrite.so
找<Directory
Options -Indexes FollowSymLinks    //index前加一横,这样就禁止目录浏览了
 AllowOverride All
DirectoryIndex index.html index.html.var
-------------

php.ini
extension=php_pdo.dll ---开启这个扩展,就是把前面的分号去掉就可以了。
---------
file_uploads = On must be set to "On"
upload_max_filesize = 24M   can't be larger than post_max_size
post_max_size = 24M limits the size of input submitted to the website (including attached files)

max_input_time = 300 small values may cause timeouts for large file uploads
memory_limit = 64M small values may cause out of memory errors for large file uploads
max_execution_time = 180 small values may cause timeouts for large file uploads
============

phpmyqdmin
/libraries/config.default.php
$cfg['ExecTimeLimit'] = 900;
$cfg['LoginCookieValidity'] = 14400000;
cfg['Servers'][$i]['AllowNoPassword'] = false;
-------------
后台密码找回:

可以添加一个用户,得到一个密码
admin 的加密是 : 

$S$DWFcaSn1MP3c/K43oxB8O3CPL5HDM.4Br5g7UCAorhp2txVXhQC3

如果密码锁住了,要清空flood表。是清空,可不是删除。

Drupal错误报告:
https://drupal.org/SA-CORE-2013-003
C:/WINDOWS/Temp 下编辑 .htaccess 

-----------------

 

xampp:

windows XP下XAMPP不能运行Apache  

是缺少VC9运行时库(Microsoft Visual C++ 2008 Redistributable Package (x86) )vcredist_x86.exe,下载安装即可。下载地址:http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF

 

 

<<点击返回

Drupal7视频教程 Drupal7主题 Drupal7最新文档 Drupal7推荐文档
  • 暂无内容!
  • 暂无内容!