Greetings all.

I'm having a problem trying to get started with apache/PHP4/MySql. MySQL won't load with apache, I get this error:

PHP Warning: Unable to load dynamic library '/usr/lib/php4/20010901/mysql.so' - /usr/lib/php4/20010901/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
Processing config directory: /etc/apache/conf.d


I've tried searching around the web for this, but haven't been able to find anything to solve my problem! I've tried several variations in php.ini, if I copy that mysql.so file to the place it's looking for there, I get an error along the lines of 'version must match' or something like that. I've tried doing the apt-get install php4-mysql again to no avail.

Interestingly, if I run my PHP script using the PHP4 command from the console it runs correctly and shows the data from the mysql database!

I'm pretty much a newb here, so any help would be greatly appreciated!

Reply via email to