Essentially,

I recieve this error during my scripts:

Fatal error: Call to undefined function mysql_connect() in /var/www/login/includes/db.php online 10

I've uncommented extension:mysql.so

I have no idea why it is not working, restarted everything aswell.

I'm running on ubuntu 32 bit. Apache/MYSQL is installed with full permissions.

Here's my PHPInfo page:

System  Linux rabbits.org 2.6.18-194.3.1.el5.028stab069.6 #1 SMP Wed May 26 19:05:45 MSD 2010 i686
Build Date  Jan 6 2010 21:40:40
Server API  Apache 2.0 Handler
Virtual Directory Support   disabled
Configuration File (php.ini) Path   /etc/php5/apache2
Loaded Configuration File   /etc/php5/apache2/php.ini
Scan this dir for additional .ini files     /etc/php5/apache2/conf.d
additional .ini files parsed    /etc/php5/apache2/conf.d/pdo.ini
PHP API     20041225
PHP Extension   20060613
Zend Extension  220060519
Debug Build     no
Thread Safety   disabled
Zend Memory Manager     enabled
IPv6 Support    enabled
Registered PHP Streams  zip, php, file, data, http, ftp, compress.bzip2, compress.zlib, https, ftps
Registered Stream Socket Transports     tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
Registered Stream Filters   string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, bzip2.*, zlib.* 

I do not begin to see the mysql extension within the phpinfo() output.

If mysql had been correctly loaded, you'd have experienced something similar to:

additional .ini files parsed    /etc/php5/apache2/conf.d/pdo.ini,
   /etc/php5/apache2/conf.d/mysql.ini

When the mysql.ini (or mysqli.ini) line is not there, it isn't being loaded.