RV: [maplab-users] Installing and configuring maplab
Zak James
zak-ms at hoppsan.org
Tue Jun 29 12:04:26 EDT 2004
Djamel,
Make sure your php.ini is set to either display errors or log them to a
file. Look there to see what is failing. The most likely problem is a
configuration problem in the maplab.xml file (in the config folder).
zak
--
Zak James
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca
On Jun 28, 2004, at 2:00 PM, Djamel Toudert wrote:
> He Zac,
>
> Thanks for your answer. The apache seem to work properly. I send the
> output of the testing mapscript with:
> <?php
> dl("php_mapscript.so");
> phpinfo();
> ?>
> I hope you can detect something to help me run Maplab.
> Thanks for your very appreciated help
>
> phpinfo()
> PHP Version 4.3.3
>
> System Linux projekt.mxl.uabc.mx 2.4.22-10mdk #1 Thu Sep 18
> 12:30:58 CEST
> 2003 i686
> Build Date Aug 27 2003 02:16:14
> Configure Command './configure' '--prefix=/usr'
> '--exec-prefix=/usr'
> '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc'
> '--datadir=/usr/share' '--includedir=/usr/include'
> '--libdir=/usr/lib'
> '--libexecdir=/usr/lib' '--localstatedir=/var/lib'
> '--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
> '--infodir=/usr/share/info' '--enable-discard-path'
> '--disable-force-cgi-redirect' '--enable-shared'
> '--disable-static'
> '--disable-debug' '--disable-rpath' '--enable-pic'
> '--enable-inline-optimization' '--enable-memory-limit'
> '--with-config-file-path=/etc'
> '--with-config-file-scan-dir=/etc/php'
> '--with-pear=/usr/share/pear' '--enable-magic-quotes'
> '--enable-debugger'
> '--enable-track-vars' '--with-exec-dir=/usr/bin'
> '--with-versioning'
> '--with-mod_charset' '--with-regex=php' '--enable-track-vars'
> '--enable-trans-sid' '--enable-safe-mode' '--enable-ctype'
> '--enable-ftp'
> '--with-gettext=/usr' '--enable-posix' '--enable-session'
> '--enable-sysvsem' '--enable-sysvshm' '--enable-yp'
> '--with-openssl=/usr'
> '--without-kerberos' '--with-ttf' '--with-freetype-dir=/usr'
> '--with-zlib=/usr' '--with-zlib=/usr' '--with-zlib-dir=/usr'
> Extensions listed here are (or will be soon) available as
> external
>
> modules. To install one or all of these, use "urpmi"
> php-EXTENSION_NAME
> mysql pgsql sqlite gd imap ldap bcmath bz2 calendar cpdf crack
> curl cyrus
> db dba dba_bundle dbase dbx dio domxml exif fbsql fdf filepro
> fribidi gmp
> hwapi hyperwave iconv imagick informix ingres_ii interbase ircg
> java
> mbstring mcal mcrypt mcve mhash mime_magic ming mnogosearch
> msession msql
> mssql ncurses notes oci8 odbc oracle overload ovrimos pam_auth
> pcntl pdf
> pfpro pspell qtdom readline recode rrdtool shmop snmp smbauth
> sockets swf
> sybase sybase_ct sysvmsg tokenizer wddx xml xmlrpc xslt yaz zip
> adodb
> mmcache apd cybercash cybermut mono mqseries netools python
> spplus
> spread
> inifile
> Server API Apache 2.0 Handler
> Virtual Directory Support disabled
> Configuration File (php.ini) Path /etc/php.ini
> Scan this dir for additional .ini files /etc/php
> additional .ini files parsed /etc/php/23_gd.ini,
> /etc/php/34_mysql.ini
> PHP API 20020918
> PHP Extension 20020429
> Zend Extension 20021010
> Debug Build no
> Thread Safety disabled
> Registered PHP Streams php, http, ftp, https, ftps, compress.zlib
>
> This program makes use of the Zend Scripting Language Engine:
> Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
>
>
>
>
> PHP Credits
>
>
>
> Configuration
> PHP Core
> DirectiveLocal ValueMaster Value
> allow_call_time_pass_referenceOnOn
> allow_url_fopenOnOn
> always_populate_raw_post_dataOffOff
> arg_separator.input&&
> arg_separator.output&&
> asp_tagsOffOff
> auto_append_fileno valueno value
> auto_prepend_fileno valueno value
> browscapno valueno value
> default_charsetno valueno value
> default_mimetypetext/htmltext/html
> define_syslog_variablesOffOff
> disable_classesno valueno value
> disable_functionsno valueno value
> display_errorsOffOff
> display_startup_errorsOffOff
> doc_rootno valueno value
> docref_extno valueno value
> docref_rootno valueno value
> enable_dlOnOn
> error_append_stringno valueno value
> error_logno valueno value
> error_prepend_stringno valueno value
> error_reporting20392039
> expose_phpOnOn
> extension_dir/usr/lib/php/extensions/usr/lib/php/extensions
> file_uploadsOnOn
> gpc_orderGPCGPC
> highlight.bg#FFFFFF#FFFFFF
> highlight.comment#FF8000#FF8000
> highlight.default#0000BB#0000BB
> highlight.html#000000#000000
> highlight.keyword#007700#007700
> highlight.string#DD0000#DD0000
> html_errorsOnOn
> ignore_repeated_errorsOffOff
> ignore_repeated_sourceOffOff
> ignore_user_abortOffOff
> implicit_flushOffOff
>
> include_path.:/usr/lib/php/:/usr/share/pear/.:/usr/lib/php/:/usr/
> share/p
> ear/
> log_errorsOffOff
> log_errors_max_len10241024
> magic_quotes_gpcOnOn
> magic_quotes_runtimeOffOff
> magic_quotes_sybaseOffOff
> max_execution_time3030
> max_input_time6060
> memory_limit8M8M
> open_basedirno valueno value
> output_bufferingno valueno value
> output_handlerno valueno value
> post_max_size8M8M
> precision1212
> register_argc_argvOnOn
> register_globalsOnOn
> report_memleaksOnOn
> safe_modeOffOff
> safe_mode_exec_dirno valueno value
> safe_mode_gidOffOff
> safe_mode_include_dirno valueno value
> sendmail_fromme at localhost.comme@localhost.com
> sendmail_path/usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
> serialize_precision100100
> short_open_tagOnOn
> SMTPlocalhostlocalhost
> smtp_port2525
> sql.safe_modeOffOff
> track_errorsOffOff
> unserialize_callback_funcno valueno value
> upload_max_filesize2M2M
> upload_tmp_dirno valueno value
> user_dirno valueno value
> variables_orderEGPCSEGPCS
> xmlrpc_error_number00
> xmlrpc_errorsOffOff
> y2k_complianceOnOn
>
>
> apache2handler
> Apache Version Apache-AdvancedExtranetServer/2.0.47 (Mandrake
> Linux/6mdk)
> mod_perl/1.99_09 Perl/v5.8.1 mod_ssl/2.0.47 OpenSSL/0.9.7b
> PHP/4.3.2
> Apache API Version 20020903
> Server Administrator root at localhost
> Hostname:Port projekt.mxl.uabc.mx:0
> User/Group apache(13)/101
> Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection:
> 100
> Timeouts Connection: 300 - Keep-Alive: 15
> Virtual Server No
> Server Root /etc/httpd/2.0
> Loaded Modules core prefork http_core mod_so mod_access mod_auth
> mod_auth_anon mod_auth_digest mod_include mod_log_config mod_env
> mod_expires mod_headers mod_usertrack mod_setenvif mod_mime
> mod_status
> mod_autoindex mod_asis mod_info mod_cgi mod_vhost_alias
> mod_negotiation
> mod_dir mod_imap mod_actions mod_userdir mod_alias mod_rewrite
> mod_proxy
> proxy_http mod_ssl mod_suexec mod_php4 mod_perl
>
> DirectiveLocal ValueMaster Value
> engine11
> last_modified00
> xbithack00
>
>
> Apache Environment
> VariableValue
> SCRIPT_URL /test_phpMascript.php
> SCRIPT_URI http://projekt.mxl.uabc.mx/test_phpMascript.php
> HTTP_ACCEPT */*
> HTTP_ACCEPT_LANGUAGE es-mx
> HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
> 5.1)
>
> HTTP_ACCEPT_ENCODING gzip, deflate
> HTTP_HOST 148.231.55.91
> HTTP_CONNECTION Keep-Alive
> PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
> SERVER_SIGNATURE <address>Apache-AdvancedExtranetServer/2.0.47
> (Mandrake
> Linux/6mdk) mod_perl/1.99_09 Perl/v5.8.1 mod_ssl/2.0.47
> OpenSSL/0.9.7b
> PHP/4.3.2 Server at projekt.mxl.uabc.mx Port 80</address>
> SERVER_SOFTWARE Apache-AdvancedExtranetServer/2.0.47 (Mandrake
> Linux/6mdk)
> mod_perl/1.99_09 Perl/v5.8.1 mod_ssl/2.0.47 OpenSSL/0.9.7b
> PHP/4.3.2
> SERVER_NAME projekt.mxl.uabc.mx
> SERVER_ADDR 148.231.55.91
> SERVER_PORT 80
> REMOTE_ADDR 148.231.55.90
> DOCUMENT_ROOT /var/www/html
> SERVER_ADMIN root at localhost
> SCRIPT_FILENAME /var/www/html/test_phpMascript.php
> REMOTE_PORT 1453
> GATEWAY_INTERFACE CGI/1.1
> SERVER_PROTOCOL HTTP/1.1
> REQUEST_METHOD GET
> QUERY_STRING no value
> REQUEST_URI /test_phpMascript.php
> SCRIPT_NAME /test_phpMascript.php
>
>
> HTTP Headers Information
> HTTP Request Headers
> HTTP Request GET /test_phpMascript.php HTTP/1.1
> Accept */*
> Accept-Language es-mx
> User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
> Accept-Encoding gzip, deflate
> Host 148.231.55.91
> HTTP Response Headers
> X-Powered-By PHP/4.3.3
> Transfer-Encoding chunked
> Content-Type text/html
>
>
> ctype
> ctype functions enabled
>
>
> ftp
> FTP support enabled
>
>
> gd
> GD Support enabled
> GD Version bundled (2.0.15 compatible)
> FreeType Support enabled
> FreeType Linkage with freetype
> GIF Read Support enabled
> JPG Support enabled
> PNG Support enabled
> WBMP Support enabled
> XBM Support enabled
>
>
> gettext
> GetText Support enabled
>
>
> mysql
> MySQL Supportenabled
> Active Persistent Links 0
> Active Links 0
> Client API version 4.0.15
> MYSQL_MODULE_TYPE none
> MYSQL_SOCKET /var/lib/mysql/mysql.sock
> MYSQL_INCLUDE no value
> MYSQL_LIBS no value
>
> DirectiveLocal ValueMaster Value
> mysql.allow_persistentOnOn
> mysql.connect_timeout6060
> mysql.default_hostno valueno value
> mysql.default_passwordno valueno value
> mysql.default_portno valueno value
> mysql.default_socketno valueno value
> mysql.default_userno valueno value
> mysql.max_linksUnlimitedUnlimited
> mysql.max_persistentUnlimitedUnlimited
> mysql.trace_modeOffOff
>
>
> openssl
> OpenSSL support enabled
> OpenSSL Version OpenSSL 0.9.7b 10 Apr 2003
>
>
> pcre
> PCRE (Perl Compatible Regular Expressions) Support enabled
> PCRE Library Version 4.3 21-May-2003
>
>
> posix
> Revision $Revision: 1.51.2.2 $
>
>
> session
> Session Support enabled
> Registered save handlers files user
>
> DirectiveLocal ValueMaster Value
> session.auto_startOffOff
> session.bug_compat_42OnOn
> session.bug_compat_warnOnOn
> session.cache_expire180180
> session.cache_limiternocachenocache
> session.cookie_domainno valueno value
> session.cookie_lifetime00
> session.cookie_path//
> session.cookie_secureOffOff
> session.entropy_fileno valueno value
> session.entropy_length00
> session.gc_divisor100100
> session.gc_maxlifetime14401440
> session.gc_probability11
> session.namePHPSESSIDPHPSESSID
> session.referer_checkno valueno value
> session.save_handlerfilesfiles
> session.save_path/tmp/tmp
> session.serialize_handlerphpphp
> session.use_cookiesOnOn
> session.use_only_cookiesOffOff
> session.use_trans_sidOffOff
>
>
> standard
> Regex Library Bundled library enabled
> Dynamic Library Support enabled
> Path to sendmail /usr/sbin/sendmail -t -i
>
> DirectiveLocal ValueMaster Value
> assert.active11
> assert.bail00
> assert.callbackno valueno value
> assert.quiet_eval00
> assert.warning11
> auto_detect_line_endings00
> default_socket_timeout6060
> safe_mode_allowed_env_varsPHP_PHP_
> safe_mode_protected_env_varsLD_LIBRARY_PATHLD_LIBRARY_PATH
>
> url_rewriter.tagsa=href,area=href,frame=src,input=src,form=,fieldset=a=
> h
> ref,area=href,frame=src,input=src,form=,fieldset=
> user_agentno valueno value
>
>
> yp
> YP Support enabled
>
>
> zlib
> ZLib Support enabled
> Compiled Version 1.1.4
> Linked Version 1.1.4
>
> DirectiveLocal ValueMaster Value
> zlib.output_compressionOffOff
> zlib.output_compression_level-1-1
> zlib.output_handlerno valueno value
>
>
> Additional Modules
> Module Name
> sysvsem
> sysvshm
>
>
> Environment
> VariableValue
> CONSOLE /dev/console
> LOCPATH /etc/locale
> progress 6
> INIT_VERSION sysvinit-2.85
> AUTOBOOT YES
> PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
> RUNLEVEL 3
> runlevel 3
> devfs mount
> resume /dev/hda5
> splash_rc no value
> PREVLEVEL N
> previous N
> SHLVL 2
> BOOT_IMAGE linux
> nbservices 19
> TEXTDOMAINDIR /etc/locale
> OLDPWD /etc/httpd
> _ /sbin/initlog
>
>
> PHP Variables
> VariableValue
> PHP_SELF /test_phpMascript.php
> _SERVER["SCRIPT_URL"]/test_phpMascript.php
>
> _SERVER["SCRIPT_URI"]http://projekt.mxl.uabc.mx/test_phpMascript.php
> _SERVER["HTTP_ACCEPT"]*/*
> _SERVER["HTTP_ACCEPT_LANGUAGE"]es-mx
> _SERVER["HTTP_USER_AGENT"]Mozilla/4.0 (compatible; MSIE 6.0;
> Windows NT
> 5.1)
> _SERVER["HTTP_ACCEPT_ENCODING"]gzip, deflate
> _SERVER["HTTP_HOST"]148.231.55.91
> _SERVER["HTTP_CONNECTION"]Keep-Alive
> _SERVER["PATH"]/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
>
> _SERVER["SERVER_SIGNATURE"]<address>Apache-AdvancedExtranetServer/
> 2.0.47
>
> (Mandrake Linux/6mdk) mod_perl/1.99_09 Perl/v5.8.1 mod_ssl/2.0.47
> OpenSSL/0.9.7b PHP/4.3.2 Server at projekt.mxl.uabc.mx Port
> 80</address>
> _SERVER["SERVER_SOFTWARE"]Apache-AdvancedExtranetServer/2.0.47
> (Mandrake
> Linux/6mdk) mod_perl/1.99_09 Perl/v5.8.1 mod_ssl/2.0.47
> OpenSSL/0.9.7b
> PHP/4.3.2
> _SERVER["SERVER_NAME"]projekt.mxl.uabc.mx
> _SERVER["SERVER_ADDR"]148.231.55.91
> _SERVER["SERVER_PORT"]80
> _SERVER["REMOTE_ADDR"]148.231.55.90
> _SERVER["DOCUMENT_ROOT"]/var/www/html
> _SERVER["SERVER_ADMIN"]root at localhost
> _SERVER["SCRIPT_FILENAME"]/var/www/html/test_phpMascript.php
> _SERVER["REMOTE_PORT"]1453
> _SERVER["GATEWAY_INTERFACE"]CGI/1.1
> _SERVER["SERVER_PROTOCOL"]HTTP/1.1
> _SERVER["REQUEST_METHOD"]GET
> _SERVER["QUERY_STRING"]no value
> _SERVER["REQUEST_URI"]/test_phpMascript.php
> _SERVER["SCRIPT_NAME"]/test_phpMascript.php
> _SERVER["PHP_SELF"]/test_phpMascript.php
> _SERVER["PATH_TRANSLATED"]/var/www/html/test_phpMascript.php
> _SERVER["argv"]Array
> (
> )
>
> _SERVER["argc"]0
> _ENV["CONSOLE"]/dev/console
> _ENV["LOCPATH"]/etc/locale
> _ENV["progress"]6
> _ENV["INIT_VERSION"]sysvinit-2.85
> _ENV["AUTOBOOT"]YES
> _ENV["PATH"]/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
> _ENV["RUNLEVEL"]3
> _ENV["runlevel"]3
> _ENV["devfs"]mount
> _ENV["resume"]/dev/hda5
> _ENV["splash_rc"]no value
> _ENV["PREVLEVEL"]N
> _ENV["previous"]N
> _ENV["SHLVL"]2
> _ENV["BOOT_IMAGE"]linux
> _ENV["nbservices"]19
> _ENV["TEXTDOMAINDIR"]/etc/locale
> _ENV["OLDPWD"]/etc/httpd
> _ENV["_"]/sbin/initlog
>
>
> PHP License
> This program is free software; you can redistribute it and/or
> modify it
> under the terms of the PHP License as published by the PHP Group
> and
> included in the distribution in the file: LICENSE
> This program is distributed in the hope that it will be useful,
> but
> WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY
> or FITNESS FOR A PARTICULAR PURPOSE.
> If you did not receive a copy of the PHP license, or have any
> questions
> about PHP licensing, please contact license at php.net.
>
> Djamel Toudert
> Investigador del Instituto de Investigaciones Sociales
> Universidad Autónoma de Baja California
> Ed. Posgrado e Investigaciones. S/N
> BLVD. Benito Juárez. Mexicali. Baja California.
> Tel:(686)-566-29-85 EXT: 131. FAX: EXT:105
> -------------------------------------------
> Instituto de Investigaciones Sociales
> P.O.BOX 3280
> Calexico, CA 92232-1426 USA
> --------------------------------------------
> toudert at uabc.mx
> http://geomex.multimania.com
> --------------------------------------------
> -Certificado por Norton System Works 2003-
> ----------Norton Version 9.05.15------------
>
>
> -----Mensaje original-----
> De: Zak James [mailto:zak-ms at hoppsan.org]
> Enviado el: Sábado, 26 de Junio de 2004 06:06 a.m.
> Para: Djamel Toudert
> CC: maplab-users at lists.maptools.org
> Asunto: Re: [maplab-users] Installing and configuring maplab
>
> Djamel,
>
> Check your Apache error log for messages about missing files. Did you
> follow the steps to configure Apache to serve php and phtml files?
>
> zak
> --
> Zak James
> Applications and Software Development
> DM Solutions Group Inc.
> http://www.dmsolutions.ca
>
>
> On Jun 25, 2004, at 6:30 PM, Djamel Toudert wrote:
>
>> I apreciate any help to resolve this probleme with maplab:
>>
>> I am installing maplab the first time in Linux Mondrake 9.2, I have
>> Mapserver working fine.
>> After the instalation (With the linux maplab guide), all things seem
> to
>> be ok, but when I try to acces maplab/htdocs, I guet nothing in the
>> browser (I guet only the dmsolution image link). The same thing
>> happened
>> with maplab/htdoc/index.phtml and info.phtml, absolulty nothing in the
>> browser. Manually, I make all changes to the values in the XML files
>> (maplab.xml, mapedit.xml, gmapfactory.xml) whith no success to guet
>> something looking maplab.
>> Thanks lots for your help.
>>
>> Djamel Toudert
>> Investigador del Instituto de Investigaciones Sociales
>> Universidad Autónoma de Baja California
>> Ed. Posgrado e Investigaciones. S/N
>> BLVD. Benito Juárez. Mexicali. Baja California.
>> Tel:(686)-566-29-85 EXT: 131. FAX: EXT:105
>> -------------------------------------------
>> Instituto de Investigaciones Sociales
>> P.O.BOX 3280
>> Calexico, CA 92232-1426 USA
>> --------------------------------------------
>> toudert at uabc.mx
>> http://geomex.multimania.com
>> --------------------------------------------
>> -Certificado por Norton System Works 2003-
>> ----------Norton Version 9.05.15------------
>>
>> _______________________________________________
>> Maplab-users mailing list
>> Maplab-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/maplab-users
>
>
>
>
>
> _______________________________________________
> Maplab-users mailing list
> Maplab-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/maplab-users
>
More information about the Maplab-users
mailing list