Hello all,
I've been using Apache/PHP/MySQL on Win32 for sometime now and am now trying to convert over to Linux. I've installed Apache and PHP from the *.deb packages but I can seem to get PHP to talk to MySQL. I know that PHP does work as calling php_info() gives me my configuration info (no mention of MySQL), however all the rest of my documents will not load due to the 'or die' call I use after mysql_connect(). These are the same docs my Windows installation uses so I know there's no problems with the scripts themselves. In addtion if I comment out the mysql calls, the pages load fine.
I've tried placing extension=mysql.so in my php.ini with no luck. The module is in the directory specified in extension_dir (/usr/lib/php4/apache). Any suggestions? If your answer is to grab the latest CVS and recompile, please take pity on a Linux newbie and give me the commands I'll need to accomplish this. Thanks!!!