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.
|
|