The php extension does not work.

Hello All!

I installed php-extension **php-mapscript-6.4.1-3.5.i586.rpm **and its dependency libmapserver1-6.4.1-3.5.i586.rpm
from this repository:
http://download.opensuse.org/repositories/Application:/Geo/openSUSE_13.1/i586/
and restarted apache.

The installation looks like successfully. The appropriate files take place as for other working extensions:

  1. In /etc/php5/conf.d/ directory:
    mapscript.ini with extension=php_mapscript.so string.

  2. In /usr/lib/php5/extensions/ directory:
    php_mapscript.so - link to php_mapscript.so.1

php_mapscript.so.1 - link to php_mapscript.so.6.4.1

php_mapscript.so.6.4.1 - shared library

But the extension does not work.
php -m or phpinfo() does not show a presence of the php_mapscript and extension_loaded(‘php_mapscript’) returns FALSE.

May be I should to configure something else?

Thanx for any help.

Are you running a 32-bit OS (and 32-bit Apache)?
If you don’t know, post the following command and its results

uname -a

TSU

tsu2,

Thanx for response.
I sure that OS is 32-bit and Apache probably too because it works properly.
However:

# uname -a
Linux linux-um8f.site 3.11.10-29-desktop #1 SMP PREEMPT Thu Mar 5 16:24:00 UTC 2015 (338c513) i686 i686 i386 GNU/Linux