Yeah I'm writing the file to the same directory as the php script. Which is in my home folder. And I have that folder set as the open_basedir and it's worked fine up until now. As for writing the error it brings me back to an old problem. I can't get any errors. I've made thoroughly sure that I enabled all errors in the php.ini too.
error_reporting
error_reporting E_ERROR E_WARNING E_PARSE
Default Value: E_ALL E_NOTICE E_STRICT E_DEPRECATED
Development Value: E_ALL
Production Value: E_ALL E_DEPRECATED E_STRICT
I've asked the question on other forums as well yet no one can tell me why I can't get errors even with them enabled.
Seems I have two problems now..
EDIT: Seems it works now. Ugh that frustrating moment when your code suddenly works, but you don't know why..
Still never figured out why I can't get errors though.
did you also turn error report on in php.ini ?
think its named php-error
display_errors = On
html_errors = On
error_reporting = E_ALL | E_STRICT
and yeah check the whole file some stuff are there twice
try the
ignore_repeated_errors = On
on also :/
else how did you install the server?
ill usually install everything with
sudo apt-get install tasksel phpmyadmin