title: PHP chrome-php / headless-chromium-php
body: <p>Hello I am using <code>the chrome-php</code> &amp; <code>headless-chromium</code> packages for PHP and installed the package, on the web server I get this error:</p>
  <pre><code>Exception: RuntimeException: Cannot read chrome version, make sure you provided the correct chrome executable using: &quot;chrome&quot;. Additional info: sh: 1: exec: chrome: not found
  </code></pre>
  <p>I am using a Mac and have this in my <code>~/.zshrc file</code>:</p>
  <pre><code>alias chrome=&quot;/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome&quot;
  export chrome=/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
  </code></pre>
  <p>and <code>~/.bash_profile</code> file:</p>
  <pre><code>alias chrome=&quot;/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome&quot;
  </code></pre>
  <p>In some of the solutions online relating to this issue its asking me to make Chrome executable which I have</p>