I have a strange issue on my Bitnami installation. I have a php function that save a log to a file. If I run it from the browser it creates a log file and create a first record but then when function run again to add to a log it just not doing it, so it doesnt work if log file already exist.
If I run the script from the ssh console ( php /opt/bitnami/apache2/htdocs/script.php ) I get " PHP Warning: fopen(/opt/bitnami/apache2/htdocs/log.log): failed to open stream: No such file or directory in /opt/bitnami/apache2/htdocs/script.php on line 18" .
All the permissins are default.
Any ideas where I am going wrong?