Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/198685-extension-not-loading-no-feedback/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.