[Intrepid] PHP crashes on startup with '/usr/lib/php5/20060613+lfs/gd.so' and 'mcrypt.so'

Bug #281979 reported by Lasse Havelund
2
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: php5-common

When attempting to start php from the command line in Intrepid, I get the following error message:

[02:00:20] menza@alderaan - ~ $ php
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/mcrypt.so' - /usr/lib/php5/20060613+lfs/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0

This has been tested with versions php5-common php5-common 5.2.6-2ubuntu3 and 5.2.4-2ubuntu5, and the corresponding versions of php5-cli (5.2.6-2ubuntu3 and 5.2.4-2ubuntu5).

Revision history for this message
Adam Sommer (asommer) wrote :

Do you have the php5-gd and php5-mcrypt packages installed? If not, did you have them installed and at some point remove them?

Revision history for this message
Lasse Havelund (lhavelund) wrote :

I'd installed php* from the repositories (in Intrepid), yes. However, I'd removed all these with the --purge flag prior to attempting the packages from Launchpad.

Revision history for this message
Adam Sommer (asommer) wrote : Re: [Bug 281979] Re: [Intrepid] PHP crashes on startup with '/usr/lib/php5/20060613+lfs/gd.so' and 'mcrypt.so'

On Sun, Oct 12, 2008 at 7:59 AM, Lasse Havelund <email address hidden> wrote:

> I'd installed php* from the repositories (in Intrepid), yes. However,
> I'd removed all these with the --purge flag prior to attempting the
> packages from Launchpad.

It may be that the configuration files for php5-gd and php5-mcrypt weren't
removed. Can you double check that /etc/php5/conf.d/mcrypt.ini and
/etc/php5/conf.d/gd.ini are actually removed? Also, you may double check
that extension=gd.so and extension=mcrypt.so lines are not in any of the
files in /etc/php5/*

--
Party On,
Adam

Revision history for this message
Lasse Havelund (lhavelund) wrote :

The configuration files were, as you nicely described, not removed - php works great now. I'll mark the bug as 'Invalid' - thanks. :)

Changed in php5:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.