> > 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