Hi Emmanuel,

You need edit your php.ini file (probably in  /etc/php5/apache2/php.ini) and
put the line below:

extension=php_mapscript.so

Then restart apache:

sudo /etc/init.d/apache2 restart

Other settings are required, I suggest you read the instructions in this link
(PHP.ini section):

http://svn.pmapper.net/trac/wiki/DocQuickinstall

Best,


2014-04-11 19:36 GMT-03:00 Emmanuel Adegboye <eaadegb...@googlemail.com>:

> Hi all.
>
> I get this error on a fresh install of pmapper 4.3 on an ubuntu setup:
>
> [11-Apr-2014 22:32:12 Africa/Brazzaville] P.MAPPER: This version of PHP
> does support the 'dl()' function. Please enable 'php_mapscript.dll' in your
> php.ini
> [11-Apr-2014 22:32:12 Africa/Brazzaville] PHP Notice:  Undefined variable:
> map in /var/www/vhosts/map.oauife.edu.ng/httpdocs/incphp/init/init.php on
> line 33
> [11-Apr-2014 22:32:12 Africa/Brazzaville] PHP Notice:  Trying to get
> property of non-object in /var/www/vhosts/
> map.oauife.edu.ng/httpdocs/incphp/init/initmap.php on line 283
> [11-Apr-2014 23:32:12 Europe/Vienna] PHP Fatal error:  Call to a member
> function getAllGroupNames() on a non-object in /var/www/vhosts/
> map.oauife.edu.ng/httpdocs/incphp/init/initmap.php on line 289
>
>
> I'm guessing that the PHP mapscript extension has not been enabled. Am I
> right about this? The only challenge is that the server admin is the only
> one that has access to this file as I am on a shared server. What are my
> options?
>
> Regards,
>
> Emmanuel Adegboye
>
> ------------------------------------------------------------------------------
> Put Bad Developers to Shame
> Dominate Development with Jenkins Continuous Integration
> Continuously Automate Build, Test & Deployment
> Start a new project now. Try Jenkins in the cloud.
> http://p.sf.net/sfu/13600_Cloudbees
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>



-- 
*Marcello Benigno B. de Barros Filho*
Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB
Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE
Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE
http://profmarcello.blogspot.com
http://about.me/marcello.benigno
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to