I've just installed wamp and it gives me this error when I go to localhost.
This is the problematic code:
preg_match('|phpVersion = (.*)\n|',$wampConfFileContents,$result);
$phpVersion = str_replace('"','',$result[1]);
I've dumped the $result array and it's empty, so there's an error trying to access $result[1]. How can I fix this? I'm not sure if removing this stuff will break another stuff.
This is the problematic code:
preg_match('|phpVersion = (.*)\n|',$wampConfFileContents,$result);
$phpVersion = str_replace('"','',$result[1]);
I've dumped the $result array and it's empty, so there's an error trying to access $result[1]. How can I fix this? I'm not sure if removing this stuff will break another stuff.