title: Does PHP create the directory for the error log if it does not exist?
body: <p>Does PHP create the directory for the error log if it does not exist?</p>
  
  <p>For example, the <code>error_log</code> directive is set to <code>/var/logs/php/errors.log</code> but the folder <code>/var/logs/php</code> does not exist.</p>