Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oscommerce-2.2ms2 on Debian 3.1 (Sarge)


David Christensen

Recommended Posts

osCommerce Installation and Configuration:

 

I am attempting to install osCommerce on Debian Sarge (3.1) (PHPinfo() output follows). I proceeded as follows:

 

1. Download oscommerce-2.2ms2.tar.gz to my home directory.

 

2. Extract tarball.

 

3. Copy catalog tree to /home/dpchrist/public_html/. (I'm using an Apache2 virtual host).

 

4. Launch browser (IE 6.0) and browse to http://www2.holgerdanske.com/catalog/install/. See error message regarding register_globals must be turned on in php.ini.

 

5. Turn on register_globals in /etc./php4/apache2/php.ini. Restart Apache2.

 

6. Browse to http://www2.holgerdanske.com/catalog/install/. Page looks okay. Click on "Install a new store".

 

7. Arrive at http://www2.holgerdanske.com/catalog/install/install.php. Check "Import Catalog Database" and "Automatic Configuration". Choose "Continue".

 

8. Arrive at http://www2.holgerdanske.com/catalog/insta...tall.php?step=2. Enter Database Server, Username, Password, and Database Name info. Do not check Persistent Connections. Select Database for Session Storage. Choose "Continue".

 

9. Arrive at http://www2.holgerdanske.com/catalog/insta...tall.php?step=2. See a partial page:

 

New Installation

 

Database Import

 

 

And that's as far as I can get. There are no clues in /var/log/apache2/error.log.

 

 

Any suggestions?

 

 

TIA,

 

David

 

 

 

PHP Version 4.3.10-15

 

System Linux p166v 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i586

Build Date May 9 2005 08:40:36

Configure Command '../configure' '--prefix=/usr' '--with-apxs2=/usr/bin/apxs2' '--with-config-file-path=/etc/php4/apache2' '--enable-memory-limit' '--disable-debug' '--with-regex=php' '--disable-rpath' '--disable-static' '--with-pic' '--with-layout=GNU' '--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--with-xmlrpc' '--enable-yp' '--with-zlib' '--without-pgsql' '--with-kerberos=/usr' '--with-openssl=/usr' '--with-zip=/usr' '--enable-dbx' '--with-mime-magic=/usr/share/misc/file/magic.mime' '--with-exec-dir=/usr/lib/php4/libexec' '--without-mm' '--without-mysql' '--without-sybase-ct'

Server API Apache 2.0 Handler

Virtual Directory Support disabled

Configuration File (php.ini) Path /etc/php4/apache2/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 © 1998-2004 Zend Technologies

 

 

--------------------------------------------------------------------------------

 

PHP Credits

 

--------------------------------------------------------------------------------

 

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 On On

extension_dir /usr/lib/php4/20020429 /usr/lib/php4/20020429

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/share/php:/usr/share/pear .:/usr/share/php:/usr/share/pear

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

max_execution_time 30 30

max_input_time 60 60

memory_limit 8M 8M

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 no value no value

sendmail_from no value no value

sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i

serialize_precision 100 100

short_open_tag On On

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 no value no value

user_dir no value no value

variables_order EGPCS EGPCS

xmlrpc_error_number 0 0

xmlrpc_errors Off Off

y2k_compliance On On

 

 

apache2handler

Apache Version Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-15 mod_perl/1.999.21 Perl/v5.8.4

Apache API Version 20020903

Server Administrator [email protected]

Hostname:Port www2.holgerdanske.com:0

User/Group www-data(33)/33

Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100

Timeouts Connection: 300 - Keep-Alive: 15

Virtual Server Yes

Server Root /etc/apache2

Loaded Modules core mod_access mod_auth mod_log_config mod_logio mod_env mod_setenvif prefork http_core mod_mime mod_status mod_autoindex mod_negotiation mod_dir mod_alias mod_so mod_cgi mod_perl mod_php4 mod_suexec mod_userdir

 

Directive Local Value Master Value

engine 1 1

last_modified 0 0

xbithack 0 0

 

 

Apache Environment

Variable Value

HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*

HTTP_REFERER http://www2.holgerdanske.com/dpchrist/php/

HTTP_ACCEPT_LANGUAGE en-us

HTTP_ACCEPT_ENCODING gzip, deflate

HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

HTTP_HOST www2.holgerdanske.com

HTTP_CONNECTION Keep-Alive

PATH /usr/local/bin:/usr/bin:/bin

SERVER_SIGNATURE no value

SERVER_SOFTWARE Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-15 mod_perl/1.999.21 Perl/v5.8.4

SERVER_NAME www2.holgerdanske.com

SERVER_ADDR 192.168.254.21

SERVER_PORT 80

REMOTE_ADDR 192.168.1.10

DOCUMENT_ROOT /home/dpchrist/public_html

SERVER_ADMIN [email protected]

SCRIPT_FILENAME /home/dpchrist/public_html/dpchrist/php/phpinfo.php

REMOTE_PORT 1273

GATEWAY_INTERFACE CGI/1.1

SERVER_PROTOCOL HTTP/1.1

REQUEST_METHOD GET

QUERY_STRING no value

REQUEST_URI /dpchrist/php/phpinfo.php

SCRIPT_NAME /dpchrist/php/phpinfo.php

 

 

HTTP Headers Information

HTTP Request Headers

HTTP Request GET /dpchrist/php/phpinfo.php HTTP/1.1

Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*

Referer http://www2.holgerdanske.com/dpchrist/php/

Accept-Language en-us

Accept-Encoding gzip, deflate

User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

Host www2.holgerdanske.com

Connection Keep-Alive

HTTP Response Headers

X-Powered-By PHP/4.3.10-15

Keep-Alive timeout=15, max=97

Connection Keep-Alive

Transfer-Encoding chunked

Content-Type text/html

 

 

bcmath

BCMath support enabled

 

 

bz2

BZip2 Support Enabled

BZip2 Version 1.0.2, 30-Dec-2001

 

 

calendar

Calendar support enabled

 

 

ctype

ctype functions enabled

 

 

dba

DBA support enabled

Supported handlers cdb cdb_make db4 inifile flatfile

 

 

dbx

dbx support enabled

dbx version 1.0.0

supported databases MySQL ODBC PostgreSQL Microsoft SQL Server FrontBase Oracle 8 (oci8) Sybase-CT

 

Directive Local Value Master Value

dbx.colnames_case unchanged unchanged

 

 

exif

EXIF Support enabled

EXIF Version 1.4 $Id: exif.c,v 1.118.2.35 2005/03/05 18:30:47 rasmus Exp $

Supported EXIF Version 0220

Supported filetypes JPEG,TIFF

 

 

ftp

FTP support enabled

 

 

gettext

GetText Support enabled

 

 

iconv

iconv support enabled

iconv implementation glibc

iconv library version 2.3.2

 

Directive Local Value Master Value

iconv.input_encoding ISO-8859-1 ISO-8859-1

iconv.internal_encoding ISO-8859-1 ISO-8859-1

iconv.output_encoding ISO-8859-1 ISO-8859-1

 

 

mbstring

Multibyte Support enabled

Japanese support enabled

Simplified chinese support enabled

Traditional chinese support enabled

Korean support enabled

Russian support enabled

Multibyte (japanese) regex support enabled

 

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

 

Directive Local Value Master Value

mbstring.detect_order no value no value

mbstring.encoding_translation Off Off

mbstring.func_overload 0 0

mbstring.http_input pass pass

mbstring.http_output pass pass

mbstring.internal_encoding no value no value

mbstring.language neutral neutral

mbstring.substitute_character no value no value

 

 

mime_magic

mime_magic support enabled

 

Directive Local Value Master Value

mime_magic.magicfile /usr/share/misc/file/magic.mime /usr/share/misc/file/magic.mime

 

 

openssl

OpenSSL support enabled

OpenSSL Version OpenSSL 0.9.7e 25 Oct 2004

 

 

overload

User-Space Object Overloading Support enabled

 

 

pcre

PCRE (Perl Compatible Regular Expressions) Support enabled

PCRE Library Version 4.5 01-December-2003

 

 

posix

Revision $Revision: 1.51.2.3 $

 

 

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 0 0

session.name PHPSESSID PHPSESSID

session.referer_check no value no value

session.save_handler files files

session.save_path /var/lib/php4 /var/lib/php4

session.serialize_handler php php

session.use_cookies On On

session.use_only_cookies Off Off

session.use_trans_sid Off Off

 

 

shmop

shmop support enabled

 

 

sockets

Sockets Support enabled

 

 

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_ PHP_

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

 

 

sysvmsg

sysvmsg support enabled

Revision $Revision: 1.4.2.5 $

 

 

tokenizer

Tokenizer Support enabled

 

 

wddx

WDDX Support enabled

WDDX Session Serializer enabled

 

 

xml

XML Support active

XML Namespace Support active

EXPAT Version expat_1.95.8

 

 

xmlrpc

core library version xmlrpc-epi v. 0.51

php extension version 0.51

author Dan Libby

homepage http://xmlrpc-epi.sourceforge.net

open sourced by Epinions.com

 

 

yp

YP Support enabled

 

 

zip

Zip support enabled

 

 

zlib

ZLib Support enabled

Compiled Version 1.2.2

Linked Version 1.2.2

 

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

filepro

sysvsem

sysvshm

 

 

Environment

Variable Value

PATH /usr/local/bin:/usr/bin:/bin

PWD /

LANG C

SHLVL 1

_ /usr/sbin/apache2

 

 

PHP Variables

Variable Value

PHP_SELF /dpchrist/php/phpinfo.php

_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*

_SERVER["HTTP_REFERER"] http://www2.holgerdanske.com/dpchrist/php/

_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us

_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate

_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

_SERVER["HTTP_HOST"] www2.holgerdanske.com

_SERVER["HTTP_CONNECTION"] Keep-Alive

_SERVER["PATH"] /usr/local/bin:/usr/bin:/bin

_SERVER["SERVER_SIGNATURE"] no value

_SERVER["SERVER_SOFTWARE"] Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-15 mod_perl/1.999.21 Perl/v5.8.4

_SERVER["SERVER_NAME"] www2.holgerdanske.com

_SERVER["SERVER_ADDR"] 192.168.254.21

_SERVER["SERVER_PORT"] 80

_SERVER["REMOTE_ADDR"] 192.168.1.10

_SERVER["DOCUMENT_ROOT"] /home/dpchrist/public_html

_SERVER["SERVER_ADMIN"] [email protected]

_SERVER["SCRIPT_FILENAME"] /home/dpchrist/public_html/dpchrist/php/phpinfo.php

_SERVER["REMOTE_PORT"] 1273

_SERVER["GATEWAY_INTERFACE"] CGI/1.1

_SERVER["SERVER_PROTOCOL"] HTTP/1.1

_SERVER["REQUEST_METHOD"] GET

_SERVER["QUERY_STRING"] no value

_SERVER["REQUEST_URI"] /dpchrist/php/phpinfo.php

_SERVER["SCRIPT_NAME"] /dpchrist/php/phpinfo.php

_SERVER["PHP_SELF"] /dpchrist/php/phpinfo.php

_SERVER["PATH_TRANSLATED"] /home/dpchrist/public_html/dpchrist/php/phpinfo.php

_SERVER["argv"] Array

(

)

 

 

_SERVER["argc"] 0

_ENV["PATH"] /usr/local/bin:/usr/bin:/bin

_ENV["PWD"] /

_ENV["LANG"] C

_ENV["SHLVL"] 1

_ENV["_"] /usr/sbin/apache2

 

 

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 [email protected].

Link to comment
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...