由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Thoughts版 - 撞墙。。。装 drupal 中
相关主题
对这个版的几点观察Clean URL, any guru know?
Re: 中国的媒体相当可恶...有谁在用WAMP+DRUPAL么?
回忆一则同学口音变异的怪事纪实问appSettings
咋激活 Acrabat comment 啊?请马工推荐设计个人主页的软件/网站
Re: great thinkers on net怎样水平才够找工作???
Immunosociology --- An Initiativequestion about open source software
大家对这个帖子什么看法 (转载)寻求做网站的公司或个人
撞墙。。。装 drupal 中 (转载)angular实际项目有啥可操性?
相关话题的讨论汇总
话题: drupal话题: php话题: root话题: 内容
进入Thoughts版参与讨论
1 (共1页)
l***y
发帖数: 4671
1
设了个 WAMP,装 drupal 时,为啥每次地址栏都自动变成: http://my.web.site/install.php
然后内容是 install.php 的内容涅?貌似 index.php 被执行了,但 install.php 出问题了?为啥 drupal 的安装界面不出现涅?。。。
在 httpd.conf 里俺设了:

DirectoryIndex index.html index.php

在 .htaccess 里是 drupal 自己设的
# Set the default handler.
DirectoryIndex index.php index.html index.htm
版本是:drupal 7.10, apache 2.2, php 5.3 VC 9, mySQL 5.2, Windows XP
x******n
发帖数: 9057
2
你是说内容是index.php的内容?
google吧,这种东西google上最多了。

【在 l***y 的大作中提到】
: 设了个 WAMP,装 drupal 时,为啥每次地址栏都自动变成: http://my.web.site/install.php
: 然后内容是 install.php 的内容涅?貌似 index.php 被执行了,但 install.php 出问题了?为啥 drupal 的安装界面不出现涅?。。。
: 在 httpd.conf 里俺设了:
:
: DirectoryIndex index.html index.php
:

: 在 .htaccess 里是 drupal 自己设的
: # Set the default handler.
: DirectoryIndex index.php index.html index.htm
: 版本是:drupal 7.10, apache 2.2, php 5.3 VC 9, mySQL 5.2, Windows XP

l***y
发帖数: 4671
3
不是,是 install.php 的内容。所以我觉得 index.php 已经被执行了。
昨天 google 了几个小时了,已经。。。
index.php 的内容是:
/**
* @file
* The PHP page that serves all page requests on a Drupal installation.
*
* The routines here dispatch control to the appropriate handler, which then
* prints the appropriate page.
*
* All Drupal code is released under the GNU General Public License.
* See COPYRIGHT.txt and LICENSE.txt.
*/
/**
* Root directory of Drupal installation.
*/
define('DRUPAL_ROOT', getcwd());
require_once DRUPAL_ROOT . '/includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
menu_execute_active_handler();
而 install.php 的内容是:
/**
* @file
* Initiates a browser-based installation of Drupal.
*/
/**
* Root directory of Drupal installation.
*/
define('DRUPAL_ROOT', getcwd());
/**
* Global flag to indicate that site is in installation mode.
*/
define('MAINTENANCE_MODE', 'install');
// Exit early if running an incompatible PHP version to avoid fatal errors.
if (version_compare(PHP_VERSION, '5.2.4') < 0) {
print 'Your PHP installation is too old. Drupal requires at least PHP 5.2.
4. See the http://drupal.org/requirements">system requirements page for more information.';
exit;
}
// Start the installer.
require_once DRUPAL_ROOT . '/includes/install.core.inc';
install_drupal();

【在 x******n 的大作中提到】
: 你是说内容是index.php的内容?
: google吧,这种东西google上最多了。

l***y
发帖数: 4671
4
nnd,今天突然就好了。。。没做任何改动。。。

then

【在 l***y 的大作中提到】
: 不是,是 install.php 的内容。所以我觉得 index.php 已经被执行了。
: 昨天 google 了几个小时了,已经。。。
: index.php 的内容是:
: : /**
: * @file
: * The PHP page that serves all page requests on a Drupal installation.
: *
: * The routines here dispatch control to the appropriate handler, which then
: * prints the appropriate page.

1 (共1页)
进入Thoughts版参与讨论
相关主题
angular实际项目有啥可操性?Re: great thinkers on net
GCJ2009Immunosociology --- An Initiative
gsl的这帮人太不负责了大家对这个帖子什么看法 (转载)
北美这边的教会学校怎么样..撞墙。。。装 drupal 中 (转载)
对这个版的几点观察Clean URL, any guru know?
Re: 中国的媒体相当可恶...有谁在用WAMP+DRUPAL么?
回忆一则同学口音变异的怪事纪实问appSettings
咋激活 Acrabat comment 啊?请马工推荐设计个人主页的软件/网站
相关话题的讨论汇总
话题: drupal话题: php话题: root话题: 内容