Hey thanks for all your replies. I had done the system variables procedure you mentioned, but left out the ; before the location of my php directory.
Though, still the same problem, however when I turned on display_startup_errors, I get an error
PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mysql.dll' - the specified module could not be found.
I found the quite confusing considering I went to that directory and the file is indeed there. All files names / folders are matching.
Additionally, I checked and my php ini is the correct one being read, when I do phpinfo() I get
Configuration File (php.ini) Path C:\php\php.ini
So basically I'm unsure why it cannot find a file that is really there.
Thanks again for your helpful replies.
After browsing the net for this problem, I came across a forum suggesting a fix, this goes against what is stated in this forum, so I thought I might check what your opinion was. It states:
"Ok, sorted @ last. Turned out I needed to use an older version of libmysql.dll (the one that bundles with php) and not the one that came with mysql.
For those who need to know... php_mysql.dll -> c:\WINDOWS, libmysql.dll -> c:\WINDOWS\system32, libmysql should be the one that came in the php zip/installer."
Sorry to add to this and make things more complicated, but I just wanted to give all the details. Some people say to list your extensions directory, others say to list your extension directory.
I initially had
extension_dir = "C:\php\ext"
though I tried changing it to
extensions_dir = "C:\php\ext"
This then gave me a interesting error that may be the clue in how to solve this. When attempting to restard apache I get "C:\php5\php_mysql.dll" - the specified module could not be found.
Strangely enough I havent listed my php folder to be php5 anywhere or in any config files.
Hope this helps a bit....?