dimitris Posted July 3, 2011 Report Share Posted July 3, 2011 Hello all! Today I re-installed my localhost and the php version I m running is now 6.0.0-dev. When trying to access my phpvms localhost site an error comes up saying: "You are not running PHP 5+" But I m running 6. Is there a problem or a problem with 6.0.0-dev version ? Regards. Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted July 3, 2011 Moderators Report Share Posted July 3, 2011 Hello all! Today I re-installed my localhost and the php version I m running is now 6.0.0-dev. When trying to access my phpvms localhost site an error comes up saying: "You are not running PHP 5+" But I m running 6. Is there a problem or a problem with 6.0.0-dev version ? Regards. I believe there is a constraint in the code where its looking for version 5.xx Nabeel can point you in the right direction, you man be able to figure it out your self if you have a look at where the file is pointing to. Quote Link to comment Share on other sites More sharing options...
dimitris Posted July 4, 2011 Author Report Share Posted July 4, 2011 Hi mark! I found a couple of lines at codon.config.php $version = phpversion(); if($version[0] != '5') { die('You are not running PHP 5+'); } changing the lines to $version = phpversion(); if($version[0] != '6') { die('You are not running PHP 5+'); } cause a lot of problems and the site is not working... Only errors Thanks Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted July 8, 2011 Administrators Report Share Posted July 8, 2011 What errors are you getting? Quote Link to comment Share on other sites More sharing options...
dimitris Posted July 8, 2011 Author Report Share Posted July 8, 2011 Hi Nabeel I re installed the old and good php5 and everything is fine now! I will install again later tge php6 to post you the errors. As far as i remember there were about 80-100 lines of errors and warning and then the site (style) without any sql data... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.