HELP: Zend/Apache2/htdocs doesn't seem to work as the root?!

General discussion forum for the Zend Server
Post Reply
Posts: 4
Joined: Wed Jun 17, 2009 7:43 am

HELP: Zend/Apache2/htdocs doesn't seem to work as the root?!

Post by mikeburrelljr » Wed Jun 17, 2009 7:52 am

I recently installed Zend Server CE on my laptop (Vista 32-bit), however am unable to have the server open any file I put into the root.

Points to:

If I put a file in htdocs I get the Zend Server Test Page (or sometimes a blank page - however can't determine the pattern).

Any direction here is greatly appreciated! -- Mike

Below is some of the output from the PHP Info:

Code: Select all

PHP Version 5.2.9

System    Windows NT XPS1 6.0 build 6002
Build Date    Mar 29 2009 17:58:26
Configure Command    cscript /nologo configure.js "--disable-ipv6" "--disable-zts" "--enable-fastcgi" "--disable-bcmath" "--disable-calendar" "--disable-ftp" "--disable-odbc" "--disable-tokenizer" "--disable-json" "--disable-xmlreader" "--disable-xmlwriter" "--without-gd" "--without-sqlite" "--without-wddx" "--enable-cli-win32" "--enable-pdo" "--with-openssl" "--with-libxml" "--with-pdo-sqlite"
Server API    CGI/FastCGI
Virtual Directory Support    disabled
Configuration File (php.ini) Path    C:\Windows
Loaded Configuration File    C:\Program Files\Zend\ZendServer\etc\php.ini
Scan this dir for additional .ini files    (none)
additional .ini files parsed    (none)
PHP API    20041225
PHP Extension    20060613
Zend Extension    220060519
Debug Build    no
Thread Safety    disabled
Zend Memory Manager    enabled
IPv6 Support    disabled
Registered PHP Streams    https, ftps, php, file, data, http, ftp, compress.zlib, compress.bzip2, zip
Registered Stream Socket Transports    tcp, udp, ssl, sslv3, sslv2, tls
Registered Stream Filters    convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.*, bzip2.*

Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
    with Zend Extension Manager v5.1, Copyright (c) 2003-2009, by Zend Technologies
    - with Zend Data Cache v4.0, Copyright (c) 2004-2009, by Zend Technologies [loaded] [licensed] [enabled]
    - with Zend Utils v1.0, Copyright (c) 2004-2009, by Zend Technologies [loaded] [licensed] [enabled]
    - with Zend Optimizer+ v4.0, Copyright (c) 1999-2009, by Zend Technologies [loaded] [licensed] [enabled]
    - with Zend Debugger v5.2, Copyright (c) 1999-2009, by Zend Technologies [loaded] [licensed] [enabled]

PHP Credits
PHP Core
Directive   Local Value   Master Value
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   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   C:\Program Files\Zend\ZendServer\logs\php_error.log   C:\Program Files\Zend\ZendServer\logs\php_error.log
error_prepend_string   no value   no value
error_reporting   6143   6143
expose_php   On   On
extension_dir   C:\Program Files\Zend\ZendServer\lib\phpext   C:\Program Files\Zend\ZendServer\lib\phpext
file_uploads   On   On   #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:\Program Files\Zend\ZendServer\GUI\library;C:\Program Files\Zend\ZendServer\GUI\application\CE\models;C:\Program Files\Zend\ZendServer\GUI\application\common\models   .;C:\Program Files\Zend\ZendServer\share\ZendFramework\library
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   256k   256k
realpath_cache_ttl   120   120
register_argc_argv   On   On
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   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   GPCS   GPCS
xmlrpc_error_number   0   0
xmlrpc_errors   Off   Off
y2k_compliance   On   On
zend.ze1_compatibility_mode   Off   Off

BCMath support    enabled

BZip2 Support    Enabled
Stream Wrapper support    compress.bz2://
Stream Filter support    bzip2.decompress, bzip2.compress
BZip2 Version    1.0.4, 20-Dec-2006

Calendar support    enabled

Directive   Local Value   Master Value
cgi.check_shebang_line   0   0
cgi.fix_pathinfo   1   1
cgi.force_redirect   1   1
cgi.nph   0   0
cgi.redirect_status_env   no value   no value
cgi.rfc2616_headers   0   0
fastcgi.impersonate   1   1
fastcgi.logging   1   1

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 functions    enabled

cURL support    enabled
cURL Information    libcurl/7.19.4 OpenSSL/0.9.8k zlib/1.2.3

date/time support    enabled
"Olson" Timezone Database Version    2009.1
Timezone Database    internal
Default timezone    Etc/GMT-8

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   Etc/GMT-8   Etc/GMT-8

DOM/XML    enabled
DOM/XML API Version    20031129
libxml Version    2.7.3
HTML Support    enabled
XPath Support    enabled
XPointer Support    enabled
Schema Support    enabled
RelaxNG Support    enabled

EXIF Support    enabled
EXIF Version    1.4 $Id: exif.c,v 2008/12/31 11:17:37 sebastian Exp $
Supported EXIF Version    0220
Supported filetypes    JPEG,TIFF

Input Validation and Filtering    enabled
Revision    $Revision: $

Directive   Local Value   Master Value
filter.default   unsafe_raw   unsafe_raw
filter.default_flags   no value   no value

FTP support    enabled

GD Support    enabled
GD Version    bundled (2.0.34 compatible)
FreeType Support    enabled
FreeType Linkage    with freetype
FreeType Version    2.1.9
GIF Read Support    enabled
GIF Create Support    enabled
JPG Support    enabled
PNG Support    enabled
WBMP Support    enabled
XBM Support    enabled

GetText Support    enabled

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 support    enabled
iconv implementation    "libiconv"
iconv library version    1.9

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

IMAP c-Client Version    2007d
SSL Support    enabled

Internationalization support   enabled
version    1.0.0
ICU version    3.8.1

Directive   Local Value   Master Value
intl.default_locale   no value   no value

json support    enabled
json version    1.2.1

LDAP Support    enabled
RCS Version    $Id: ldap.c,v 2008/12/31 11:17:39 sebastian Exp $
Total Links    0/unlimited
API Version    3001
Vendor Name    OpenLDAP
Vendor Version    20220

libXML support    active
libXML Version    2.7.3
libXML streams    enabled

Multibyte Support    enabled
Multibyte string engine    libmbfl
Multibyte (japanese) regex support    enabled
Multibyte regex (oniguruma) version    4.4.4
Multibyte regex (oniguruma) backtrack check    On

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.strict_detection   Off   Off
mbstring.substitute_character   no value   no value

mcrypt support   enabled
Version    2.5.7
Api No    20021217
Supported ciphers    cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes    cbc cfb ctr ecb ncfb nofb ofb stream

Directive   Local Value   Master Value
mcrypt.algorithms_dir   no value   no value
mcrypt.modes_dir   no value   no value

MHASH support    Enabled
MHASH API Version    20020524

mime_magic support   invalid magic file, disabled

Directive   Local Value   Master Value
mime_magic.debug   Off   Off
mime_magic.magicfile   C:\Program Files\Zend\ZendServer\etc\magic.mime   C:\Program Files\Zend\ZendServer\etc\magic.mime

MySQL Support   enabled
Active Persistent Links    0
Active Links    0
Client API version    5.0.18

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 Support   enabled
Client API library version    5.0.18
Client API header version    5.0.18
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

OpenSSL support    enabled
OpenSSL Version    OpenSSL 0.9.8k 25 Mar 2009

PCRE (Perl Compatible Regular Expressions) Support    enabled
PCRE Library Version    7.8 2008-09-05

Directive   Local Value   Master Value
pcre.backtrack_limit   100000   100000
pcre.recursion_limit   100000   100000

PDO support   enabled
PDO drivers    sqlite, mysql, pgsql, sqlite2

PDO Driver for MySQL, client library version   5.0.18

PDO Driver for PostgreSQL   enabled
PostgreSQL(libpq) Version    8.2.3
Module version    1.0.2
Revision    $Id: pdo_pgsql.c,v 2008/12/31 11:17:42 sebastian Exp $

PDO Driver for SQLite 3.x   enabled
PECL Module version    1.0.1 $Id: pdo_sqlite.c,v 2008/12/31 11:17:42 sebastian Exp $
SQLite Library    3.3.7undefined

PostgreSQL Support   enabled
PostgreSQL(libpq) Version    8.2.3
Multibyte character support    enabled
SSL support    disabled
Active Persistent Links    0
Active Links    0

Directive   Local Value   Master Value
pgsql.allow_persistent   On   On
pgsql.auto_reset_persistent   Off   Off
pgsql.ignore_notice   Off   Off
pgsql.log_notice   Off   Off
pgsql.max_links   Unlimited   Unlimited
pgsql.max_persistent   Unlimited   Unlimited

Reflection   enabled
Version    $Id: php_reflection.c,v 2008/12/31 11:17:42 sebastian Exp $

Session Support    enabled
Registered save handlers    files user sqlite
Registered serializer handlers    php php_binary

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   /ZendServer   /
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   ZENDSERVERSESSID   PHPSESSID
session.referer_check   no value   no value
session.save_handler   files   files
session.save_path   C:\Program Files\Zend\ZendServer\tmp\gui   no value
session.serialize_handler   php   php
session.use_cookies   On   On
session.use_only_cookies   On   Off
session.use_trans_sid   0   0

Simplexml support   enabled
Revision    $Revision: $
Schema support    enabled

Soap Client    enabled
Soap Server    enabled

Directive   Local Value   Master Value
soap.wsdl_cache   1   1
soap.wsdl_cache_dir   C:\Program Files\Zend\ZendServer\tmp   C:\Program Files\Zend\ZendServer\tmp
soap.wsdl_cache_enabled   1   1
soap.wsdl_cache_limit   5   5
soap.wsdl_cache_ttl   86400   86400

Sockets Support    enabled

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

SQLite support   enabled
PECL Module version    2.0-dev $Id: sqlite.c,v 2008/12/31 11:17:44 sebastian Exp $
SQLite Library    2.8.17
SQLite Encoding    iso8859

Directive   Local Value   Master Value
sqlite.assoc_case   0   0

Regex Library    Bundled library enabled
Dynamic Library Support    enabled
Internal Sendmail Support for Windows    enabled

Directive   Local Value   Master Value   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

Tidy support   enabled
libTidy Release    1st August 2004
Extension Version    2.0 ($Id: tidy.c,v 2008/12/31 11:17:46 sebastian Exp $)

Directive   Local Value   Master Value
tidy.clean_output   no value   no value
tidy.default_config   no value   no value

Tokenizer Support    enabled

XML Support    active
XML Namespace Support    active
libxml2 Version    2.7.3

XMLReader    enabled

XMLWriter    enabled

XSL    enabled
libxslt Version    1.1.24
libxslt compiled against libxml Version    2.7.3
EXSLT    enabled
libexslt Version    0.8.13

Zend Data Cache
Version    4.0
Enabled    Yes
Shared Memory Storage Enabled    Yes
Disk Storage Enabled    Yes
Disk storage save path    C:\Program Files\Zend\ZendServer\tmp\datacache
Disk storage directory depth    2
Shared memory storage cache size    32
Shared memory storage cache segment size    32

Zend Debugger
Passive Mode Timeout    20 seconds

Directive   Local Value   Master Value
zend_debugger.allow_tunnel   no value   no value
zend_debugger.deny_hosts   no value   no value
zend_debugger.expose_remotely   no value   no value
zend_debugger.httpd_uid   -1   -1
zend_debugger.max_msg_size   2097152   2097152
zend_debugger.tunnel_max_port   65535   65535
zend_debugger.tunnel_min_port   1024   1024

Zend Optimizer+
Status    Up and Running
Startup    OK
Shared memory model    win32

Directive   Local Value   Master Value
zend_optimizerplus.blacklist_filename   no value   no value
zend_optimizerplus.consistency_checks   0   0
zend_optimizerplus.dups_fix   Off   Off
zend_optimizerplus.enable   On   On
zend_optimizerplus.enable_slow_optimizations   1   1
zend_optimizerplus.fast_shutdown   0   0
zend_optimizerplus.force_restart_timeout   180   180
zend_optimizerplus.inherited_hack   On   On
zend_optimizerplus.log_verbosity_level   1   1
zend_optimizerplus.max_accelerated_files   2000   2000
zend_optimizerplus.max_wasted_percentage   5   5
zend_optimizerplus.memory_consumption   64   64
zend_optimizerplus.optimization_level   0xfffffbbf   0xfffffbbf
zend_optimizerplus.preferred_memory_model   no value   no value
zend_optimizerplus.revalidate_freq   2   2
zend_optimizerplus.revalidate_path   Off   Off
zend_optimizerplus.save_comments   1   1
zend_optimizerplus.use_cwd   On   On
zend_optimizerplus.validate_timestamps   On   On

Zend Utils
ZendUtils    Running

Zip    enabled
Extension Version    $Id: php_zip.c,v 2009/02/05 19:53:22 pajoye Exp $
Zip version    1.8.11
Libzip version    0.9.0

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

Variable   Value
APPDATA    C:\Windows\system32\config\systemprofile\AppData\Roaming
CommonProgramFiles    C:\Program Files\Common Files
ComSpec    C:\Windows\system32\cmd.exe
LOCALAPPDATA    C:\Windows\system32\config\systemprofile\AppData\Local
OS    Windows_NT
Path    C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\DivX Shared\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\IDM Computer Solutions\UltraEdit\;C:\Program Files\IDM Computer Solutions\UltraCompare\;C:\Program Files\Common Files\IDBS Shared;C:\Program Files\Zend\ZendServer\bin
PHPRC    C:\Program Files\Zend\ZendServer\etc
PROCESSOR_IDENTIFIER    x86 Family 6 Model 23 Stepping 6, GenuineIntel
ProgramData    C:\ProgramData
ProgramFiles    C:\Program Files
PUBLIC    C:\Users\Public
SystemDrive    C:
SystemRoot    C:\Windows
TEMP    C:\Users\Mike\AppData\Local\Temp
TMP    C:\Windows\TEMP
USERPROFILE    C:\Windows\system32\config\systemprofile
windir    C:\Windows
_FCGI_MUTEX_    892

PHP Variables
Variable   Value
_REQUEST["dojo_preventCache"]   1245221034968
_REQUEST["ZENDSERVERSESSID"]   ibe7p807pg7sibf67cbv7tk6f6
_GET["dojo_preventCache"]   1245221034968
_COOKIE["ZENDSERVERSESSID"]   ibe7p807pg7sibf67cbv7tk6f6
_SERVER["APPDATA"]   C:\Windows\system32\config\systemprofile\AppData\Roaming
_SERVER["CommonProgramFiles"]   C:\Program Files\Common Files
_SERVER["ComSpec"]   C:\Windows\system32\cmd.exe
_SERVER["LOCALAPPDATA"]   C:\Windows\system32\config\systemprofile\AppData\Local
_SERVER["OS"]   Windows_NT
_SERVER["Path"]   C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\DivX Shared\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\IDM Computer Solutions\UltraEdit\;C:\Program Files\IDM Computer Solutions\UltraCompare\;C:\Program Files\Common Files\IDBS Shared;C:\Program Files\Zend\ZendServer\bin
_SERVER["PHPRC"]   C:\Program Files\Zend\ZendServer\etc
_SERVER["PROCESSOR_IDENTIFIER"]   x86 Family 6 Model 23 Stepping 6, GenuineIntel
_SERVER["ProgramData"]   C:\ProgramData
_SERVER["ProgramFiles"]   C:\Program Files
_SERVER["PUBLIC"]   C:\Users\Public
_SERVER["SystemDrive"]   C:
_SERVER["SystemRoot"]   C:\Windows
_SERVER["TEMP"]   C:\Users\Mike\AppData\Local\Temp
_SERVER["TMP"]   C:\Windows\TEMP
_SERVER["USERPROFILE"]   C:\Windows\system32\config\systemprofile
_SERVER["windir"]   C:\Windows
_SERVER["HTTP_HOST"]   localhost
_SERVER["HTTP_USER_AGENT"]   Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv: Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729) FirePHP/0.3
_SERVER["HTTP_ACCEPT"]   text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"]   en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_CHARSET"]   ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["CONTENT_TYPE"]   application/x-www-form-urlencoded
_SERVER["HTTP_REFERER"]   http://localhost/ZendServer/Index/Index
_SERVER["HTTP_COOKIE"]   ZENDSERVERSESSID=ibe7p807pg7sibf67cbv7tk6f6
_SERVER["PATH"]   C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\DivX Shared\;C:\Program Files\TortoiseSVN\bin;"C:\Program Files\Zend\ZendServer\bin";"C:\Program Files\Zend\ZendServer\share\ZendFramework\bin";
_SERVER["COMSPEC"]   C:\Windows\system32\cmd.exe
_SERVER["WINDIR"]   C:\Windows
_SERVER["SERVER_SOFTWARE"]   Apache/2.2.11 (Win32) mod_ssl/2.2.11 OpenSSL/0.9.8k
_SERVER["SERVER_NAME"]   localhost
_SERVER["DOCUMENT_ROOT"]   C:/Program Files/Zend/Apache2/htdocs
_SERVER["SCRIPT_FILENAME"]   C:/Program Files/Zend/ZendServer/GUI/html/index.php
_SERVER["REDIRECT_QUERY_STRING"]   dojo.preventCache=1245221034968
_SERVER["REDIRECT_URL"]   /ZendServer/Information/Phpinfo
_SERVER["QUERY_STRING"]   dojo.preventCache=1245221034968
_SERVER["REQUEST_URI"]   /ZendServer/Information/Phpinfo?dojo.preventCache=1245221034968
_SERVER["SCRIPT_NAME"]   /ZendServer/index.php
_SERVER["PHP_SELF"]   /ZendServer/index.php
_SERVER["REQUEST_TIME"]   1245221035

    [0] => dojo.preventCache=1245221034968

