View Single Post
  #4  
Old 23rd October 2007, 16:04
rjamesd rjamesd is offline
Member
 
Join Date: Aug 2007
Posts: 35
Thanks: 3
Thanked 4 Times in 3 Posts
Thumbs down Thanks BUT It doesn't work. Still get same error.

Quote:
Originally Posted by falko
You can add the line
Code:
extension=mysql.so
to your php.ini (should be /etc/php5/apache2/php.ini or something like that) and restart Apache.
Thanks BUT It doesn't work. Still get same error.

mysql.so is a file and your solution doesn't precede the mysql.so with a path for the file so it assumes that PHP will know where to look for this file, apart from the current working directory that the php.ini is in.

On my set up, doing a find from the root / directory, find . -name mysql.so
Gives:
./usr/lib/php5/20060613+lfs/mysql.so
./usr/lib/perl5/auto/DBD/mysql/mysql.so

Neither of these seem to apply to my setup because info.php tells me I'm running PHP Version 4.4.4-8+etch4 (i.e. not PHP5)
and the php.ini file is: /etc/php4/apache2/php.ini

As I have done in other posts - when or if I find a solution to my own problem I will post it here.
Reply With Quote