Posted by Toby A Inkster on 06/05/07 17:29
deko wrote:
> ii libapache-mod-php5 5.2.0-8+etch4
> ii libapache2-mod-php4 4.4.4-8+etch2
> ii php4-common 4.4.4-8+etch2
> ii php5-common 5.2.0-8+etch4
> ii php5-mysql 5.2.0-8+etch4
I've snipped out some of the irrelevant packages. Note you have two copies
of PHP installed -- PHP4 and PHP5. You only have the MySQL extension
installed for PHP5, not PHP4. So if your script is running in a PHP4
environment, then the MySQL functions will not work.
I'd recommend removing php4-common and libapache2-mod-php4, and then
installing libapache2-mod-php5 if such a beast exists. Then try.
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 102 days, 1:11.]
URLs in demiblog
http://tobyinkster.co.uk/blog/2007/05/31/demiblog-urls/
[Back to original message]
|