Jump to content

cc4 installation problem


Recommended Posts

Guest asoflex

Sorry to put this problem in this part of forum, but I tried to login to forums.cubecart.com and for days I'm getting SERVER DATABASE ERROR so i can't post my problems there. Below is what i wanted to post there but I simply cant and since I have a trial version of the software I can't create a helpdesk ticket. So here I go:

Ok guys, here's my setup of my test environment:

1. Windows 2003 with all the latest updates

2. Apache 2.2.8

3. PHP 5.2.6

4. MySQL 5.0.51a

5. Zend PHP Optimizer

This is my directory structure:

c:\web\websites\apache

c:\web\websites\php

c:\web\websites\mysql

c:\web\websites\zend

When I type in in to my browser http://web01/phpinfo.php, it passes no problem.

I see apache, php, mysql running with no errors in event log.

I did the cubecart test file compat-test.php and that also past with:

"Congratulations. Your server is compatible with CubeCart v4".

I know from reading that you have to have a database before installing cubecart so I

opened dos prompt to mysql, succesfully logged in a root and created a database called

ccartdatabase I viewed it with no problems. I did not create any additional users in mysql, everything is basic and standard.

My cubecart folder is in C:\web\websites\apache\htdocs\ccart.

When I run http://web01/ccart/setup/install.php, it bring s up the cubecart setup

with no problems.

I agree to the terms and proceed to step 2 which states:

Please make sure the following files and folders are writable:

File / Folder Current Status Help

images/uploads/ Writable

images/uploads/thumbs/ Writable

images/logos/ Writable

includes/global.inc.php Writable

includes/extra/ Writable

cache/ Writable

I go to setp 3, i enter the license code provided by cubecart,

database hostname: web01

database name: ccartdatabase

database user name: root

database psw: the right one

confirm password: did that too

database prefix: blanc

country: USA

Default Store Administrator Profile

Username: my default one i use always

Password: my default one i use always

Confirm Password: same as above

Email Address: enter my e-mail address

Full Name: full name

Advanced Settings

Store URL: http://web01/ccart

Site Root Relative Path: /store/

PHP Decoder: automatic

After I press continue all i get is WAIT! The installation does not go to the 4th setp for some reason.

I logged in to mysql and noticed that cubecart installation put tables in my database (ccartdatabase) so I know I'm doing something right.

No matter how much I research, read forums, nobody really has an answer. I'm an ULTRA NOOB so I hope the information I've provided is enough.

Any tips?

HELP, SOS, MAYDAY, please.

I don't have a domain name yet, just testing this setup locally. I would punch myself if actually If I found out that cc4 will only install on a server that's configured for an outside domain. The main reason why I did it locally is b/c right after I get this thing working, I want to host my own store and not rely on 3rd parties.

Link to post
Share on other sites

Guest hennaboy

Sounds like something wrong with your server config somewhere but hard to tell where unless you post your actual phpinfo url

At a guess it would be a timeout between php and mysql or some other php problem / config error which is making the install stall

It could also be your local security or something thats stopping the install. Also why if using windows 2003 opt for apache? I know your testing this locally but its like choosing your actual server os to be windows and using apache....why bother....use linux based os

Link to post
Share on other sites
Guest asoflex

Sounds like something wrong with your server config somewhere but hard to tell where unless you post your actual phpinfo url

At a guess it would be a timeout between php and mysql or some other php problem / config error which is making the install stall

It could also be your local security or something thats stopping the install. Also why if using windows 2003 opt for apache? I know your testing this locally but its like choosing your actual server os to be windows and using apache....why bother....use linux based os

Thanks a lot for the reply.

I'll post screen shots of my phpinfo shortly. If you need any more info, let me know.

The reason why I'm running server 2003 is because I have several years of experience managing them so if there's a problem with it, I know how to fix it. Linux on the other hand I don't know that much about, only basics. Which linux OS would you recommend, I'm hearing CentOS is good. I'm also hearing that installing apache/php etc on linux is a pain compare to windows. The amount of steps etc...My local security is none at the moment, firewall is turned off on my testing server, I have my symantec anti virus disabled until I get this thing installed. Do you have to do any php.ini tweaking for cubecart before you install it? Enable anything? I could not find any documentation that I'd have to change php.ini for cc4.

Link to post
Share on other sites
Guest hennaboy

I'm also hearing that installing apache/php etc on linux is a pain compare to windows

- Should cause a bit of a riot!

Not true.... whilst I only manage windows servers now I used to manage unix based servers (freebsd and Centos) its a breeze to manage, install and configure php, apache, mysql on those platforms. Id say easier than installation on windows.

So you have your local windows system with the correct settings for php? enviroment settings are done. PHP is running as ISAPI or FastCGI not cgi?

On a windows server the installation for PHP needs to be done correctly server wide. With the correct enviroment settings depending on your server config. Correct write and read settings without comprimising your server. Running the correct PHP module is essential and the php.ini configured correctly.

Link to post
Share on other sites
Guest asoflex

I'm also hearing that installing apache/php etc on linux is a pain compare to windows

- Should cause a bit of a riot!

Not true.... whilst I only manage windows servers now I used to manage unix based servers (freebsd and Centos) its a breeze to manage, install and configure php, apache, mysql on those platforms. Id say easier than installation on windows.

So you have your local windows system with the correct settings for php? enviroment settings are done. PHP is running as ISAPI or FastCGI not cgi?

On a windows server the installation for PHP needs to be done correctly server wide. With the correct enviroment settings depending on your server config. Correct write and read settings without comprimising your server. Running the correct PHP module is essential and the php.ini configured correctly.

WhooHa! Thanks for the input hennaboy! I will give my windows server03 another week, if i can't get cc4 on it i'll setup CentOS. About the local windows system/settings for php...............ERRR? I just installed php on apache with default settings that's all. I have no clue @ the moment what ISAP or FastCGI is but I guess I can google that. I'm @ work still, but after I get off, i'll post my phpinfo screenshots.

PS: didn't mean to start a riot about windows/linux, i know it's a touchy subject, I just find it easy to deal with Windows since i'm MCSA that's all. ;-)

Link to post
Share on other sites
Guest asoflex

I'm also hearing that installing apache/php etc on linux is a pain compare to windows

- Should cause a bit of a riot!

Not true.... whilst I only manage windows servers now I used to manage unix based servers (freebsd and Centos) its a breeze to manage, install and configure php, apache, mysql on those platforms. Id say easier than installation on windows.

So you have your local windows system with the correct settings for php? enviroment settings are done. PHP is running as ISAPI or FastCGI not cgi?

On a windows server the installation for PHP needs to be done correctly server wide. With the correct enviroment settings depending on your server config. Correct write and read settings without comprimising your server. Running the correct PHP module is essential and the php.ini configured correctly.

WhooHa! Thanks for the input hennaboy! I will give my windows server03 another week, if i can't get cc4 on it i'll setup CentOS. About the local windows system/settings for php...............ERRR? I just installed php on apache with default settings that's all. I have no clue @ the moment what ISAP or FastCGI is but I guess I can google that. I'm @ work still, but after I get off, i'll post my phpinfo screenshots.

PS: didn't mean to start a riot about windows/linux, i know it's a touchy subject, I just find it easy to deal with Windows since i'm MCSA that's all. ;-)

Sigh, I have 18 GIF screen shots of my phpinfo but i can't upload them b/c it says "Upload failed. Please ask the administrator to ensure the uploads directory is writeable", the file size is blow 200K. Well, since I can't show you I'll paste it in text. Here it is:

PHP Version 5.2.6

