ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Install Problems


  • 2005-12-20 22:15:48

    Install Problems

    I was able to install ATutor on my home computer but I've run into problems as I try to install it in a hosted environment. I'm able to move the files to the server but I'm not able to complete the install. Please note that I'm not a PHP expert!

    Here is the output of the requirements screen when I try to run the install:

    Web-server: MS-IIS/6.0 Status=Good
    PHP: 4.3.11 Detected Status = Fail
    zlib: Disabled Status = Fail
    mysql: Disabled Status = Fail
    safe_mode=off off Status=Good
    file_uploads=on off Status=Fail
    sessions disabled Status=Fail
    session.save_path Directory Writeable Status=Good
    . in include_path Disabled Status=Fail
    MySQL Options Found Unknown Version Status=Good

    Here is the output from php.info:


    PHP Version 4.3.8

    System Linux linhost201.mesa1.secureserver.net 2.4.21-15.0.4.ELsmp #1 SMP Sat Jul 31 01:25:25 EDT 2004 i686
    Build Date Aug 25 2004 11:03:12
    Configure Command './configure' '--with-cgi' '--with-config-file-path=/web/conf' '--with-gd' '--with-xml' '--with-gettext' '--with-zlib-dir=/usr/src/zlib' '--disable-posix' '--with-jpeg-dir=../jpeg-6b' '--enable-gd-native-ttf' '--with-freetype-dir=/usr' '--with-freetype'
    Server API CGI
    Virtual Directory Support disabled
    Configuration File (php.ini) Path /web/conf/php.ini
    PHP API 20020918
    PHP Extension 20020429
    Zend Extension 20021010
    Debug Build no
    Thread Safety disabled
    Registered PHP Streams php, http, ftp, compress.zlib

    This program makes use of the Zend Scripting Language Engine:
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

    Configuration
    PHP Core
    Directive Local Value Master Value
    allow_call_time_pass_reference On On
    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 no value no value
    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 2039 2039
    expose_php Off Off
    extension_dir ./ ./
    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
    hosting_dir_tree_depth 3 3
    hosting_root_dir /home/content /home/content
    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/local/lib/php .:/usr/local/lib/php
    log_errors Off Off
    log_errors_max_len 1024 1024
    magic_quotes_gpc On On
    magic_quotes_runtime Off Off
    magic_quotes_sybase Off Off
    mailquota_dir /home/mailquota /home/mailquota
    mailquota_dir_tree_depth 3 3
    max_execution_time 30 30
    max_input_time 60 60
    max_mail_allowed 1000 1000
    open_basedir no value no value
    output_buffering no value no value
    output_handler no value no value
    post_max_size 8M 8M
    precision 12 12
    register_argc_argv On On
    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 ~ ~
    sendmail_from me@localhost.com me@localhost.com
    sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
    serialize_precision 100 100
    short_open_tag On On
    SMTP relay-hosting.secureserver.net relay-hosting.secureserver.net
    smtp_port 25 25
    sql.safe_mode Off Off
    track_errors Off Off
    unserialize_callback_func no value no value
    upload_max_filesize 8M 8M
    upload_tmp_dir /tmp /tmp
    user_dir no value no value
    variables_order EGPCS EGPCS
    xmlrpc_error_number 0 0
    xmlrpc_errors Off Off
    y2k_compliance On On

    ctype
    ctype functions enabled

    gd
    GD Support enabled
    GD Version bundled (2.0.23 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 Support enabled
    Active Persistent Links 0
    Active Links 0
    Client API version 3.23.49
    MYSQL_MODULE_TYPE builtin
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE no value
    MYSQL_LIBS no value

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

    overload
    User-Space Object Overloading Support enabled

    pcre
    PCRE (Perl Compatible Regular Expressions) Support enabled
    PCRE Library Version 4.5 01-December-2003

    session
    Session Support enabled
    Registered save handlers files user

    Directive Local Value Master Value
    session.auto_start Off Off
    session.bug_compat_42 On On
    session.bug_compat_warn On On
    session.cache_expire 180 180
    session.cache_limiter nocache nocache
    session.cookie_domain no value no value
    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 Off Off
    session.use_trans_sid Off Off

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

    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_ LANG LANG_ PHP_ LANG LANG_
    safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
    url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
    user_agent no value no value

    tokenizer
    Tokenizer Support enabled

    xml
    XML Support active
    XML Namespace Support active
    EXPAT Version 1.95.6

    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
    SCRIPT_NAME /phpinfo.php
    PATH_TRANSLATED /home/content/j/t/j/jtj811/html/phpinfo.php
    SCRIPT_FILENAME /cgi-bin/php
    DOCUMENT_ROOT /home/content/j/t/j/jtj811/html
    HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, application/x-shockwave-flash, */*
    HTTP_ACCEPT_ENCODING gzip, deflate
    HTTP_ACCEPT_LANGUAGE en-us
    HTTP_CONNECTION Keep-Alive
    HTTP_HOST www.trasoff.com
    HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
    REMOTE_ADDR 172.16.44.110
    REMOTE_PORT 2535
    SCRIPT_URI http://www.trasoff.com/phpinfo.php
    SCRIPT_URL /phpinfo.php
    SERVER_ADMIN support@supportwebsite.com
    SERVER_NAME www.trasoff.com
    SERVER_PORT 80
    SERVER_SOFTWARE Apache/1.3.31 (Unix) mod_tsunami/2.0 FrontPage/5.0.2.2634
    GATEWAY_INTERFACE CGI/1.1
    SERVER_PROTOCOL HTTP/1.1
    REQUEST_METHOD GET
    QUERY_STRING no value
    REQUEST_URI /phpinfo.php
    PATH_INFO /phpinfo.php
    PATH /bin:/usr/bin:/usr/local/bin

    PHP Variables
    Variable Value
    PHP_SELF /phpinfo.php
    _SERVER["SCRIPT_NAME"] /phpinfo.php
    _SERVER["PATH_TRANSLATED"] /home/content/j/t/j/jtj811/html/phpinfo.php
    _SERVER["SCRIPT_FILENAME"] /cgi-bin/php
    _SERVER["DOCUMENT_ROOT"] /home/content/j/t/j/jtj811/html
    _SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, application/x-shockwave-flash, */*
    _SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
    _SERVER["HTTP_ACCEPT_LANGUAGE"] en-us
    _SERVER["HTTP_CONNECTION"] Keep-Alive
    _SERVER["HTTP_HOST"] www.trasoff.com
    _SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
    _SERVER["REMOTE_ADDR"] 172.16.44.110
    _SERVER["REMOTE_PORT"] 2535
    _SERVER["SCRIPT_URI"] http://www.trasoff.com/phpinfo.php
    _SERVER["SCRIPT_URL"] /phpinfo.php
    _SERVER["SERVER_ADMIN"] support@supportwebsite.com
    _SERVER["SERVER_NAME"] www.trasoff.com
    _SERVER["SERVER_PORT"] 80
    _SERVER["SERVER_SOFTWARE"] Apache/1.3.31 (Unix) mod_tsunami/2.0 FrontPage/5.0.2.2634
    _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["PATH_INFO"] /phpinfo.php
    _SERVER["PATH"] /bin:/usr/bin:/usr/local/bin
    _SERVER["PHP_SELF"] /phpinfo.php
    _SERVER["argv"]

    Array
    (
    )

    _SERVER["argc"] 0
    _ENV["SCRIPT_NAME"] /phpinfo.php
    _ENV["PATH_TRANSLATED"] /home/content/j/t/j/jtj811/html/phpinfo.php
    _ENV["SCRIPT_FILENAME"] /cgi-bin/php
    _ENV["DOCUMENT_ROOT"] /home/content/j/t/j/jtj811/html
    _ENV["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, application/x-shockwave-flash, */*
    _ENV["HTTP_ACCEPT_ENCODING"] gzip, deflate
    _ENV["HTTP_ACCEPT_LANGUAGE"] en-us
    _ENV["HTTP_CONNECTION"] Keep-Alive
    _ENV["HTTP_HOST"] www.trasoff.com
    _ENV["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
    _ENV["REMOTE_ADDR"] 172.16.44.110
    _ENV["REMOTE_PORT"] 2535
    _ENV["SCRIPT_URI"] http://www.trasoff.com/phpinfo.php
    _ENV["SCRIPT_URL"] /phpinfo.php
    _ENV["SERVER_ADMIN"] support@supportwebsite.com
    _ENV["SERVER_NAME"] www.trasoff.com
    _ENV["SERVER_PORT"] 80
    _ENV["SERVER_SOFTWARE"] Apache/1.3.31 (Unix) mod_tsunami/2.0 FrontPage/5.0.2.2634
    _ENV["GATEWAY_INTERFACE"] CGI/1.1
    _ENV["SERVER_PROTOCOL"] HTTP/1.1
    _ENV["REQUEST_METHOD"] GET
    _ENV["QUERY_STRING"] no value
    _ENV["REQUEST_URI"] /phpinfo.php
    _ENV["PATH_INFO"] /phpinfo.php
    _ENV["PATH"] /bin:/usr/bin:/usr/local/bin

    Here is the output from when I run get_loaded_extensions:

    [0] => standard
    [1] => bcmath
    [2] => calendar
    [3] => ctype
    [4] => com
    [5] => ftp
    [6] => mysql
    [7] => odbc
    [8] => overload
    [9] => pcre
    [10] => session
    [11] => tokenizer
    [12] => xml
    [13] => wddx
    [14] => zlib
    [15] => ISAPI
    [16] => domxml
    [17] => gd
    [18] => gettext
    [19] => ming
    [20] => xmlrpc
    [21] => xslt

    So my questions are:

    1) Why do I get a PHP error when it detects a newer version of PHP?
    2) Why do I receive a zlib and mysql error when both of these extensions have been loaded?
    3) Why does ATutor think that file_uploads=off when phpinfo shows it is on?
    4) Why does ATutor think that sessions is disabled when phpinfo shows it is enabled?

    Thanks in advance.

  • 2005-12-23 08:28:33

    Re: Install Problems

    Similar problems seem to occur for others when using the PHP CGI with IIS. Unfortunately we don't have an IIS server to duplicate problem.

    IIS and PHP do not work as well as Apache and PHP. If possible, I suggest switching to Apache. All the problems should go away with Apache.

    [reply][b]In reply to:[/b]
    I
    [op]forums/view.php?fid=7;pid=6672;page=1#6672[/op][/reply]