I guess this is a server configuration issue, so I'm posting this here.
I was using XAMPP before, but I wanted to set up PHP/MySQL/Apache by myself, so I uninstalled XAMPP and did so.
I installed PHP 5.3 (Alpha 1), MySQL 6.0 Alpha, and Apache 2.2. (Perhaps I shouldn't work with these beta/alpha releases?)
Now everything seems to be working fine, as long as I don't call
mysql_real_escape_string().
MySQL is installed correctly and it's working, just except this one function. (I've established a database connection, using the right username and password).
... this gives me "Is callable". But as soon as I actually call it, Apache crashes.
This is the MySQL section of my PHP Info:
I have no idea where to even start searching for the error, so any ideas would be appreciated.