Forum Moderators: coopster
I am running the same as mikejson except for
MySql, im running 5.x
So after reading the thread, i found out i wasn't editing the right php.ini either...
i too had C:\WINDOWS showing with phpInfo()
and by that time, whenever using mysql_connect
i was getting the error output.
Once i got my php.ini file to be recognize..
(dumb, i had followed the same tutorial and put C:\PHP)
--PAUSE--
ALRIIIIIIIIIIIIIGHT, i solve my problem...
i figured i would post it anyway if it can help someone...
so turning it back on to debug,
i got the FATAL ERROR again.
at least i had control over my php configuration file.
I found in php.ini:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "./"
Since "./" had my apache server to fail starting,
I decided and try it out and specify the exact path too
so i changed it to "X:\pathToPHP\ext"
and TADAAAAAm it worked!
i dunno what's up with this ./ not working,
i solved it, but not sure about how or why exactly.
phpInfo() shows the correct environment variable path,
why woudlnt it look there if it doesnt find it where i specify or if ./ doesnt not exist ( if it cant understand the meaning of it)
anyway, i hope it can help someone...
and also that someone understand the exact cause of it
and explain it to me :)
By using "./", you basically said that the modules reside in C: and not in C:\PHP or whatever you have it named. So the error was just in your location. "X:\pathToPHP\ext" is not the same as "./" in this case.
eelix