I can see the diagnostics logs in the file, but i can not find any error in all the logs they are mostly giving me the information of the agent configuration and system informations.
I am not sure to which file you are referring - by default Elastic APM PHP Agent logs to syslog. Can you see log lines containing [Elastic APM PHP Tracer] in that log file?
In any case it's worth verifying if your issue is related to open_basedir PHP configuration option.
Do you have open_basedir PHP configuration option set? It's best to get output of phpinfo() in the context of your application handling web requests.
You can either follow steps in "Collection of diagnostic information" section of the agent's online documentation or you can add call to phpinfo() to your application and capture its output.
Please note that executing php -i from the command line is much easier to get PHP configuration but PHP configuration used for command line might be different from the configuration used by PHP to handle web requests. That is why php -i is not suitable for this issue.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.