title: How to get Selenium working with PHP/Firefox3 on Linux
body: <p>I am trying to get <a href="http://selenium-rc.openqa.org/tutorial.html" rel="nofollow noreferrer">Selenium RC</a> working with Firefox 3 on Linux with PHP/Apache but am experiencing problems.  Here's what I've done:</p>
  
  <ul>
  <li>I have installed the Firefox Selenium-IDE extension.</li>
  <li>On the web server (which in my case is actually the same machine running Firefox), I've started the Selenium server with: java -jar selenium-server.jar -interactive</li>
  <li>I have a PHP script as follows:</li>
  </ul>
  
  <p>PHP:</p>
  
  <pre><code>require_once 'Testing/Selenium.php';
  
  $browser = new Testing_Selenium("*custom /usr/lib/firefox-3.0.3/firefox", "https://www.example.com");
  $browser-&gt;start();
  </code></pre>
  
  <p>When I run the PHP script, it does launch a new Firefox tab, but <b>I get this error message</b>:</p>
  
  <pre><code>The requested URL /selenium-server/core/RemoteRunner.html was not found on this server.
  </code></pre>
  
  <p>I have had more success with Firefox 2 (by using <code>"*firefox"</code> instead of <code>"*custom"</code> but don't want to use that for my current project.</p>