title: MAMP Localhost not working (Error 500) - LWT
body: <p>I am trying to run <a href="http://lwt.sourceforge.net/#installmac" rel="nofollow">LWT</a> on my mac and have installed MAMP for this. I have followed <a href="http://lwt.sourceforge.net/#installmac" rel="nofollow">these instructions</a>, but when I try to go to <code>http://localhost:8888/lwt/</code> I am getting:</p>
  
  <blockquote>
    <p>The localhost page isn’t working</p>
    
    <p>localhost is currently unable to handle this request. </p>
    
    <p>500</p>
  </blockquote>
  
  <p>I have created a different folder in my htdocs folder and created a php file in it (index.php), with some code to see if php is working:</p>
  
  <pre><code>&lt;?php
  echo "this is the start";
  phpinfo();
  echo "&lt;br&gt;this is the end";
  ?&gt;
  </code></pre>
  
  <p>That is all fine and works. I have also checked the user-rights for the lwt folder, but it seems fine too (Admins &amp; Me are Read&amp;Write, Others are ReadOnly). Typing <code>tail -f /Applications/MAMP/logs/php_error.log</code> into the terminal gives me the following error log:</p>
  
  <pre><code>PHP Fatal error:  Uncaught Error: Call to undefined function mysql_connect() in /Applications/MAMP/htdocs/lwt/utilities.inc.php:3272
  Stack trace:
  #0 /Applications/MAMP/htdocs/lwt/index.php(46): require_once()
  #1 {main}
    thrown in /Applications/MAMP/htdocs/lwt/utilities.inc.php on line 3272
  </code></pre>
  
  <p>I am a beginner though, so I don't know what else the problem could be. Any ideas?</p>