System Windows NT WEB01 5.2 build 3790

Build Date May 2 2008 18:01:20

Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" "--with-extra-includes=C:\Program Files (x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\MFC\INCLUDE" "--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\VC98\MFC\LIB"

Server API Apache 2.0 Handler

Virtual Directory Support enabled

Configuration File (php.ini) Path C:\WINDOWS

Loaded Configuration File C:\web\websites\php\php.ini

PHP API 20041225

PHP Extension 20060613

Zend Extension 220060519

Debug Build no

Thread Safety enabled

Zend Memory Manager enabled

IPv6 Support enabled

Registered PHP Streams php, file, data, http, ftp, compress.zlib

Registered Stream Socket Transports tcp, udp

Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*

Configuration PHP Core

allow_call_time_pass_reference Off Off

allow_url_fopen On On

allow_url_include Off Off

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

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

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

expose_php On On

extension_dir C:\web\websites\php\ext C:\web\websites\php\ext

file_uploads On On

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 .;C:\php5\pear .;C:\php5\pear

log_errors On On

log_errors_max_len 1024 1024

magic_quotes_gpc Off Off

magic_quotes_runtime Off Off

magic_quotes_sybase Off Off

mail.force_extra_parameters no value no value

max_execution_time 30 30

max_input_nesting_level 64 64

max_input_time 60 60

memory_limit 128M 128M

open_basedir no value no value

output_buffering 4096 4096

output_handler no value no value

post_max_size 8M 8M

precision 14 14

realpath_cache_size 16K 16K

realpath_cache_ttl 120 120

register_argc_argv Off Off

register_globals Off Off

register_long_arrays Off Off

report_memleaks On On

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

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 C:\WINDOWS\Temp C:\WINDOWS\Temp

user_dir no value no value

variables_order GPCS GPCS

xmlrpc_error_number 0 0

xmlrpc_errors Off Off

y2k_compliance On On

zend.ze1_compatibility_mode Off Off

apache2handler

Apache Version Apache/2.2.8 (Win32) PHP/5.2.6

Apache API Version 20051115

Server Administrator [email protected]

Hostname:Port web01:80

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

Timeouts Connection: 300 - Keep-Alive: 5

Virtual Server No

Server Root C:/web/websites/apache

Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5

Apache Environment

Apache Version Apache/2.2.8 (Win32) PHP/5.2.6

Apache API Version 20051115

Server Administrator [email protected]

Hostname:Port web01:80

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

Timeouts Connection: 300 - Keep-Alive: 5

Virtual Server No

Server Root C:/web/websites/apache

Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5

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, :rolleyes:

HTTP_ACCEPT_LANGUAGE en-us

HTTP_UA_CPU x86

HTTP_ACCEPT_ENCODING gzip, deflate

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

HTTP_HOST localhost

HTTP_CONNECTION Keep-Alive

PATH C:\web\websites\php\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\web\websites\mysql\bin

SystemRoot C:\WINDOWS

COMSPEC C:\WINDOWS\system32\cmd.exe

PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

WINDIR C:\WINDOWS

SERVER_SIGNATURE no value

SERVER_SOFTWARE Apache/2.2.8 (Win32) PHP/5.2.6

SERVER_NAME localhost

SERVER_ADDR 127.0.0.1

SERVER_PORT 80

REMOTE_ADDR 127.0.0.1

DOCUMENT_ROOT C:/web/websites/apache/htdocs

SERVER_ADMIN [email protected]

SCRIPT_FILENAME C:/web/websites/apache/htdocs/phpinfo.php

REMOTE_PORT 1272

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 GET /phpinfo.php HTTP/1.1

Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, <_<

Accept-Language en-us

UA-CPU x86

Accept-Encoding gzip, deflate

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

Host localhost

Connection Keep-Alive

HTTP Response Headers

X-Powered-By PHP/5.2.6

Keep-Alive timeout=5, max=100

Connection Keep-Alive

Transfer-Encoding chunked

Content-Type text/html

bcmath

BCMath support enabled

calendar

Calendar support enabled

com_dotnet

COM support enabled

DCOM support disabled

.Net support enabled

Directive Local Value Master Value

com.allow_dcom 0 0

com.autoregister_casesensitive 1 1

com.autoregister_typelib 0 0

com.autoregister_verbose 0 0

com.code_page no value no value

com.typelib_file no value no value

ctype

ctype functions enabled

date

date/time support enabled

"Olson" Timezone Database Version 2008.2

Timezone Database internal

Default timezone America/New_York

Directive Local Value Master Value

date.default_latitude 31.7667 31.7667

date.default_longitude 35.2333 35.2333

date.sunrise_zenith 90.583333 90.583333

date.sunset_zenith 90.583333 90.583333

date.timezone no value no value

dom

DOM/XML enabled

DOM/XML API Version 20031129

libxml Version 2.6.32

HTML Support enabled

XPath Support enabled

XPointer Support enabled

Schema Support enabled

RelaxNG Support enabled

filter

Input Validation and Filtering enabled

Revision $Revision: 1.52.2.42 $

Directive Local Value Master Value

filter.default unsafe_raw unsafe_raw

filter.default_flags no value no value

ftp

FTP support enabled

gd

GD Support enabled

GD Version bundled (2.0.34 compatible)

FreeType Support enabled

FreeType Linkage with freetype

FreeType Version 2.1.9

T1Lib Support enabled

GIF Read Support enabled

GIF Create Support enabled

JPG Support enabled

PNG Support enabled

WBMP Support enabled

XBM Support enabled

gmp

gmp support enabled

GMP version 4.1.4

hash

hash support enabled

Hashing Engines md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

iconv

iconv support enabled

iconv implementation "libiconv"

iconv library version 1.11

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

json

json support enabled

json version 1.2.1

libxml

libXML support active

libXML Version 2.6.32

libXML streams enabled

mysql

MySQL Support enabled

Active Persistent Links 0

Active Links 0

Client API version 5.0.51a

Directive Local Value Master Value

mysql.allow_persistent On On

mysql.connect_timeout 60 60

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

mysqli

MysqlI Support enabled

Client API library version 5.0.51a

Client API header version 5.0.51a

MYSQLI_SOCKET /tmp/mysql.sock

Directive Local Value Master Value

mysqli.default_host no value no value

mysqli.default_port 3306 3306

mysqli.default_pw no value no value

mysqli.default_socket no value no value

mysqli.default_user no value no value

mysqli.max_links Unlimited Unlimited

mysqli.reconnect Off Off

odbc

ODBC Support enabled

Active Persistent Links 0

Active Links 0

ODBC library Win32

Directive Local Value Master Value

odbc.allow_persistent On On

odbc.check_persistent On On

odbc.default_db no value no value

odbc.default_pw no value no value

odbc.default_user no value no value

odbc.defaultbinmode return as is return as is

odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes

odbc.max_links Unlimited Unlimited

odbc.max_persistent Unlimited Unlimited

pcre

PCRE (Perl Compatible Regular Expressions) Support enabled

PCRE Library Version 7.6 2008-01-28

Directive Local Value Master Value

pcre.backtrack_limit 100000 100000

pcre.recursion_limit 100000 100000

Reflection

Reflection enabled

Version $Id: php_reflection.c,v 1.164.2.33.2.50 2008/03/13 15:56:21 iliaa Exp $

session

Session Support enabled

Registered save handlers files user

Registered serializer handlers php php_binary wddx

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

session.cookie_httponly Off Off

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

session.gc_maxlifetime 1440 1440

session.gc_probability 1 1

session.hash_bits_per_character 5 5

session.hash_function 0 0

session.name PHPSESSID PHPSESSID

session.referer_check no value no value

session.save_handler files files

session.save_path C:\WINDOWS\Temp C:\WINDOWS\Temp

session.serialize_handler php php

session.use_cookies On On

session.use_only_cookies Off Off

session.use_trans_sid 0 0

SimpleXML

Simplexml support enabled

Revision $Revision: 1.151.2.22.2.39 $

Schema support enabled

SPL

SPL support enabled

Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject

Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException

standard

Regex Library Bundled library enabled

Dynamic Library Support enabled

Internal Sendmail Support for Windows enabled

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

wddx

WDDX Support enabled

WDDX Session Serializer enabled

xml

XML Support active

XML Namespace Support active

libxml2 Version 2.6.32

xmlreader

XMLReader enabled

xmlwriter

XMLWriter enabled

Zend Optimizer

Optimization Pass 1 enabled

Optimization Pass 2 enabled

Optimization Pass 3 enabled

Optimization Pass 4 enabled

Optimization Pass 9 enabled

Zend Loader enabled

License Path no value

Obfuscation level 3

zlib

ZLib Support enabled

Stream Wrapper support compress.zlib://

Stream Filter support zlib.inflate, zlib.deflate

Compiled Version 1.2.3

Linked Version 1.2.3

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

ALLUSERSPROFILE C:\Documents and Settings\All Users

ClusterLog C:\WINDOWS\Cluster\cluster.log

CommonProgramFiles C:\Program Files\Common Files

COMPUTERNAME WEB01

ComSpec C:\WINDOWS\system32\cmd.exe

FP_NO_HOST_CHECK NO

NUMBER_OF_PROCESSORS 1

OS Windows_NT

Path C:\web\websites\php\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\web\websites\mysql\bin

PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

PHPRC C:\web\websites\php\

PROCESSOR_ARCHITECTURE x86

PROCESSOR_IDENTIFIER x86 Family 6 Model 15 Stepping 8, GenuineIntel

PROCESSOR_LEVEL 6

PROCESSOR_REVISION 0f08

ProgramFiles C:\Program Files

SystemDrive C:

SystemRoot C:\WINDOWS

TEMP C:\WINDOWS\TEMP

TMP C:\WINDOWS\TEMP

USERPROFILE C:\Documents and Settings\Default User

windir C:\WINDOWS

AP_PARENT_PID 1120

PHP Variables

Variable Value

_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*

_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us

_SERVER["HTTP_UA_CPU"] x86

_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate

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

_SERVER["HTTP_HOST"] localhost

_SERVER["HTTP_CONNECTION"] Keep-Alive

_SERVER["PATH"] C:\web\websites\php\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\web\websites\mysql\bin

_SERVER["SystemRoot"] C:\WINDOWS

_SERVER["COMSPEC"] C:\WINDOWS\system32\cmd.exe

_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

_SERVER["WINDIR"] C:\WINDOWS

_SERVER["SERVER_SIGNATURE"] no value

_SERVER["SERVER_SOFTWARE"] Apache/2.2.8 (Win32) PHP/5.2.6

_SERVER["SERVER_NAME"] localhost

_SERVER["SERVER_ADDR"] 127.0.0.1

_SERVER["SERVER_PORT"] 80

_SERVER["REMOTE_ADDR"] 127.0.0.1

_SERVER["DOCUMENT_ROOT"] C:/web/websites/apache/htdocs

_SERVER["SERVER_ADMIN"] [email protected]

_SERVER["SCRIPT_FILENAME"] C:/web/websites/apache/htdocs/phpinfo.php

_SERVER["REMOTE_PORT"] 1272

_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["REQUEST_TIME"] 1212194040

Link to post
Share on other sites
Guest asoflex

I'm also hearing that installing apache/php etc on linux is a pain compare to windows

- Should cause a bit of a riot!

Not true.... whilst I only manage windows servers now I used to manage unix based servers (freebsd and Centos) its a breeze to manage, install and configure php, apache, mysql on those platforms. Id say easier than installation on windows.

So you have your local windows system with the correct settings for php? enviroment settings are done. PHP is running as ISAPI or FastCGI not cgi?

On a windows server the installation for PHP needs to be done correctly server wide. With the correct enviroment settings depending on your server config. Correct write and read settings without comprimising your server. Running the correct PHP module is essential and the php.ini configured correctly.

WhooHa! Thanks for the input hennaboy! I will give my windows server03 another week, if i can't get cc4 on it i'll setup CentOS. About the local windows system/settings for php...............ERRR? I just installed php on apache with default settings that's all. I have no clue @ the moment what ISAP or FastCGI is but I guess I can google that. I'm @ work still, but after I get off, i'll post my phpinfo screenshots.

PS: didn't mean to start a riot about windows/linux, i know it's a touchy subject, I just find it easy to deal with Windows since i'm MCSA that's all. ;-)

