Welcome! Log In Create A New Profile

Advanced

PHP Extensions Don't Work

Posted by Ariadoss 
Ariadoss
PHP Extensions Don't Work
March 07, 2010 04:04PM
I get this error with PHP-FPM patches for PHP 5.2.10 through PHP
5.2.13:

Starting php_fpm PHP Warning: PHP Startup: Unable to load dynamic
library './apc.so' - ./apc.so: cannot open shared object file: No such
file or directory in Unknown on line 0
done

Basically, any PHP extension I try to load doesn't work.
Re: PHP Extensions Don't Work
March 07, 2010 04:12PM
On Sun, Mar 7, 2010 at 12:21 PM, Ariadoss <ariadoss@gmail.com> wrote:
> I get this error with PHP-FPM patches for PHP 5.2.10 through PHP
> 5.2.13:
>
> Starting php_fpm PHP Warning:  PHP Startup: Unable to load dynamic
> library './apc.so' - ./apc.so: cannot open shared object file: No such
> file or directory in Unknown on line 0
>  done
>
> Basically, any PHP extension I try to load doesn't work.
>

Probably: Check your extension_dir in php.ini

Possible second thing: Disable/fix chroot if it is enabled
Ariadoss
Re: PHP Extensions Don't Work
March 08, 2010 09:42PM
Neither of those suggestions worked. It's really weird cause the first
time I did it like a month ago everything worked fine but now no
matter which version I try 5.2.10-5.2.13 I get the same problem.

I've been wondering if perhaps either the PHP packages or the PHP-FPM
patch broke/changed in that time cause I used the exact same steps I
did the last time everything worked correctly.

On Mar 7, 1:10 pm, Michael Shadle <mike...@gmail.com> wrote:
> On Sun, Mar 7, 2010 at 12:21 PM, Ariadoss <ariad...@gmail.com> wrote:
> > I get this error with PHP-FPM patches for PHP 5.2.10 through PHP
> > 5.2.13:
>
> > Starting php_fpm PHP Warning:  PHP Startup: Unable to load dynamic
> > library './apc.so' - ./apc.so: cannot open shared object file: No such
> > file or directory in Unknown on line 0
> >  done
>
> > Basically, any PHP extension I try to load doesn't work.
>
> Probably: Check your extension_dir in php.ini
>
> Possible second thing: Disable/fix chroot if it is enabled
Re: PHP Extensions Don't Work
March 08, 2010 09:48PM
never seen any issues like this, seems like you should change
extension_path to /usr/local/lib/php/extensions/whatever in php.ini
and make sure the right ini is being used etc...


On Mon, Mar 8, 2010 at 6:39 PM, Ariadoss <ariadoss@gmail.com> wrote:
> Neither of those suggestions worked. It's really weird cause the first
> time I did it like a month ago everything worked fine but now no
> matter which version I try 5.2.10-5.2.13 I get the same problem.
>
> I've been wondering if perhaps either the PHP packages or the PHP-FPM
> patch broke/changed in that time cause I used the exact same steps I
> did the last time everything worked correctly.
>
> On Mar 7, 1:10 pm, Michael Shadle <mike...@gmail.com> wrote:
>> On Sun, Mar 7, 2010 at 12:21 PM, Ariadoss <ariad...@gmail.com> wrote:
>> > I get this error with PHP-FPM patches for PHP 5.2.10 through PHP
>> > 5.2.13:
>>
>> > Starting php_fpm PHP Warning:  PHP Startup: Unable to load dynamic
>> > library './apc.so' - ./apc.so: cannot open shared object file: No such
>> > file or directory in Unknown on line 0
>> >  done
>>
>> > Basically, any PHP extension I try to load doesn't work.
>>
>> Probably: Check your extension_dir in php.ini
>>
>> Possible second thing: Disable/fix chroot if it is enabled
>
Ariadoss
Re: PHP Extensions Don't Work
March 08, 2010 09:52PM
Got it for some reason it wasn't picking up stuff in subdirectories of
the extensions folder. Or is that normal behavior?

Sorry, for the trouble and thanks for the suggestion.

On Mar 8, 6:46 pm, Michael Shadle <mike...@gmail.com> wrote:
> never seen any issues like this, seems like you should change
> extension_path to /usr/local/lib/php/extensions/whatever in php.ini
> and make sure the right ini is being used etc...
>
>
>
> On Mon, Mar 8, 2010 at 6:39 PM, Ariadoss <ariad...@gmail.com> wrote:
> > Neither of those suggestions worked. It's really weird cause the first
> > time I did it like a month ago everything worked fine but now no
> > matter which version I try 5.2.10-5.2.13 I get the same problem.
>
> > I've been wondering if perhaps either the PHP packages or the PHP-FPM
> > patch broke/changed in that time cause I used the exact same steps I
> > did the last time everything worked correctly.
>
> > On Mar 7, 1:10 pm, Michael Shadle <mike...@gmail.com> wrote:
> >> On Sun, Mar 7, 2010 at 12:21 PM, Ariadoss <ariad...@gmail.com> wrote:
> >> > I get this error with PHP-FPM patches for PHP 5.2.10 through PHP
> >> > 5.2.13:
>
> >> > Starting php_fpm PHP Warning:  PHP Startup: Unable to load dynamic
> >> > library './apc.so' - ./apc.so: cannot open shared object file: No such
> >> > file or directory in Unknown on line 0
> >> >  done
>
> >> > Basically, any PHP extension I try to load doesn't work.
>
> >> Probably: Check your extension_dir in php.ini
>
> >> Possible second thing: Disable/fix chroot if it is enabled
Re: PHP Extensions Don't Work
March 08, 2010 10:06PM
Searches what it's told to :)

On Mar 8, 2010, at 6:51 PM, Ariadoss <ariadoss@gmail.com> wrote:

> Got it for some reason it wasn't picking up stuff in subdirectories of
> the extensions folder. Or is that normal behavior?
>
> Sorry, for the trouble and thanks for the suggestion.
>
> On Mar 8, 6:46 pm, Michael Shadle <mike...@gmail.com> wrote:
>> never seen any issues like this, seems like you should change
>> extension_path to /usr/local/lib/php/extensions/whatever in php.ini
>> and make sure the right ini is being used etc...
>>
>>
>>
>> On Mon, Mar 8, 2010 at 6:39 PM, Ariadoss <ariad...@gmail.com> wrote:
>>> Neither of those suggestions worked. It's really weird cause the
>>> first
>>> time I did it like a month ago everything worked fine but now no
>>> matter which version I try 5.2.10-5.2.13 I get the same problem.
>>
>>> I've been wondering if perhaps either the PHP packages or the PHP-
>>> FPM
>>> patch broke/changed in that time cause I used the exact same steps I
>>> did the last time everything worked correctly.
>>
>>> On Mar 7, 1:10 pm, Michael Shadle <mike...@gmail.com> wrote:
>>>> On Sun, Mar 7, 2010 at 12:21 PM, Ariadoss <ariad...@gmail.com>
>>>> wrote:
>>>>> I get this error with PHP-FPM patches for PHP 5.2.10 through PHP
>>>>> 5.2.13:
>>
>>>>> Starting php_fpm PHP Warning: PHP Startup: Unable to load dynamic
>>>>> library './apc.so' - ./apc.so: cannot open shared object file:
>>>>> No such
>>>>> file or directory in Unknown on line 0
>>>>> done
>>
>>>>> Basically, any PHP extension I try to load doesn't work.
>>
>>>> Probably: Check your extension_dir in php.ini
>>
>>>> Possible second thing: Disable/fix chroot if it is enabled
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 193
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready