I have observed the following messages in my apache2 error_log on Fedora 3
after an update:
ERROR_LOG
++++++++++++++++++++++++++++++++++++++++++++++++++
[Wed Feb 16 18:08:08 2005] [notice] caught SIGTERM, shutting down
Could not find platform independent libraries <prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
PHP Warning: Unknown(): Unable to load dynamic library
'/usr/lib/php4/imap.so' - /usr/lib/php4/imap.so: undefined symbol: pam_end
in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library
'/usr/lib/php4/ldap.so' - libldap.so.2: cannot open shared object file: No
such file or directory in Unknown on line 0
[Wed Feb 16 18:08:22 2005] [notice] core dump file size limit raised to
4294967295 bytes
[Wed Feb 16 18:08:23 2005] [notice] suEXEC mechanism enabled
(wrapper: /usr/sbin/suexec)
[Wed Feb 16 18:08:24 2005] [notice] Digest: generating secret for digest
authentication ...
[Wed Feb 16 18:08:24 2005] [notice] Digest: done
[Wed Feb 16 18:08:24 2005] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Wed Feb 16 18:08:24 2005] [notice] LDAP: SSL support unavailable
[Wed Feb 16 18:08:25 2005] [notice] Apache/2.0.52 (Fedora) configured --
resuming normal operations
++++++++++++++++++++++++++++++++++++++++++++++++++
I have found the php libs in the /usr/lib/php4 dir.
rpm -qa php produces:
php-mysql-4.3.10-3.2
php-pear-4.3.10-3.2
php-4.3.10-3.2
rpm -qa python produces:
gnome-python2-canvas-2.6.0-3
libxml2-python-2.6.16-3
rpm-python-4.3.2-21
dbus-python-0.22-10.FC3.2
python-2.3.4-13.1
gnome-python2-gtkhtml2-2.6.0-3
gnome-python2-bonobo-2.6.0-3
gnome-python2-2.6.0-3
I do not know why the php libs imap.so and libldap.so or mod_python libs are
no longer compatible with apache2. I have not knowingly made changes to the
apache2 conf file or modules.
While searching for answers, I ran across a discussion where a solution
offered for php4 was to install libapache2-mod-php4. In search for
libapache2-mod-php4, I found only debian instructions.
So, before I enter into RPM hell or worse, I thought I better ask if someone
knows an easy solution first.
What should I do to troubleshoot this problem?
Thanks
>> Stay informed about: PYTHON and PHP Errors