[eluser]jparent[/eluser]
Hi! I was using CI 1.7.2 under XAMPP and I hadn't got any problem with it. Now I'm using apache 2.2.14 with the lastet version of php 5.3.2
Now, when I put in the model that string: $this->load->database('default');
I only recive a blank page. I think is something on my configuration:
I have apache at: C:\apache2.2.14
I have php at C:\php
My httpd-php.conf is at C:\apache2.2.14\conf\extra
and it's content is:
#load the php main library to avoid dll hell
LoadFile "C:\php\php5ts.dll"
#load the sapi so that apache can use php
LoadModule php5_module "C:\php\php5apache2_2.dll
#set the php.ini location so that you don't have to waste time #guessing where it is
PHPIniDir "C:\php"
#Hook the php file extensions
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
#Directory Index
DirectoryIndex index.php
My database.php file at config have that content:
$active_group = "default";
$active_record = TRUE;
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "root";
$db['default']['password'] = "xxxx"; //that's the password (secret)
$db['default']['database'] = "yyyyy"; //that's the name of DB (secret)
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";
I don't touch anything else. All is with default settings. What can be the problem? Thanks!