title: php executing differently on browser or command line
body: <p>Good morning guys,
  I just built a CentOS server with php 7.0.13 and apache 2.2 and the strangest thing is happening when testing it.
  I had a curl script that works perfectly well through the command line but not when invoked through the browser, after investigating a bit, I realized that I can also not write to files if I do it through the browser, but I have no problem whatsoever doing it through the command line.</p>
  
  <p>I assumed that the problem would be on two different php.ini files, but after verifying the phpinfo I realized that both the CL and the browser are loading the same, and all extensions seem to be loading correctly as well, by using get_current_user() I can also verify that the same user is executing both. I would assume the problem would be in apache, but I have no clue as to what could be causing it.</p>
  
  <p>Can someone point out to possible avenues to solve the issue? I have no idea what to do from this point onwards.</p>