Menu

Required software

2004-01-19
2004-01-23
  • Rhyan Rausis

    Rhyan Rausis - 2004-01-19

    Can anyone give me a list of all the software that is required to in stall phpChrystal?  I am having some issues after installing it is giving some errors and figured I might be missing something, particularly with reguard to my XML setup.

    Thanks for any help.

     
    • Christopher Klein

      You need PHP 4.x.x (PHP 5 won't work yet) and an activated PHP-dom_xml-module.
      Which error is shown?

       
    • Rhyan Rausis

      Rhyan Rausis - 2004-01-20

      phpinfo() shows the following:

      PHP Version 4.3.2

      domxml
      ----------------------------------
      DOM/XML  enabled 
      DOM/XML API Version  20020815 
      libxml Version  20507 
      HTML Support  enabled 
      XPath Support  enabled 
      XPointer Support  enabled 

      The error I get is:
      Fatal error: Cannot instantiate non-existent class: cfunc in /home/httpd/html/phpChrystal/classes/CDatabase.php on line 14

      Thanks for the help...

       
    • Christopher Klein

      Do you use the current CVS-tree?
      I can't trace your problem on my system.

       
    • Rhyan Rausis

      Rhyan Rausis - 2004-01-21

      Hummmm.... I tried the CVS tree and still got the same problem.  Could I be missing any other XML software or perhaps a setup issue of some other kind?  Works on other machines but for some reason not on this one.

      Any other ideas?  Would a full listing from phpinfo provide any details that would be helpfull?

       
    • Christopher Klein

      I don't think so, because your problem is, that the class CFunc in CDatabase.php could not be initalized.
      I'm not really sure, where the problem is hidden.
      Please post your phpinfo-string.

       
    • Rhyan Rausis

      Rhyan Rausis - 2004-01-23

      I had forgotten to mention that before the error at the bottom of the page, (the origional string I posted) there was an entire page of what looks to be xml code.  Ok here is the listing for phpinfo.  Ouch.. that's long.  :-)

      PHP Version 4.3.2

      System     Linux gs1.saber2th.net 2.4.21-13trfirewall #1 Thu Jul 10 15:57:32 CEST 2003 i686
      Build Date     Oct 30 2003 18:51:16
      Configure Command     './configure' '--prefix=/usr' '--with-apxs2=/usr/sbin/apxs' '--with-config-file-path=/etc/httpd' '--with-regex=php' '--with-exec-dir=/usr/bin' '--enable-safe-mode' '--enable-dba' '--enable-bcmath' '--enable-debugger' '--enable-magic-quotes' '--enable-track-vars' '--enable-memory-limit' '--enable-ftp' '--enable-exif=shared,/usr' '--disable-debug' '--disable-rpath' '--with-bz2' '--with-cyrus' '--with-pear' '--with-readline' '--with-gmp' '--with-zlib=/usr' '--with-imap-ssl' '--with-gd=shared' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-imap=shared,/usr' '--with-ldap=shared,/usr' '--with-mysql=shared,/usr' '--with-pgsql=shared,/usr' '--with-openssl=/usr' '--with-dom=shared,/usr' '--with-gettext'
      Server API     Apache 2.0 Handler
      Virtual Directory Support     disabled
      Configuration File (php.ini) Path     /etc/httpd/php.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.bzip2, 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
      Directive    Local Value    Master Value
      allow_call_time_pass_reference    Off    Off
      allow_url_fopen    On    On
      always_populate_raw_post_data    Off    Off
      arg_separator.input    &    &
      arg_separator.output    &    &
      asp_tags    Off    Off
      auto_append_file    no value    no value
      auto_prepend_file    no value    no value
      browscap    no value    no value
      default_charset    iso-8859-1    iso-8859-1
      default_mimetype    text/html    text/html
      define_syslog_variables    Off    Off
      disable_classes    no value    no value
      disable_functions    no value    no value
      display_errors    On    On
      display_startup_errors    Off    Off
      doc_root    no value    no value
      docref_ext    no value    no value
      docref_root    no value    no value
      enable_dl    On    On
      error_append_string    no value    no value
      error_log    no value    no value
      error_prepend_string    no value    no value
      error_reporting    no value    no value
      expose_php    On    On
      extension_dir    /usr/share/php4    /usr/share/php4
      file_uploads    On    On
      gpc_order    GPC    GPC
      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_errors    On    On
      ignore_repeated_errors    Off    Off
      ignore_repeated_source    Off    Off
      ignore_user_abort    Off    Off
      implicit_flush    Off    Off
      include_path    .:/usr/lib/php    .:/usr/lib/php
      log_errors    On    On
      log_errors_max_len    1024    1024
      magic_quotes_gpc    On    On
      magic_quotes_runtime    Off    Off
      magic_quotes_sybase    Off    Off
      max_execution_time    30    30
      max_input_time    60    60
      memory_limit    8M    8M
      open_basedir    no value    no value
      output_buffering    4096    4096
      output_handler    no value    no value
      post_max_size    8M    8M
      precision    14    14
      register_argc_argv    Off    Off
      register_globals    On    On
      report_memleaks    On    On
      safe_mode    Off    Off
      safe_mode_exec_dir    no value    no value
      safe_mode_gid    Off    Off
      safe_mode_include_dir    no value    no value
      sendmail_from    me@localhost.com    me@localhost.com
      sendmail_path    /usr/sbin/sendmail    /usr/sbin/sendmail
      serialize_precision    100    100
      short_open_tag    Off    Off
      SMTP    localhost    localhost
      smtp_port    25    25
      sql.safe_mode    Off    Off
      track_errors    Off    Off
      unserialize_callback_func    no value    no value
      upload_max_filesize    2M    2M
      upload_tmp_dir    /tmp    /tmp
      user_dir    no value    no value
      variables_order    GPCS    GPCS
      xmlrpc_error_number    0    0
      xmlrpc_errors    Off    Off
      y2k_compliance    On    On

      apache2handler
      Apache Version     Apache/2.0.48 (Trustix Secure Linux/Linux) PHP/4.3.2
      Apache API Version     20020903
      Server Administrator     you@your.address
      Hostname:Port     gs1.saber2th.net:0
      User/Group     httpd(109)/109
      Max Requests     Per Child: 0 - Keep Alive: on - Max Per Connection: 100
      Timeouts     Connection: 300 - Keep-Alive: 15
      Virtual Server     No
      Server Root     /home/httpd/html
      Loaded Modules     core mod_access mod_auth mod_include mod_log_config mod_env mod_setenvif prefork http_core mod_mime mod_status mod_autoindex mod_asis mod_suexec mod_negotiation mod_dir mod_imap mod_actions mod_userdir mod_alias mod_so mod_auth_dbm mod_file_cache mod_cache mod_disk_cache mod_mem_cache mod_ext_filter mod_deflate mod_headers mod_usertrack mod_unique_id mod_bucketeer mod_cgi mod_rewrite sapi_apache2

      Directive    Local Value    Master Value
      engine    1    1
      last_modified    0    0
      xbithack    0    0

      Apache Environment
      Variable    Value
      UNIQUE_ID     cd6GbcCoAAcAAAMF@m0AAAAE
      HTTP_HOST     192.168.0.6
      HTTP_USER_AGENT     Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
      HTTP_ACCEPT     text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
      HTTP_ACCEPT_LANGUAGE     en-us,en;q=0.5
      HTTP_ACCEPT_ENCODING     gzip,deflate
      HTTP_ACCEPT_CHARSET     ISO-8859-1,utf-8;q=0.7,*;q=0.7
      HTTP_KEEP_ALIVE     300
      HTTP_CONNECTION     keep-alive
      PATH     /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
      SERVER_SIGNATURE     <address>Apache/2.0.48 (Trustix Secure Linux/Linux) PHP/4.3.2 Server at <a href="mailto:you@your.address">192.168.0.6</a> Port 80</address>
      SERVER_SOFTWARE     Apache/2.0.48 (Trustix Secure Linux/Linux) PHP/4.3.2
      SERVER_NAME     192.168.0.6
      SERVER_ADDR     192.168.0.6
      SERVER_PORT     80
      REMOTE_ADDR     192.168.0.4
      DOCUMENT_ROOT     /home/httpd/html
      SERVER_ADMIN     you@your.address
      SCRIPT_FILENAME     /home/httpd/html/phpinfo.php
      REMOTE_PORT     2599
      GATEWAY_INTERFACE     CGI/1.1
      SERVER_PROTOCOL     HTTP/1.1
      REQUEST_METHOD     GET
      QUERY_STRING     no value
      REQUEST_URI     /phpinfo.php
      SCRIPT_NAME     /phpinfo.php

      HTTP Headers Information
      HTTP Request Headers
      HTTP Request     GET /phpinfo.php HTTP/1.1
      Host     192.168.0.6
      User-Agent     Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
      Accept     text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
      Accept-Language     en-us,en;q=0.5
      Accept-Encoding     gzip,deflate
      Accept-Charset     ISO-8859-1,utf-8;q=0.7,*;q=0.7
      Keep-Alive     300
      HTTP Response Headers
      X-Powered-By     PHP/4.3.2
      Transfer-Encoding     chunked
      Content-Type     text/html; charset=iso-8859-1

      bcmath
      BCMath support     enabled

      bz2
      BZip2 Support     Enabled
      BZip2 Version     1.0.2, 30-Dec-2001

      ctype
      ctype functions     enabled

      cyrus
      Cyrus IMAP support     enabled

      dba
      DBA support     enabled
      Supported handlers     cdb cdb_make flatfile

      domxml
      DOM/XML     enabled
      DOM/XML API Version     20020815
      libxml Version     20507
      HTML Support     enabled
      XPath Support     enabled
      XPointer Support     enabled

      ftp
      FTP support     enabled

      gettext
      GetText Support     enabled

      gmp
      gmp support     enabled

      mysql
      MySQL Support    enabled
      Active Persistent Links     0
      Active Links     0
      Client API version     4.0.15
      MYSQL_MODULE_TYPE     external
      MYSQL_SOCKET     /var/run/mysql/mysql.sock
      MYSQL_INCLUDE     -I/usr/include/mysql
      MYSQL_LIBS     -L/usr/lib -lmysqlclient

      Directive    Local Value    Master Value
      mysql.allow_persistent    On    On
      mysql.connect_timeout    -1    -1
      mysql.default_host    localhost    localhost
      mysql.default_password    1aa66831    1aa66831
      mysql.default_port    no value    no value
      mysql.default_socket    no value    no value
      mysql.default_user    root    root
      mysql.max_links    Unlimited    Unlimited
      mysql.max_persistent    Unlimited    Unlimited
      mysql.trace_mode    Off    Off

      openssl
      OpenSSL support     enabled
      OpenSSL Version     OpenSSL 0.9.7c 30 Sep 2003

      overload
      User-Space Object Overloading Support     enabled

      pcre
      PCRE (Perl Compatible Regular Expressions) Support     enabled
      PCRE Library Version     3.92 11-Sep-2002

      posix
      Revision     $Revision: 1.51.2.2 $

      session
      Session Support     enabled
      Registered save handlers     files user

      Directive    Local Value    Master Value
      session.auto_start    Off    Off
      session.bug_compat_42    Off    Off
      session.bug_compat_warn    On    On
      session.cache_expire    180    180
      session.cache_limiter    nocache    nocache
      session.cookie_domain    www.saber2th.net    www.saber2th.net
      session.cookie_lifetime    0    0
      session.cookie_path    /    /
      session.cookie_secure    Off    Off
      session.entropy_file    no value    no value
      session.entropy_length    0    0
      session.gc_divisor    100    100
      session.gc_maxlifetime    1440    1440
      session.gc_probability    1    1
      session.name    PHPSESSID    PHPSESSID
      session.referer_check    no value    no value
      session.save_handler    files    files
      session.save_path    /tmp    /tmp
      session.serialize_handler    php    php
      session.use_cookies    On    On
      session.use_only_cookies    On    On
      session.use_trans_sid    Off    Off

      standard
      Regex Library     Bundled library enabled
      Dynamic Library Support     enabled
      Path to sendmail     /usr/sbin/sendmail

      Directive    Local Value    Master Value
      assert.active    1    1
      assert.bail    0    0
      assert.callback    no value    no value
      assert.quiet_eval    0    0
      assert.warning    1    1
      auto_detect_line_endings    0    0
      default_socket_timeout    60    60
      safe_mode_allowed_env_vars    PHP_    PHP_
      safe_mode_protected_env_vars    LD_LIBRARY_PATH    LD_LIBRARY_PATH
      url_rewriter.tags    a=href,area=href,frame=src,input=src,form=fakeentry    a=href,area=href,frame=src,input=src,form=fakeentry
      user_agent    no value    no value

      tokenizer
      Tokenizer Support     enabled

      xml
      XML Support     active
      XML Namespace Support     active
      EXPAT Version     1.95.2

      zlib
      ZLib Support     enabled
      Compiled Version     1.1.4
      Linked Version     1.1.4

      Directive    Local Value    Master Value
      zlib.output_compression    Off    Off
      zlib.output_compression_level    -1    -1
      zlib.output_handler    no value    no value

      Additional Modules
      Module Name

      Environment
      Variable    Value
      CONSOLE     /dev/console
      TERM     linux
      INIT_VERSION     sysvinit-2.78
      PATH     /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
      runlevel     3
      RUNLEVEL     3
      PWD     /
      previous     N
      PREVLEVEL     N
      SHLVL     3
      HOME     /
      _     /sbin/initlog

      PHP Variables
      Variable    Value
      PHP_SELF     /phpinfo.php
      _SERVER["UNIQUE_ID"]    cd6GbcCoAAcAAAMF@m0AAAAE
      _SERVER["HTTP_HOST"]    192.168.0.6
      _SERVER["HTTP_USER_AGENT"]    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
      _SERVER["HTTP_ACCEPT"]    text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
      _SERVER["HTTP_ACCEPT_LANGUAGE"]    en-us,en;q=0.5
      _SERVER["HTTP_ACCEPT_ENCODING"]    gzip,deflate
      _SERVER["HTTP_ACCEPT_CHARSET"]    ISO-8859-1,utf-8;q=0.7,*;q=0.7
      _SERVER["HTTP_KEEP_ALIVE"]    300
      _SERVER["HTTP_CONNECTION"]    keep-alive
      _SERVER["PATH"]    /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
      _SERVER["SERVER_SIGNATURE"]    <address>Apache/2.0.48 (Trustix Secure Linux/Linux) PHP/4.3.2 Server at <a href=\&quot;mailto:you@your.address\&quot;>192.168.0.6</a> Port 80</address>
      _SERVER["SERVER_SOFTWARE"]    Apache/2.0.48 (Trustix Secure Linux/Linux) PHP/4.3.2
      _SERVER["SERVER_NAME"]    192.168.0.6
      _SERVER["SERVER_ADDR"]    192.168.0.6
      _SERVER["SERVER_PORT"]    80
      _SERVER["REMOTE_ADDR"]    192.168.0.4
      _SERVER["DOCUMENT_ROOT"]    /home/httpd/html
      _SERVER["SERVER_ADMIN"]    you@your.address
      _SERVER["SCRIPT_FILENAME"]    /home/httpd/html/phpinfo.php
      _SERVER["REMOTE_PORT"]    2599
      _SERVER["GATEWAY_INTERFACE"]    CGI/1.1
      _SERVER["SERVER_PROTOCOL"]    HTTP/1.1
      _SERVER["REQUEST_METHOD"]    GET
      _SERVER["QUERY_STRING"]    no value
      _SERVER["REQUEST_URI"]    /phpinfo.php
      _SERVER["SCRIPT_NAME"]    /phpinfo.php
      _SERVER["PHP_SELF"]    /phpinfo.php
      _SERVER["PATH_TRANSLATED"]    /home/httpd/html/phpinfo.php

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.