Php 如何在Tomcat中将Codeigniter服务器上载到本地主机?

Php 如何在Tomcat中将Codeigniter服务器上载到本地主机?,php,codeigniter,Php,Codeigniter,试图将CodeIgniter服务器上载到本地主机 下面是进行设置的部分 application/config/config.php $config['index_page'] = 'index.php'; $config['base_url'] = 'http://localhost:8080/ci/'; application/config/database.php: $db['default'] = array( 'dsn' => '', 'hostname' =

试图将CodeIgniter服务器上载到本地主机

下面是进行设置的部分

application/config/config.php

$config['index_page'] = 'index.php';
$config['base_url'] = 'http://localhost:8080/ci/';
application/config/database.php:

$db['default'] = array(
    'dsn'   => '',
    'hostname' => 'localhost',
    'username' => 'root',
    'password' => 'mysql',
    'database' => 'mysql',
    'dbdriver' => 'mysqli',
    'dbprefix' => '',
    'pconnect' => FALSE,
    'db_debug' => (ENVIRONMENT !== 'production'),
    'cache_on' => FALSE,
    'cachedir' => '',
    'char_set' => 'utf8',
    'dbcollat' => 'utf8_general_ci',
    'swap_pre' => '',
    'port' => '8080',
    'encrypt' => FALSE,
    'compress' => FALSE,
    'stricton' => FALSE,
    'failover' => array(),
    'save_queries' => TRUE
);


我不确定安装过程中出了什么问题。如果您有与我相同的错误,或者有人解决了这些问题,请给我一些建议。

您的本地主机工作正常吗?如何检查?只需输入我在您的浏览器上提供的url即可。我尝试过,但无法连接到该网站。我不使用xampp之类的工具