Sigh, I have 18 GIF screen shots of my phpinfo but i can't upload them b/c it says "Upload failed. Please ask the administrator to ensure the uploads directory is writeable", the file size is blow 200K. Well, since I can't show you I'll paste it in text. Here it is:

PHP Version 5.2.6

System Windows NT WEB01 5.2 build 3790

Build Date May 2 2008 18:01:20

Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" "--with-extra-includes=C:\Program Files (x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\MFC\INCLUDE" "--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\VC98\MFC\LIB"

Server API Apache 2.0 Handler

Virtual Directory Support enabled

Configuration File (php.ini) Path C:\WINDOWS

Loaded Configuration File C:\web\websites\php\php.ini

PHP API 20041225

PHP Extension 20060613

Zend Extension 220060519

Debug Build no

Thread Safety enabled

Zend Memory Manager enabled

IPv6 Support enabled

Registered PHP Streams php, file, data, http, ftp, compress.zlib

Registered Stream Socket Transports tcp, udp

Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*

Configuration PHP Core

allow_call_time_pass_reference Off Off

allow_url_fopen On On

allow_url_include Off Off

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

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

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

expose_php On On

extension_dir C:\web\websites\php\ext C:\web\websites\php\ext

file_uploads On On

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 .;C:\php5\pear .;C:\php5\pear

log_errors On On

log_errors_max_len 1024 1024

magic_quotes_gpc Off Off

magic_quotes_runtime Off Off

magic_quotes_sybase Off Off

mail.force_extra_parameters no value no value

max_execution_time 30 30

max_input_nesting_level 64 64

max_input_time 60 60

memory_limit 128M 128M

open_basedir no value no value

output_buffering 4096 4096

output_handler no value no value

post_max_size 8M 8M

precision 14 14

realpath_cache_size 16K 16K

realpath_cache_ttl 120 120

register_argc_argv Off Off

register_globals Off Off

register_long_arrays Off Off

report_memleaks On On

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

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 C:\WINDOWS\Temp C:\WINDOWS\Temp

user_dir no value no value

variables_order GPCS GPCS

xmlrpc_error_number 0 0

xmlrpc_errors Off Off

y2k_compliance On On

zend.ze1_compatibility_mode Off Off

apache2handler

Apache Version Apache/2.2.8 (Win32) PHP/5.2.6

Apache API Version 20051115

Server Administrator [email protected]

Hostname:Port web01:80

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

Timeouts Connection: 300 - Keep-Alive: 5

Virtual Server No

Server Root C:/web/websites/apache

Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5

Apache Environment

Apache Version Apache/2.2.8 (Win32) PHP/5.2.6

Apache API Version 20051115

Server Administrator [email protected]

Hostname:Port web01:80

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

Timeouts Connection: 300 - Keep-Alive: 5

Virtual Server No

Server Root C:/web/websites/apache

Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5

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, :rolleyes:

HTTP_ACCEPT_LANGUAGE en-us

HTTP_UA_CPU x86

HTTP_ACCEPT_ENCODING gzip, deflate

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

HTTP_HOST localhost

HTTP_CONNECTION Keep-Alive

PATH C:\web\websites\php\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\web\websites\mysql\bin

SystemRoot C:\WINDOWS

COMSPEC C:\WINDOWS\system32\cmd.exe

PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

WINDIR C:\WINDOWS

SERVER_SIGNATURE no value

SERVER_SOFTWARE Apache/2.2.8 (Win32) PHP/5.2.6

SERVER_NAME localhost

SERVER_ADDR 127.0.0.1

SERVER_PORT 80

REMOTE_ADDR 127.0.0.1

DOCUMENT_ROOT C:/web/websites/apache/htdocs

SERVER_ADMIN [email protected]

SCRIPT_FILENAME C:/web/websites/apache/htdocs/phpinfo.php

REMOTE_PORT 1272

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 GET /phpinfo.php HTTP/1.1

Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, <_<

Accept-Language en-us

UA-CPU x86

Accept-Encoding gzip, deflate

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

Host localhost

Connection Keep-Alive

HTTP Response Headers

X-Powered-By PHP/5.2.6

Keep-Alive timeout=5, max=100

Connection Keep-Alive

Transfer-Encoding chunked

Content-Type text/html

bcmath

BCMath support enabled

calendar

Calendar support enabled

com_dotnet

COM support enabled

DCOM support disabled

.Net support enabled

Directive Local Value Master Value

com.allow_dcom 0 0

com.autoregister_casesensitive 1 1

com.autoregister_typelib 0 0

com.autoregister_verbose 0 0

com.code_page no value no value

com.typelib_file no value no value

ctype

ctype functions enabled

date

date/time support enabled

"Olson" Timezone Database Version 2008.2

Timezone Database internal

Default timezone America/New_York

Directive Local Value Master Value

date.default_latitude 31.7667 31.7667

date.default_longitude 35.2333 35.2333

date.sunrise_zenith 90.583333 90.583333

date.sunset_zenith 90.583333 90.583333

date.timezone no value no value

dom

DOM/XML enabled

DOM/XML API Version 20031129

libxml Version 2.6.32

HTML Support enabled

XPath Support enabled

XPointer Support enabled

Schema Support enabled

RelaxNG Support enabled

filter

Input Validation and Filtering enabled

Revision $Revision: 1.52.2.42 $

Directive Local Value Master Value

filter.default unsafe_raw unsafe_raw

filter.default_flags no value no value

ftp

FTP support enabled

gd

GD Support enabled

GD Version bundled (2.0.34 compatible)

FreeType Support enabled

FreeType Linkage with freetype

FreeType Version 2.1.9

T1Lib Support enabled

GIF Read Support enabled

GIF Create Support enabled

JPG Support enabled

PNG Support enabled

WBMP Support enabled

XBM Support enabled

gmp

gmp support enabled

GMP version 4.1.4

hash

hash support enabled

Hashing Engines md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

iconv

iconv support enabled

iconv implementation "libiconv"

iconv library version 1.11

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

json

json support enabled

json version 1.2.1

libxml

libXML support active

libXML Version 2.6.32

libXML streams enabled

mysql

MySQL Support enabled

Active Persistent Links 0

Active Links 0

Client API version 5.0.51a

Directive Local Value Master Value

mysql.allow_persistent On On

mysql.connect_timeout 60 60

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

mysqli

MysqlI Support enabled

Client API library version 5.0.51a

Client API header version 5.0.51a

MYSQLI_SOCKET /tmp/mysql.sock

Directive Local Value Master Value

mysqli.default_host no value no value

mysqli.default_port 3306 3306

mysqli.default_pw no value no value

mysqli.default_socket no value no value

mysqli.default_user no value no value

mysqli.max_links Unlimited Unlimited

mysqli.reconnect Off Off

odbc

ODBC Support enabled

Active Persistent Links 0

Active Links 0

ODBC library Win32

Directive Local Value Master Value

odbc.allow_persistent On On

odbc.check_persistent On On

odbc.default_db no value no value

odbc.default_pw no value no value

odbc.default_user no value no value

odbc.defaultbinmode return as is return as is

odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes

odbc.max_links Unlimited Unlimited

odbc.max_persistent Unlimited Unlimited

pcre

PCRE (Perl Compatible Regular Expressions) Support enabled

PCRE Library Version 7.6 2008-01-28

Directive Local Value Master Value

pcre.backtrack_limit 100000 100000

pcre.recursion_limit 100000 100000

Reflection

Reflection enabled

Version $Id: php_reflection.c,v 1.164.2.33.2.50 2008/03/13 15:56:21 iliaa Exp $

session

Session Support enabled

Registered save handlers files user

Registered serializer handlers php php_binary wddx

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

session.cookie_httponly Off Off

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

session.gc_maxlifetime 1440 1440

session.gc_probability 1 1

session.hash_bits_per_character 5 5

session.hash_function 0 0

session.name PHPSESSID PHPSESSID

session.referer_check no value no value

session.save_handler files files

session.save_path C:\WINDOWS\Temp C:\WINDOWS\Temp

session.serialize_handler php php

session.use_cookies On On

session.use_only_cookies Off Off

session.use_trans_sid 0 0

SimpleXML

Simplexml support enabled

Revision $Revision: 1.151.2.22.2.39 $

Schema support enabled

SPL

SPL support enabled

Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject

Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException

standard

Regex Library Bundled library enabled

Dynamic Library Support enabled

Internal Sendmail Support for Windows enabled

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

wddx

WDDX Support enabled

WDDX Session Serializer enabled

xml

XML Support active

XML Namespace Support active

libxml2 Version 2.6.32

xmlreader

XMLReader enabled

xmlwriter

XMLWriter enabled

Zend Optimizer

Optimization Pass 1 enabled

Optimization Pass 2 enabled

Optimization Pass 3 enabled

Optimization Pass 4 enabled

Optimization Pass 9 enabled

Zend Loader enabled

License Path no value

Obfuscation level 3

zlib

ZLib Support enabled

Stream Wrapper support compress.zlib://

Stream Filter support zlib.inflate, zlib.deflate

Compiled Version 1.2.3

Linked Version 1.2.3

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

ALLUSERSPROFILE C:\Documents and Settings\All Users

ClusterLog C:\WINDOWS\Cluster\cluster.log

CommonProgramFiles C:\Program Files\Common Files

COMPUTERNAME WEB01

ComSpec C:\WINDOWS\system32\cmd.exe

FP_NO_HOST_CHECK NO

NUMBER_OF_PROCESSORS 1

OS Windows_NT

Path C:\web\websites\php\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\web\websites\mysql\bin

PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

PHPRC C:\web\websites\php\

PROCESSOR_ARCHITECTURE x86

PROCESSOR_IDENTIFIER x86 Family 6 Model 15 Stepping 8, GenuineIntel

PROCESSOR_LEVEL 6

PROCESSOR_REVISION 0f08

ProgramFiles C:\Program Files

SystemDrive C:

SystemRoot C:\WINDOWS

TEMP C:\WINDOWS\TEMP

TMP C:\WINDOWS\TEMP

USERPROFILE C:\Documents and Settings\Default User

windir C:\WINDOWS

AP_PARENT_PID 1120

PHP Variables

Variable Value

_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*

_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us

_SERVER["HTTP_UA_CPU"] x86

_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate

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

_SERVER["HTTP_HOST"] localhost

_SERVER["HTTP_CONNECTION"] Keep-Alive

_SERVER["PATH"] C:\web\websites\php\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\web\websites\mysql\bin

_SERVER["SystemRoot"] C:\WINDOWS

_SERVER["COMSPEC"] C:\WINDOWS\system32\cmd.exe

_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

_SERVER["WINDIR"] C:\WINDOWS

_SERVER["SERVER_SIGNATURE"] no value

_SERVER["SERVER_SOFTWARE"] Apache/2.2.8 (Win32) PHP/5.2.6

_SERVER["SERVER_NAME"] localhost

_SERVER["SERVER_ADDR"] 127.0.0.1

_SERVER["SERVER_PORT"] 80

_SERVER["REMOTE_ADDR"] 127.0.0.1

_SERVER["DOCUMENT_ROOT"] C:/web/websites/apache/htdocs

_SERVER["SERVER_ADMIN"] [email protected]

_SERVER["SCRIPT_FILENAME"] C:/web/websites/apache/htdocs/phpinfo.php

_SERVER["REMOTE_PORT"] 1272

_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["REQUEST_TIME"] 1212194040

Just adding more info to my problem: I navigated to were my cube cart database is stored which is C:\web\websites\mysql\data\ccartdatabase, the folder was completely empty which showes me that this database was blanc, right after i filled out step 3 of the installation and pressed next, that directory was filled with cube cart database entries. 109 total entries i saw.

I'm still stuck at step 3 b/c it does not pass to step 4. Hope this info helps.

I'm also hearing that installing apache/php etc on linux is a pain compare to windows

- Should cause a bit of a riot!

Not true.... whilst I only manage windows servers now I used to manage unix based servers (freebsd and Centos) its a breeze to manage, install and configure php, apache, mysql on those platforms. Id say easier than installation on windows.

So you have your local windows system with the correct settings for php? enviroment settings are done. PHP is running as ISAPI or FastCGI not cgi?

On a windows server the installation for PHP needs to be done correctly server wide. With the correct enviroment settings depending on your server config. Correct write and read settings without comprimising your server. Running the correct PHP module is essential and the php.ini configured correctly.

WhooHa! Thanks for the input hennaboy! I will give my windows server03 another week, if i can't get cc4 on it i'll setup CentOS. About the local windows system/settings for php...............ERRR? I just installed php on apache with default settings that's all. I have no clue @ the moment what ISAP or FastCGI is but I guess I can google that. I'm @ work still, but after I get off, i'll post my phpinfo screenshots.

PS: didn't mean to start a riot about windows/linux, i know it's a touchy subject, I just find it easy to deal with Windows since i'm MCSA that's all. ;-)

