CodeIgniter Forums
Ci wont run with apache 2.2.11 and php 5.2.8 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Ci wont run with apache 2.2.11 and php 5.2.8 (/showthread.php?tid=16224)



Ci wont run with apache 2.2.11 and php 5.2.8 - El Forum - 02-28-2009

[eluser]MenteriPertahanan[/eluser]
Hi there,
usually i run my ci using xampp on local. But i'm trying to use separate installer. I install apache 2.2.11 and php 5.2.8. At the httpd.conf i modify some of the script like
- unmark the servername to localhost:80
- add addtype x-httpd-php .php
- unmark the mod_rewrite
- allowmodified to all for mod_rewrite
- copy the php.ini to c:\system
and it runs, but if i use any of the class like database it just went blank white. Anybody got any clue?


Ci wont run with apache 2.2.11 and php 5.2.8 - El Forum - 02-28-2009

[eluser]Shrike67[/eluser]
Hello,
try to look in the errors log


Ci wont run with apache 2.2.11 and php 5.2.8 - El Forum - 02-28-2009

[eluser]CroNiX[/eluser]
Are you loading the php-mysql extension from php.ini? Its not enabled by default. Do a phpinfo(); and see...


Ci wont run with apache 2.2.11 and php 5.2.8 - El Forum - 03-01-2009

[eluser]MenteriPertahanan[/eluser]
Yes i load the mysql module. Because its on the php installer package and all i need is only chose it. Not only the class for the installer. But if run a view class for template it wont work.
Got any more clue? Or if any of you guys happen to run ci not with a webserver like xampp, apache2triad, wom ect. Can u tell me what to be configure.
Thanx in advance


Ci wont run with apache 2.2.11 and php 5.2.8 - El Forum - 03-01-2009

[eluser]Jamie Rumbelow[/eluser]
Well it will run, because that's my setup. Ensure that display_errors is set to On in your php.ini file - you're probably triggering an error and not realizing it.


Ci wont run with apache 2.2.11 and php 5.2.8 - El Forum - 03-01-2009

[eluser]MenteriPertahanan[/eluser]
i use mysql, but i use postgre. but when i open phpinfo() i dont find any postgre information. got any clue?

thanx.