Hey,
Can you help me to fix this Problem?
I want open this path with fopen: /var/log/mysql/error.log
but everytime i try this i become this error:
Code
- Warning: fopen(): open_basedir restriction in effect. File(/var/log/mysql/error.log) is not within the allowed path(s): (/var/www/virtual/rostiger-elch.de/:/usr/share/php/:/dev/random:/dev/urandom) in /var/www/virtual/rostiger-elch.de/htdocs/slogs.php on line 29
- Warning: fopen(/var/log/mysql/error.log): failed to open stream: Operation not permitted in /var/www/virtual/rostiger-elch.de/htdocs/slogs.php on line 29
- Warning: fgets() expects parameter 1 to be resource, boolean given in /var/www/virtual/rostiger-elch.de/htdocs/slogs.php on line 31
- Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/virtual/rostiger-elch.de/htdocs/slogs.php on line 35
I have acticated that every domain have a own php.ini file.
Please Answer in English or German