_SERVER["argc"]   1

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

Posts: 4
Joined: Wed Jun 17, 2009 7:43 am

Re: HELP: Zend/Apache2/htdocs doesn't seem to work as the root?!

Post by mikeburrelljr » Thu Jun 18, 2009 5:38 am

Please let me know if I may supply any further information that may help diagnose my ignorance with Zend CE.

Thanks in advance for your help!

- Mike

Posts: 173
Joined: Sun Dec 21, 2008 1:30 pm

Re: HELP: Zend/Apache2/htdocs doesn't seem to work as the root?!

Post by michaelle » Thu Jun 18, 2009 6:02 am

Please let us know what error do you get in the browser window ?
Also, please check your Apache error.log for errors (in 'logs' directory of Apache installation folder).

Posts: 4
Joined: Wed Jun 17, 2009 7:43 am

Re: HELP: Zend/Apache2/htdocs doesn't seem to work as the root?!

Post by mikeburrelljr » Fri Jun 19, 2009 3:14 am

In the access logs I see: - - [18/Jun/2009:19:08:13 -0700] "GET /monkey.php HTTP/1.1" 200 2195

And when trying to access the file via:

I see:
Zend Server Test Page
Zend Server is now up and running on this server. Once content is added this message will no longer be displayed.

(No matter what I put in this file, I cannot get the content to change. All documentation I read says that the apache2/htdocs/ folder is the root - which is where the 'monkey.php' file lives - however I am spinning in circles.)

Any ideas?


Posts: 4
Joined: Wed Jun 17, 2009 7:43 am

Re: HELP: Zend/Apache2/htdocs doesn't seem to work as the root?!

Post by mikeburrelljr » Fri Jun 19, 2009 3:20 am

Note: I even located the 'index.html' file (that appears to be a version of the 'Zend Server Test Page') in the 'apache2/htdocs/' folder and modified it.

I then:
1) did a hard refresh
2) turn off the zend caching temporarily
3) and even unistalled and reinstalled zendce (full install - port 80)
... All to no avail. (It still doesn't show my updated version.)

Let me know if any other information may help here.


User avatar
Zend Global Support
Posts: 994
Joined: Sun Dec 14, 2008 9:48 am

Re: HELP: Zend/Apache2/htdocs doesn't seem to work as the root?!

Post by zvika » Mon Jun 22, 2009 11:23 am


I would consider htaccess and url rewrite if active on the document root

What is the output of Zend\apache2\bin\httpd.exe -S (capital S) running from command line?
Try to check the Apache configuration for the virtual host(s) pointing to the document root Zend/Apache2/htdocs/

Let me know what you find.
Zvika Dror
Zend Support Team

Post Reply