Thanks for your reply, this worked to have this green check icon but:
1. I removed the extra php settings everything else was set to standard
2. I could run the optimization.
3. After the optimisation the open_basedir setting of php was =""
4. I re-applied open_basedir setting of the domain
5...