|
Posted by deko on 06/07/07 03:50
>> 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.
Great! Thanks for the tip. I've been trying to build a Debian LAMP server with
Samba and phpMyAdmin. I think I've got everything completed except the PHP
configuration. Apparently, PHP5 does not come with Debian Etch by default, and
PHP does not come with MySql support by default.
Debian is great, but all the install/configure tasks are not well documented as
much is distro-specific. But I did get Apache and Samba working. MySql appears
to be installed by default.
Navigation:
[Reply to this message]
|