Re: Custom PHP extension: Invalid library (maybe not a PHP library)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, you are right. But that was not the case.
Actually, the problem was that I had two PHP packages installed. $PATH
modification worked fine for me.

Kind Regards,
Sławomir

W dniu 29 lutego 2012 14:51 użytkownik Matijn Woudt <tijnema@xxxxxxxxx> napisał:
>>
>> The code compiles well with these commands:
>> $ ./configure --enable-hello2
>> $ make -j5
>> # make install
>>
>
> It's a long time since I built PHP extensions, but aren't you supposed
> to run phpize before configure?
>
>> But after I execute the command:
>> $ php5 -d"extension=hello2.so" -v
>> I get the following output.
>>
>> PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library)
>> 'hello2.so' in Unknown on line 0
>>
>> What I am missing here? Can someone help me?
>> Thanks in advance.
>
> Have you tried google?
> I found this comment on the PHP sites[1], and it says that the module
> didn't work when copied into the apache directory, but make install
> worked fine for him
>
> - Matijn
>
> [1] http://www.php.net/manual/en/ref.ssh2.php#67197

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux