Page 1 of 1

Extension not loading... no feedback

Posted: Fri Apr 16, 2010 10:53 am
by Evi|Monkey
Hi guys. It's been about a year since I've worked under Ubuntu and I need a bit of help.

I just compiled a PHP extention used for remote function call with SAP (found here: http://saprfc.sourceforge.net/). I followed the instructions here's what I have now:

OS: Ubuntu 9.10 64-bits
Both PHP and PHP-Dev packages installed

Edited /etc/php5/apache2/php.ini file with the following lines:
extension_dir = "/usr/lib/php5/extensions"
extension=saprfc.so

I obviously copied the saprfc.so file I got after compiling the library to /usr/lib/php5/extensions

Now I restarted Apache and seeing the errors I get when running my php test file, the extension didn't load.

My question, at last, how can I get more information when I restart Apache. Right now, the only out put I get is:

> sudo /etc/init.d/apache2 restart

* Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[ OK ]

Thanks a lot for your help guys!

Matt

Re: Extension not loading... no feedback

Posted: Sat Apr 17, 2010 10:25 pm
by Christopher
Apache has logs ... check those.