Sigh, I have 18 GIF screen shots of my phpinfo but i can't upload them b/c it says "Upload failed. Please ask the administrator to ensure the uploads directory is writeable", the file size is blow 200K. Well, since I can't show you I'll paste it in text. Here it is:

PHP Version 5.2.6

System Windows NT WEB01 5.2 build 3790

Build Date May 2 2008 18:01:20

Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" "--with-extra-includes=C:\Program Files (x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\MFC\INCLUDE" "--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\VC98\MFC\LIB"

Server API Apache 2.0 Handler

Virtual Directory Support enabled

Configuration File (php.ini) Path C:\WINDOWS

Loaded Configuration File C:\web\websites\php\php.ini

PHP API 20041225

PHP Extension 20060613

Zend Extension 220060519

Debug Build no

Thread Safety enabled

Zend Memory Manager enabled

IPv6 Support enabled

Registered PHP Streams php, file, data, http, ftp, compress.zlib

Registered Stream Socket Transports tcp, udp

Registered Stream Filters convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*

Configuration PHP Core

allow_call_time_pass_reference Off Off

allow_url_fopen On On

allow_url_include Off Off

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

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

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

expose_php On On

extension_dir C:\web\websites\php\ext C:\web\websites\php\ext

file_uploads On On

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 .;C:\php5\pear .;C:\php5\pear

log_errors On On

log_errors_max_len 1024 1024

magic_quotes_gpc Off Off

magic_quotes_runtime Off Off

magic_quotes_sybase Off Off

mail.force_extra_parameters no value no value

max_execution_time 30 30

max_input_nesting_level 64 64

max_input_time 60 60

memory_limit 128M 128M

open_basedir no value no value

output_buffering 4096 4096

output_handler no value no value

post_max_size 8M 8M

precision 14 14

realpath_cache_size 16K 16K

realpath_cache_ttl 120 120

register_argc_argv Off Off

register_globals Off Off

register_long_arrays Off Off

report_memleaks On On

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

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 C:\WINDOWS\Temp C:\WINDOWS\Temp

user_dir no value no value

variables_order GPCS GPCS

xmlrpc_error_number 0 0

xmlrpc_errors Off Off

y2k_compliance On On

zend.ze1_compatibility_mode Off Off

apache2handler

Apache Version Apache/2.2.8 (Win32) PHP/5.2.6

Apache API Version 20051115

Server Administrator [email protected]

Hostname:Port web01:80

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

Timeouts Connection: 300 - Keep-Alive: 5

Virtual Server No

Server Root C:/web/websites/apache

Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5

Apache Environment

Apache Version Apache/2.2.8 (Win32) PHP/5.2.6

Apache API Version 20051115

Server Administrator [email protected]

Hostname:Port web01:80

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

Timeouts Connection: 300 - Keep-Alive: 5

Virtual Server No

Server Root C:/web/websites/apache

Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5

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, */*

HTTP_ACCEPT_LANGUAGE en-us

HTTP_UA_CPU x86

HTTP_ACCEPT_ENCODING gzip, deflate

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

HTTP_HOST localhost

HTTP_CONNECTION Keep-Alive

PATH C:\web\websites\php\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\web\websites\mysql\bin

SystemRoot C:\WINDOWS

COMSPEC C:\WINDOWS\system32\cmd.exe

PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

WINDIR C:\WINDOWS

SERVER_SIGNATURE no value

SERVER_SOFTWARE Apache/2.2.8 (Win32) PHP/5.2.6

SERVER_NAME localhost

SERVER_ADDR 127.0.0.1

SERVER_PORT 80

REMOTE_ADDR 127.0.0.1

DOCUMENT_ROOT C:/web/websites/apache/htdocs

SERVER_ADMIN [email protected]

SCRIPT_FILENAME C:/web/websites/apache/htdocs/phpinfo.php

REMOTE_PORT 1272

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 GET /phpinfo.php HTTP/1.1

Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*

Accept-Language en-us

UA-CPU x86

Accept-Encoding gzip, deflate

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

Host localhost

Connection Keep-Alive

HTTP Response Headers

X-Powered-By PHP/5.2.6

Keep-Alive timeout=5, max=100

Connection Keep-Alive

Transfer-Encoding chunked

Content-Type text/html

bcmath

BCMath support enabled

calendar

Calendar support enabled

com_dotnet

COM support enabled

DCOM support disabled

.Net support enabled

Directive Local Value Master Value

com.allow_dcom 0 0

com.autoregister_casesensitive 1 1

com.autoregister_typelib 0 0

com.autoregister_verbose 0 0

com.code_page no value no value

com.typelib_file no value no value

ctype

ctype functions enabled

date

date/time support enabled

"Olson" Timezone Database Version 2008.2

Timezone Database internal

Default timezone America/New_York

Directive Local Value Master Value

date.default_latitude 31.7667 31.7667

date.default_longitude 35.2333 35.2333

date.sunrise_zenith 90.583333 90.583333

date.sunset_zenith 90.583333 90.583333

date.timezone no value no value

dom

DOM/XML enabled

DOM/XML API Version 20031129

libxml Version 2.6.32

HTML Support enabled

XPath Support enabled

XPointer Support enabled

Schema Support enabled

RelaxNG Support enabled

filter

Input Validation and Filtering enabled

Revision $Revision: 1.52.2.42 $

Directive Local Value Master Value

filter.default unsafe_raw unsafe_raw

filter.default_flags no value no value

ftp

FTP support enabled

gd

GD Support enabled

GD Version bundled (2.0.34 compatible)

FreeType Support enabled

FreeType Linkage with freetype

FreeType Version 2.1.9

T1Lib Support enabled

GIF Read Support enabled

GIF Create Support enabled

JPG Support enabled

PNG Support enabled

WBMP Support enabled

XBM Support enabled

gmp

gmp support enabled

GMP version 4.1.4

hash

hash support enabled

Hashing Engines md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

iconv

iconv support enabled

iconv implementation "libiconv"

iconv library version 1.11

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

json

json support enabled

json version 1.2.1

libxml

libXML support active

libXML Version 2.6.32

libXML streams enabled

mysql

MySQL Support enabled

Active Persistent Links 0

Active Links 0

Client API version 5.0.51a

Directive Local Value Master Value

mysql.allow_persistent On On

mysql.connect_timeout 60 60

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

mysqli

MysqlI Support enabled

Client API library version 5.0.51a

Client API header version 5.0.51a

MYSQLI_SOCKET /tmp/mysql.sock

Directive Local Value Master Value

mysqli.default_host no value no value

mysqli.default_port 3306 3306

mysqli.default_pw no value no value

mysqli.default_socket no value no value

mysqli.default_user no value no value

mysqli.max_links Unlimited Unlimited

mysqli.reconnect Off Off

odbc

ODBC Support enabled

Active Persistent Links 0

Active Links 0

ODBC library Win32

Directive Local Value Master Value

odbc.allow_persistent On On

odbc.check_persistent On On

odbc.default_db no value no value

odbc.default_pw no value no value

odbc.default_user no value no value

odbc.defaultbinmode return as is return as is

odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes

odbc.max_links Unlimited Unlimited

odbc.max_persistent Unlimited Unlimited

pcre

PCRE (Perl Compatible Regular Expressions) Support enabled

PCRE Library Version 7.6 2008-01-28

Directive Local Value Master Value

pcre.backtrack_limit 100000 100000

pcre.recursion_limit 100000 100000

Reflection

Reflection enabled

Version $Id: php_reflection.c,v 1.164.2.33.2.50 2008/03/13 15:56:21 iliaa Exp $

session

Session Support enabled

Registered save handlers files user

Registered serializer handlers php php_binary wddx

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

session.cookie_httponly Off Off

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

session.gc_maxlifetime 1440 1440

session.gc_probability 1 1

session.hash_bits_per_character 5 5

session.hash_function 0 0

session.name PHPSESSID PHPSESSID

session.referer_check no value no value

session.save_handler files files

session.save_path C:\WINDOWS\Temp C:\WINDOWS\Temp

session.serialize_handler php php

session.use_cookies On On

session.use_only_cookies Off Off

session.use_trans_sid 0 0

SimpleXML

Simplexml support enabled

Revision $Revision: 1.151.2.22.2.39 $

Schema support enabled

SPL

SPL support enabled

Interfaces Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject

Classes AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException

standard

Regex Library Bundled library enabled

Dynamic Library Support enabled

Internal Sendmail Support for Windows enabled

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

wddx

WDDX Support enabled

WDDX Session Serializer enabled

xml

XML Support active

XML Namespace Support active

libxml2 Version 2.6.32

xmlreader

XMLReader enabled

xmlwriter

XMLWriter enabled

Zend Optimizer

Optimization Pass 1 enabled

Optimization Pass 2 enabled

Optimization Pass 3 enabled

Optimization Pass 4 enabled

Optimization Pass 9 enabled

Zend Loader enabled

License Path no value

Obfuscation level 3

zlib

ZLib Support enabled

Stream Wrapper support compress.zlib://

Stream Filter support zlib.inflate, zlib.deflate

Compiled Version 1.2.3

Linked Version 1.2.3

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

ALLUSERSPROFILE C:\Documents and Settings\All Users

ClusterLog C:\WINDOWS\Cluster\cluster.log

CommonProgramFiles C:\Program Files\Common Files

COMPUTERNAME WEB01

ComSpec C:\WINDOWS\system32\cmd.exe

FP_NO_HOST_CHECK NO

NUMBER_OF_PROCESSORS 1

OS Windows_NT

Path C:\web\websites\php\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\web\websites\mysql\bin

PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

PHPRC C:\web\websites\php\

PROCESSOR_ARCHITECTURE x86

PROCESSOR_IDENTIFIER x86 Family 6 Model 15 Stepping 8, GenuineIntel

PROCESSOR_LEVEL 6

PROCESSOR_REVISION 0f08

ProgramFiles C:\Program Files

SystemDrive C:

SystemRoot C:\WINDOWS

TEMP C:\WINDOWS\TEMP

TMP C:\WINDOWS\TEMP

USERPROFILE C:\Documents and Settings\Default User

windir C:\WINDOWS

AP_PARENT_PID 1120

PHP Variables

Variable Value

_SERVER["HTTP_ACCEPT"] image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*

_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us

_SERVER["HTTP_UA_CPU"] x86

_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate

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

_SERVER["HTTP_HOST"] localhost

_SERVER["HTTP_CONNECTION"] Keep-Alive

_SERVER["PATH"] C:\web\websites\php\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\web\websites\mysql\bin

_SERVER["SystemRoot"] C:\WINDOWS

_SERVER["COMSPEC"] C:\WINDOWS\system32\cmd.exe

_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

_SERVER["WINDIR"] C:\WINDOWS

_SERVER["SERVER_SIGNATURE"] no value

_SERVER["SERVER_SOFTWARE"] Apache/2.2.8 (Win32) PHP/5.2.6

_SERVER["SERVER_NAME"] localhost

_SERVER["SERVER_ADDR"] 127.0.0.1

_SERVER["SERVER_PORT"] 80

_SERVER["REMOTE_ADDR"] 127.0.0.1

_SERVER["DOCUMENT_ROOT"] C:/web/websites/apache/htdocs

_SERVER["SERVER_ADMIN"] [email protected]

_SERVER["SCRIPT_FILENAME"] C:/web/websites/apache/htdocs/phpinfo.php

_SERVER["REMOTE_PORT"] 1272

_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["REQUEST_TIME"] 1212194040

Just adding more info to my problem: I navigated to were my cube cart database is stored which is C:\web\websites\mysql\data\ccartdatabase, the folder was completely empty which showes me that this database was blanc, right after i filled out step 3 of the installation and pressed next, that directory was filled with cube cart database entries. 109 total entries i saw.

I'm still stuck at step 3 b/c it does not pass to step 4. Hope this info helps.

Oh, and I'm running php as a module so I edited the conf file with this

LoadModule php5_module "c:/php/php5apache2.dll"

AddType application/x-httpd-php .php

Link to post
Share on other sites
Guest hennaboy

You have just done this? Or had done that originally??

LoadModule php5_module "c:/php/php5apache2.dll"

AddType application/x-httpd-php .php

Your running the wrong module for your apache version.

Change to in your apache conf

LoadModule php5_module "c:/php/php5apache2_2.dll"

AddType application/x-httpd-php .php

Next find the Addtype look for ifmodule mime_module

If its not there add

AddType application/x-httpd-php .php

Now right at the end of the conf file add

PHPIniDir "c:/php"

Save, close and restart the apache web server.

Link to post
Share on other sites
Guest asoflex

You have just done this? Or had done that originally??

LoadModule php5_module "c:/php/php5apache2.dll"

AddType application/x-httpd-php .php

Your running the wrong module for your apache version.

Change to in your apache conf

LoadModule php5_module "c:/php/php5apache2_2.dll"

AddType application/x-httpd-php .php

Next find the Addtype look for ifmodule mime_module

If its not there add

AddType application/x-httpd-php .php

Now right at the end of the conf file add

PHPIniDir "c:/php"

Save, close and restart the apache web server.

Thanks a lot! I did what you have told me and sadly, I still get the same thing, can't pass to step 4. I'll paste what I have in php.ini and the apache conf file.

php.ini file:

; Directory in which the loadable extensions (modules) reside.

extension_dir ="C:\web\websites\php\ext"

;;;;;;;;;;;;;;;;;;;;;;

; Dynamic Extensions ;

;;;;;;;;;;;;;;;;;;;;;;

;

; If you wish to have an extension loaded automatically, use the following

; syntax:

;

; extension=modulename.extension

;

; For example, on Windows:

;

extension=php_mysql.dll

[php_GD2]

extension=php_gd2.dll

[php_GMP]

extension=php_gmp.dll

[php_MYSQL]

extension=php_mysql.dll

[php_MYSQLI]

extension=php_mysqli.dll

[Zend]

zend_extension_manager.optimizer_ts="C:\web\websites\zend\lib\Optimizer-3.2.6"

zend_extension_ts="C:\web\websites\zend\lib\ZendExtensionManager.dll"

Apache conf file

ServerRoot "C:/web/websites/apache"

ServerName web01:80

DocumentRoot "C:/web/websites/apache/htdocs"

<IfModule mime_module>

#

# TypesConfig points to the file containing the list of mappings from

# filename extension to MIME-type.

#

TypesConfig conf/mime.types

AddType application/x-httpd-php .php

#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

PHPIniDir "C:/web/websites/php/"

LoadModule php5_module "C:/web/websites/php/php5apache2_2.dll"

AddType application/x-httpd-php .php

#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

Maybe MySQL 5.0.45 is some kind of beta version? I have no clue. When I open DOS prompt I get this on top " Server version: 5.0.45-community-nt MySQL Community Edition (GPL)"

Link to post
Share on other sites
Guest hennaboy

Your mysql version is not beta....thats the same version im running on my windows 2003 server.

Try changing these in the php.ini (you can reduce them at a later date)

resource limits

max_exectution time = 300

max_input_time = 600

memory_limit = 320mb

Those are just random increases...nothing really special about them it just increases the time and memory limits

Try changing this value

cgi.force_redirect = 1

change to = 0

Also head back over to zend....you sure you got the correct version for your php version? As im running the same php version 5.2.6 and my zend version is 3.3.0 where as your version is 3.2.6

Also look at your mysql my.ini file

As your running mysql 5 then you need sql strict disabled so comment out the line

# Set the SQL mode to strict

sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

If none of this works for you then the only suggestion i have for you if you wish to continue attempting install on windows is to uninstall apache and use IIS instead - you will need to start from scratch...uninstall everything apache, php, mysql etc

Link to post
Share on other sites
Guest asoflex

Your mysql version is not beta....thats the same version im running on my windows 2003 server.

Try changing these in the php.ini (you can reduce them at a later date)

resource limits

max_exectution time = 300

max_input_time = 600

memory_limit = 320mb

Those are just random increases...nothing really special about them it just increases the time and memory limits

Try changing this value

cgi.force_redirect = 1

change to = 0

Also head back over to zend....you sure you got the correct version for your php version? As im running the same php version 5.2.6 and my zend version is 3.3.0 where as your version is 3.2.6

Also look at your mysql my.ini file

As your running mysql 5 then you need sql strict disabled so comment out the line

# Set the SQL mode to strict

sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

If none of this works for you then the only suggestion i have for you if you wish to continue attempting install on windows is to uninstall apache and use IIS instead - you will need to start from scratch...uninstall everything apache, php, mysql etc

Thanks again, I did what you've told me with installing zend 3.3.0, nada. Gonna re-install everying in IIS and keep you posted. Thank you for helping me.

Aso

Link to post
Share on other sites
Guest asoflex

Your mysql version is not beta....thats the same version im running on my windows 2003 server.

Try changing these in the php.ini (you can reduce them at a later date)

resource limits

max_exectution time = 300

max_input_time = 600

memory_limit = 320mb

Those are just random increases...nothing really special about them it just increases the time and memory limits

Try changing this value

cgi.force_redirect = 1

change to = 0

Also head back over to zend....you sure you got the correct version for your php version? As im running the same php version 5.2.6 and my zend version is 3.3.0 where as your version is 3.2.6

Also look at your mysql my.ini file

As your running mysql 5 then you need sql strict disabled so comment out the line

# Set the SQL mode to strict

sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

If none of this works for you then the only suggestion i have for you if you wish to continue attempting install on windows is to uninstall apache and use IIS instead - you will need to start from scratch...uninstall everything apache, php, mysql etc

Thanks again, I did what you've told me with installing zend 3.3.0, nada. Gonna re-install everying in IIS and keep you posted. Thank you for helping me.

Aso

One quick question, do I really have to set the enviromental variables in windows? Is it a must?

Link to post
Share on other sites
Guest hennaboy

It will depend on how you install everything. You will either have to copy all the dll's from the ext folder to the system 32 folder or set the enviromental variable

Link to post
Share on other sites
Guest asoflex

It will depend on how you install everything. You will either have to copy all the dll's from the ext folder to the system 32 folder or set the environmental variable

Thanks, I did copy the dll to sys 32, got iis up, phpinfo is succesfull, test file for cubecart went through with no problem. The only problem again on step 3 i get is:

Warning: mysql_connect() [function.mysql-connect]: Host '192.168.0.102' is not allowed to connect to this MySQL server in C:\web\websites\ccart\classes\db\db.php on line 41

Host '192.168.0.102' is not allowed to connect to this MySQL server

php is in c:\php

mysql is in c:\mysql and the ccartdatabase is in C:\MySQL\data\ccartdatabase ready to go.

http://web01/setup/install.php

Step 3 I filled out exactly as before with root user name etc... Is there a config missing somewhere? Probably something small. Installing php and mysql on iis was a breeze compared to apache. 1/4 the amount of steps so thanks for the tip!.

Aso

Link to post
Share on other sites
Guest hennaboy

unless you have specifically installed mysql to that IP then you should be using localhost rather than the IP address.

did you uninstall mysql? then resinstall?? it may be that the directories wasnt fully deleted and thats your problem.

try localhost and if you get the same problem uninstall mysql make sure that everything has been deleted and then reinstall

Link to post
Share on other sites
Guest asoflex

unless you have specifically installed mysql to that IP then you should be using localhost rather than the IP address.

did you uninstall mysql? then resinstall?? it may be that the directories wasnt fully deleted and thats your problem.

try localhost and if you get the same problem uninstall mysql make sure that everything has been deleted and then reinstall

I unistalled the original mysql, removed all folders/files, installed it again. The reason why I was getting the error before with the "localhost can't connect to dbs" is b/c I had to put localhost in the database host name of step 3 of the installation. But guess what, it's doing the same thing as before! WOW, It creates 109 files in the database exactly like before, and stalls and I can't pass to step 4.

I have to be doing something wrong, geez. I fallow the tutorials on how to install php and mysql on windows, and all the test results come positive so it's working, but cubecart no likie. O boy.

Link to post
Share on other sites
Guest asoflex

unless you have specifically installed mysql to that IP then you should be using localhost rather than the IP address.

did you uninstall mysql? then resinstall?? it may be that the directories wasnt fully deleted and thats your problem.

try localhost and if you get the same problem uninstall mysql make sure that everything has been deleted and then reinstall

I unistalled the original mysql, removed all folders/files, installed it again. The reason why I was getting the error before with the "localhost can't connect to dbs" is b/c I had to put localhost in the database host name of step 3 of the installation. But guess what, it's doing the same thing as before! WOW, It creates 109 files in the database exactly like before, and stalls and I can't pass to step 4.

I have to be doing something wrong, geez. I fallow the tutorials on how to install php and mysql on windows, and all the test results come positive so it's working, but cubecart no likie. O boy.

Ok, i got PISSED! Unistalled everything from add/remove progs. php,mysql, sql gui tools, deleted the iis site, and manually deleted all directory structure, then i went to the blasted registry and deleted all entries that all this crap made. I rebooted. I installed msql, php with default settings (next next next next next next next finish), i did not create a manual directory like last time c:\web\websites\php etc..., just ran the wizard and next next next, rebooted, and guess what, IT WORKED, it freaking worked, I was able to go to step 4! EUREKA.

BUT!

now i'm stuck at step 4 and can't go to 5 lmao.

on the very to of step 4, it says:

Warning: fopen(C:\Inetpub\wwwroot\ccart\includes\global.inc.php) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\wwwroot\ccart\includes\functions.inc.php on line 997

should i assing the "everyone" and do read/write permissions to those files? Or assign the IIS user to them?

So close! Yet so far!

Aso

Link to post
Share on other sites
Guest hennaboy

Yes you need to either add the IUSR account with write/read access or create a new usr and then use that instead.

Id check that the default website has the IUSR account as the authentication and access usr.

Link to post
Share on other sites
Guest asoflex

Yes you need to either add the IUSR account with write/read access or create a new usr and then use that instead.

Id check that the default website has the IUSR account as the authentication and access usr.

Done, I've added IUSR write/read in to global.inc.php in the includes cube cart directory. Thanks for the tip. Now I can go beyond step 4.

BUT!......

I get this error

Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\Inetpub\wwwroot\ccart4\classes\db\db.php on line 41

Access denied for user 'ODBC'@'localhost' (using password: NO)

Do I have to manually input anything in to global.inc.php? B/C when I open it, this is what I see:

<?php

$glob['adminFile'] = 'admin.php';

$glob['adminFolder'] = 'admin';

$glob['dbdatabase'] = '';

$glob['dbhost'] = '';

$glob['dbpassword'] = '';

$glob['dbprefix'] = '';

$glob['dbusername'] = '';

$glob['encoder'] = '';

$glob['installed'] = '1';

$glob['license_key'] = '';

$glob['rootRel'] = '';

$glob['storeURL'] = '';

?>

It appears blanc.

Also, in the installation i specify root user name as the database user name so why the error message states:

Access denied for user 'ODBC'@'localhost'

Do I have to configure ODBC in windows or maybe download and install MySQL Connector/ODBC ?

Aso

Link to post
Share on other sites
Guest hennaboy

Yes you havnt installed the mysql odbc connector

you will require the mysql odbc 3.51 connector download and install

As you didnt have the correct write permissions then the global inc file you will need to fill in yourself - this is usually done on install. Its fairly simple....just fill in the blanks!

Its also worth noting that CC4 runs php sessions....as such the php session directory will also require the correct read/write permissions set!

Link to post
Share on other sites
Guest asoflex

Yes you havnt installed the mysql odbc connector

you will require the mysql odbc 3.51 connector download and install

As you didnt have the correct write permissions then the global inc file you will need to fill in yourself - this is usually done on install. Its fairly simple....just fill in the blanks!

Its also worth noting that CC4 runs php sessions....as such the php session directory will also require the correct read/write permissions set!

Done, thanks, all steps of setup are complete. Whooh, thanks a lot! When I try to go to admin store this is what I get.

Warning: fsockopen() [function.fsockopen]: unable to connect to http://cp.cubecart.com:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in C:\Inetpub\wwwroot\ccart4\admin_enc_zend.php on line 146

then right below that warning I get:

Software License Error #12

Communication Error.

Status:

includes/extra folder exists and is writable.

includes/extra/key.php doesn't exist!

Note: The key.php file can be deleted at anytime and the store will attempt to regenerate it. Your software license key is held in the includes/global.inc.php file.

then right below that warning I see:

Solution:

There has been a connectivity issue attempting to license your store. Please contact your hosting company to make sure either 'cURL' or 'fsockopen' is enabled on the server or if your site is behind a proxy server. If it is behind a proxy server you will need to edit the admin.php file with the proxy address and port provided by your hosting company. If this issue remains please contact CubeCart technical support with FTP access to your store so that our staff can investigate this further. If you see an error message below please speecify this also in order to help us resolve this quickly for you.

Unable to find the socket transport "http" - did you forget to enable it when you configured PHP? (7)

Link to post
Share on other sites
Guest hennaboy

Check your php info page

Should have

Sockets

Sockets support enabled

If it doesnt then go to your php.ini and enable the module (like you enabled the dll for mysql)

Should resolve the problem. Your problem now lies with CC4 calls home to the licence server....its blocked at the moment which is also the problem with the key.php file also!

Link to post
Share on other sites
Guest asoflex

Check your php info page

Should have

Sockets

Sockets support enabled

If it doesnt then go to your php.ini and enable the module (like you enabled the dll for mysql)

Should resolve the problem. Your problem now lies with CC4 calls home to the licence server....its blocked at the moment which is also the problem with the key.php file also!

Hmm, I really don't want to adjust the wrong thing so in php.ini which of these do I adjust to enable socket support?

Do you know the line number maybe?

[MySQL]

; Allow or prevent persistent links.

mysql.allow_persistent = On

; Default port number for mysql_connect(). If unset, mysql_connect() will use

; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the

; compile-time value defined MYSQL_PORT (in that order). Win32 will only look

; at MYSQL_PORT.

mysql.default_port =

; Default socket name for local MySQL connects. If empty, uses the built-in

; MySQL defaults.

mysql.default_socket =

; Default host for mysql_connect() (doesn't apply in safe mode).

mysql.default_host =

Thanks,

Aso

Link to post
Share on other sites
Guest asoflex

You need to look in the php.ini

Windows Extensions

uncomment

extension=php_sockets.dll

Thanks, I did that and got the same error. Then I researched and found out that some people that had the same problem as me needed to download the updated

admin_enc_zend.php

admin_enc_ion.php, files. So I backed up my current ones and replaced with the ones from the support site. Now I don't get an error anymore but I get something else.

Warning: fopen(C:\Inetpub\wwwroot\ccart4\cache\lang.en.admin.admin_common.inc.php) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\wwwroot\ccart4\classes\cache\cache.php on line 78

Warning: fwrite(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\ccart4\classes\cache\cache.php on line 82

Warning: fclose(): supplied argument is not a valid stream resource in C:\Inetpub\wwwroot\ccart4\classes\cache\cache.php on line 85

Cache not writable! Please disable cache functionality or make it writable.

I gave cache.php the permission to be writable for ISUR, ran setup again and the same thing's happening.

Man o man, what a pain.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...