Skip to content

Better way for PHP version Errors?  #23

@ddavisgraphics

Description

@ddavisgraphics

I didn't realize a dependency was causing PHP to update which in turn affected engineAPI.

Is there a way to set an error that checks to see what version of PHP is installed into engine, and then fire off a warning to specifically wrong php version.

possible to do something like this ??

$currentPHP = phpversion();
$versionNumber = "5.3.3";
if($currentPHP != $versionNumber){
throw new Exception('PHP Version Error - ' .$versionNumber);
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions