Welcome Guest, Not a member yet? Register   Sign In
Is codeigniter 2.1 PHP 5.4 compatible ?
#1

[eluser]Unknown[/eluser]
Hello! (I'm french so excuse my bad english)

I just wanted to know if last version of codeIgniter is PHP 5.4 compatible ?

Thank you.
#2

[eluser]kaege[/eluser]
So far (July 20th, 2012), don't use PHP 5.4 with CI. I'd used LAPPstack and XAMPP for Linux which shipped with PHP 5.4 and all I got was a blank page >_<
#3

[eluser]Aken[/eluser]
Yes it is.
#4

[eluser]kaege[/eluser]
[quote author="Aken" date="1342761444"]Yes it is.[/quote]

You mean CI is compatible with PHP 5.4? :bug:

If it is, then what's wrong with XAMPP For Linux and LAPPstack?
#5

[eluser]Aken[/eluser]
There's nothing in PHP 5.4 that would break existing CI code.

Blank page usually means a parse or fatal error. Make sure error reporting is turned on in your php.ini
#6

[eluser]kaege[/eluser]
My error_reporting value in php.ini is
Code:
error_reporting = E_ALL | E_STRICT
and I still got blank page. Have you--or perhaps someone else--tried XAMPP for Linux 1.8.0 or LAPPstack?
#7

[eluser]InsiteFX[/eluser]
View the page source and see if you have any strange characters in it. If you do then it is being saved with the BOM. you need to save your files without the BOM.
#8

[eluser]kaege[/eluser]
There's no strange chars in my source code. Simple code like below worked just fine

Code:
&lt;?php
    phpinfo();

// It worked

But when it accessed CI's index.php, It's blank as usual
#9

[eluser]Mirge[/eluser]
Check your error logs...
#10

[eluser]kaege[/eluser]
I set the error_log to 4 and all I got are debugging messages saying this and that component of CodeIgniter was loaded/initialized. No error message whatsoever.
What I yearn for here is a working solution for my problem. Have any of you successfully use CI in XAMPP 1.8 or LAPPstack 5.4.4?




Theme © iAndrew 2016 - Forum software by © MyBB