typo3 Installation, Fehler im Apache error log

xcvb

Well-Known Member
Hi Leute,

ich habe hier einen FAMP installiert für typo3-lts (aus den Ports). Wenn ich nun im Browser http://webserver aufrufe, dann werde ich weitergeleitet zu http://webserver/typo3/sysext/install/Start/Install.php und sehe......nichts. Eigentlich erwarte ich dort die Installationsroutine für typo3. Im Errorlog des Apache sehe ich folgendes:
Code:
PHP Fatal error:  Call to undefined function TYPO3\\Flow\\Package\\json_decode() in /usr/local/www/typo3_src-6.2.14/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Package/PackageManager.php on line 855

Kann jemand helfen?
 
Da fehlt dir wahrscheinlich das devel/php5-json Modul. Wenn du eine andere PHP-Version hast, heißt es entsprechend anders.
 
Hi Yamagi. Danke für den Tipp, aber php-json ist installiert:

Code:
> pkg info | grep php
mod_php56-5.6.11  PHP Scripting Language
php56-5.6.11  PHP Scripting Language
php56-bz2-5.6.11  The bz2 shared extension for php
php56-ctype-5.6.11  The ctype shared extension for php
php56-fileinfo-5.6.11  The fileinfo shared extension for php
php56-filter-5.6.11  The filter shared extension for php
php56-hash-5.6.11  The hash shared extension for php
php56-json-5.6.11  The json shared extension for php
php56-mbstring-5.6.11  The mbstring shared extension for php
php56-mcrypt-5.6.11  The mcrypt shared extension for php
php56-mysqli-5.6.11  The mysqli shared extension for php
php56-openssl-5.6.11  The openssl shared extension for php
php56-session-5.6.11  The session shared extension for php
php56-soap-5.6.11  The soap shared extension for php
php56-xml-5.6.11  The xml shared extension for php
php56-zip-5.6.11  The zip shared extension for php
php56-zlib-5.6.11  The zlib shared extension for php
phpMyAdmin-4.4.11  Set of PHP-scripts to manage MySQL over the web
 
Ist es auch eingebunden?
Siehe dazu /usr/local/etc/php/extensions.ini.

Alternativ kannst du es mit einem php-Skript anzeigen lassen:
Code:
<?php
phpinfo();

Rob
 
Ich habe hier zusätzlich noch eine Test-VM. Dort läfut das (auch mit PHP-5.6). Dort komme ich bis zur typo3 Installationsroutine. Auf der VM arbeite ich allerdings mit Paketen, auf dem Server mit Ports.

Nachtrag: wenn ich mir die Ausgabe von phpinfo() ansehe, dann steht dort - im Gegensatz zu meiner Test-VM" - nichts von "json support enabled". :(
 
Setz mal bitte ein Skript auf, wie ich oben beschrieb und lass dir damit genau anzeigen, welche Module geladen werden.

Rob
 
Code:
PHP logo
PHP Version 5.6.11
System    FreeBSD nintra01.foobar.dom 10.2-PRERELEASE FreeBSD 10.2-PRERELEASE #0 r284813: Thu Jun 25 15:52:07 UTC 2015 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
Build Date    Jul 17 2015 10:48:44
Configure Command    './configure' '--with-layout=GNU' '--localstatedir=/var' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--enable-mysqlnd' '--with-libxml-dir=/usr/local' '--with-pcre-regex=/usr/local' '--with-zlib-dir=/usr' '--program-prefix=' '--disable-cli' '--disable-cgi' '--with-apxs2=/usr/local/sbin/apxs' '--with-regex=php' '--with-zend-vm=CALL' '--enable-maintainer-zts' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=amd64-portbld-freebsd10.2' 'build_alias=amd64-portbld-freebsd10.2' 'CC=cc' 'CFLAGS=-O2 '-pipe' '-fstack-protector' '-fno-strict-aliasing'' 'LDFLAGS= '-fstack-protector'' 'LIBS=-lpthread' 'CPPFLAGS=' 'CPP=cpp' 'CXX=c++' 'CXXFLAGS=-O2 '-pipe' '-fstack-protector' '-fno-strict-aliasing'
Server API    Apache 2.0 Handler
Virtual Directory Support    enabled
Configuration File (php.ini) Path    /usr/local/etc
Loaded Configuration File    /usr/local/etc/php.ini
Scan this dir for additional .ini files    /usr/local/etc/php
Additional .ini files parsed    /usr/local/etc/php/extensions.ini
PHP API    20131106
PHP Extension    20131226
Zend Extension    220131226
Zend Extension Build    API220131226,TS
PHP Extension Build    API20131226,TS
Debug Build    no
Thread Safety    enabled
Zend Signal Handling    disabled
Zend Memory Manager    enabled
Zend Multibyte Support    disabled
IPv6 Support    enabled
DTrace Support    disabled
Registered PHP Streams   php, file, glob, data, http, ftp
Registered Stream Socket Transports   tcp, udp, unix, udg
Registered Stream Filters   string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk
Zend logo This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
Configuration
apache2handler
Apache Version    Apache/2.4.16 (FreeBSD) PHP/5.6.11
Apache API Version    20120211
Server Administrator    edv@foobar.de
Hostname:Port    nintra01.foobar.dom:0
User/Group    www(80)/80
Max Requests    Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts    Connection: 60 - Keep-Alive: 5
Virtual Server    Yes
Server Root    /usr/local
Loaded Modules    core mod_so http_core mod_authn_file mod_authn_core mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_core mod_access_compat mod_auth_basic mod_reqtimeout mod_filter mod_mime mod_log_config mod_env mod_expires mod_headers mod_setenvif mod_version prefork mod_unixd mod_status mod_autoindex mod_dir mod_alias mod_rewrite mod_php5
Directive   Local Value   Master Value
engine   1   1
last_modified   0   0
xbithack   0   0
Apache Environment
Variable   Value
HTTP_HOST    nintra01.foobar.dom
HTTP_USER_AGENT    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
HTTP_ACCEPT    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE    de,en-US;q=0.7,en;q=0.3
HTTP_ACCEPT_ENCODING    gzip, deflate
HTTP_DNT    1
HTTP_CONNECTION    keep-alive
PATH    /sbin:/bin:/usr/sbin:/usr/bin
LD_LIBRARY_PATH    /usr/local/lib:/usr/local/lib
SERVER_SIGNATURE    no value
SERVER_SOFTWARE    Apache/2.4.16 (FreeBSD) PHP/5.6.11
SERVER_NAME    nintra01.foobar.dom
SERVER_ADDR    172.20.1.164
SERVER_PORT    80
REMOTE_ADDR    172.20.3.3
DOCUMENT_ROOT    /usr/local/www/typo3-LTS
REQUEST_SCHEME    http
CONTEXT_PREFIX    no value
CONTEXT_DOCUMENT_ROOT    /usr/local/www/typo3-LTS
SERVER_ADMIN    edv@foobar.de
SCRIPT_FILENAME    /usr/local/www/typo3-LTS/myphp.php
REMOTE_PORT    58654
GATEWAY_INTERFACE    CGI/1.1
SERVER_PROTOCOL    HTTP/1.1
REQUEST_METHOD    GET
QUERY_STRING    no value
REQUEST_URI    /myphp.php
SCRIPT_NAME    /myphp.php
HTTP Headers Information
HTTP Request Headers
HTTP Request    GET /myphp.php HTTP/1.1
Host    nintra01.foobar.dom
User-Agent    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
Accept    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language    de,en-US;q=0.7,en;q=0.3
Accept-Encoding    gzip, deflate
DNT    1
Connection    keep-alive
HTTP Response Headers
X-Powered-By    PHP/5.6.11
Core
PHP Version    5.6.11
Directive   Local Value   Master Value
allow_url_fopen   On   On
allow_url_include   Off   Off
always_populate_raw_post_data   0   0
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   UTF-8   UTF-8
default_mimetype   text/html   text/html
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   Off   Off
enable_post_data_reading   On   On
error_append_string   no value   no value
error_log   no value   no value
error_prepend_string   no value   no value
error_reporting   22527   22527
exit_on_timeout   Off   Off
expose_php   On   On
extension_dir   /usr/local/lib/php/20131226-zts   /usr/local/lib/php/20131226-zts
file_uploads   On   On
highlight.comment   #FF8000   #FF8000
highlight.default   #0000BB   #0000BB
highlight.html   #000000   #000000
highlight.keyword   #007700   #007700
highlight.string   #DD0000   #DD0000
html_errors   On   On
ignore_repeated_errors   Off   Off
ignore_repeated_source   Off   Off
ignore_user_abort   Off   Off
implicit_flush   Off   Off
include_path   .:/usr/local/share/pear   .:/usr/local/share/pear
input_encoding   no value   no value
internal_encoding   no value   no value
log_errors   On   On
log_errors_max_len   1024   1024
mail.add_x_header   On   On
mail.force_extra_parameters   no value   no value
mail.log   no value   no value
max_execution_time   300   300
max_file_uploads   20   20
max_input_nesting_level   64   64
max_input_time   60   60
max_input_vars   1000   1000
memory_limit   128M   128M
open_basedir   no value   no value
output_buffering   4096   4096
output_encoding   no value   no value
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
report_memleaks   On   On
report_zend_debug   On   On
request_order   GP   GP
sendmail_from   no value   no value
sendmail_path   /usr/sbin/sendmail -t -i    /usr/sbin/sendmail -t -i
serialize_precision   17   17
short_open_tag   Off   Off
SMTP   localhost   localhost
smtp_port   25   25
sql.safe_mode   Off   Off
sys_temp_dir   no value   no value
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
user_ini.cache_ttl   300   300
user_ini.filename   .user.ini   .user.ini
variables_order   GPCS   GPCS
xmlrpc_error_number   0   0
xmlrpc_errors   Off   Off
zend.detect_unicode   On   On
zend.enable_gc   On   On
zend.multibyte   Off   Off
zend.script_encoding   no value   no value
date
date/time support    enabled
"Olson" Timezone Database Version    2015.5
Timezone Database    internal
Default timezone    UTC
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
ereg
Regex Library    Bundled library enabled
libxml
libXML support    active
libXML Compiled Version    2.9.2
libXML Loaded Version    20902
libXML streams    enabled
mysqlnd
mysqlnd   enabled
Version    mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $
Compression    not supported
core SSL    supported
extended SSL    not supported
Command buffer size    4096
Read buffer size    32768
Read timeout    31536000
Collecting statistics    Yes
Collecting memory statistics    No
Tracing    n/a
Loaded plugins    mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password
API Extensions    no value
mysqlnd statistics   
bytes_sent    0
bytes_received    0
packets_sent    0
packets_received    0
protocol_overhead_in    0
protocol_overhead_out    0
bytes_received_ok_packet    0
bytes_received_eof_packet    0
bytes_received_rset_header_packet    0
bytes_received_rset_field_meta_packet    0
bytes_received_rset_row_packet    0
bytes_received_prepare_response_packet    0
bytes_received_change_user_packet    0
packets_sent_command    0
packets_received_ok    0
packets_received_eof    0
packets_received_rset_header    0
packets_received_rset_field_meta    0
packets_received_rset_row    0
packets_received_prepare_response    0
packets_received_change_user    0
result_set_queries    0
non_result_set_queries    0
no_index_used    0
bad_index_used    0
slow_queries    0
buffered_sets    0
unbuffered_sets    0
ps_buffered_sets    0
ps_unbuffered_sets    0
flushed_normal_sets    0
flushed_ps_sets    0
ps_prepared_never_executed    0
ps_prepared_once_executed    0
rows_fetched_from_server_normal    0
rows_fetched_from_server_ps    0
rows_buffered_from_client_normal    0
rows_buffered_from_client_ps    0
rows_fetched_from_client_normal_buffered    0
rows_fetched_from_client_normal_unbuffered    0
rows_fetched_from_client_ps_buffered    0
rows_fetched_from_client_ps_unbuffered    0
rows_fetched_from_client_ps_cursor    0
rows_affected_normal    0
rows_affected_ps    0
rows_skipped_normal    0
rows_skipped_ps    0
copy_on_write_saved    0
copy_on_write_performed    0
command_buffer_too_small    0
connect_success    0
connect_failure    0
connection_reused    0
reconnect    0
pconnect_success    0
active_connections    0
active_persistent_connections    0
explicit_close    0
implicit_close    0
disconnect_close    0
in_middle_of_command_close    0
explicit_free_result    0
implicit_free_result    0
explicit_stmt_close    0
implicit_stmt_close    0
mem_emalloc_count    0
mem_emalloc_amount    0
mem_ecalloc_count    0
mem_ecalloc_amount    0
mem_erealloc_count    0
mem_erealloc_amount    0
mem_efree_count    0
mem_efree_amount    0
mem_malloc_count    0
mem_malloc_amount    0
mem_calloc_count    0
mem_calloc_amount    0
mem_realloc_count    0
mem_realloc_amount    0
mem_free_count    0
mem_free_amount    0
mem_estrndup_count    0
mem_strndup_count    0
mem_estndup_count    0
mem_strdup_count    0
proto_text_fetched_null    0
proto_text_fetched_bit    0
proto_text_fetched_tinyint    0
proto_text_fetched_short    0
proto_text_fetched_int24    0
proto_text_fetched_int    0
proto_text_fetched_bigint    0
proto_text_fetched_decimal    0
proto_text_fetched_float    0
proto_text_fetched_double    0
proto_text_fetched_date    0
proto_text_fetched_year    0
proto_text_fetched_time    0
proto_text_fetched_datetime    0
proto_text_fetched_timestamp    0
proto_text_fetched_string    0
proto_text_fetched_blob    0
proto_text_fetched_enum    0
proto_text_fetched_set    0
proto_text_fetched_geometry    0
proto_text_fetched_other    0
proto_binary_fetched_null    0
proto_binary_fetched_bit    0
proto_binary_fetched_tinyint    0
proto_binary_fetched_short    0
proto_binary_fetched_int24    0
proto_binary_fetched_int    0
proto_binary_fetched_bigint    0
proto_binary_fetched_decimal    0
proto_binary_fetched_float    0
proto_binary_fetched_double    0
proto_binary_fetched_date    0
proto_binary_fetched_year    0
proto_binary_fetched_time    0
proto_binary_fetched_datetime    0
proto_binary_fetched_timestamp    0
proto_binary_fetched_string    0
proto_binary_fetched_blob    0
proto_binary_fetched_enum    0
proto_binary_fetched_set    0
proto_binary_fetched_geometry    0
proto_binary_fetched_other    0
init_command_executed_count    0
init_command_failed_count    0
com_quit    0
com_init_db    0
com_query    0
com_field_list    0
com_create_db    0
com_drop_db    0
com_refresh    0
com_shutdown    0
com_statistics    0
com_process_info    0
com_connect    0
com_process_kill    0
com_debug    0
com_ping    0
com_time    0
com_delayed_insert    0
com_change_user    0
com_binlog_dump    0
com_table_dump    0
com_connect_out    0
com_register_slave    0
com_stmt_prepare    0
com_stmt_execute    0
com_stmt_send_long_data    0
com_stmt_close    0
com_stmt_reset    0
com_stmt_set_option    0
com_stmt_fetch    0
com_deamon    0
bytes_received_real_data_normal    0
bytes_received_real_data_ps    0
pcre
PCRE (Perl Compatible Regular Expressions) Support    enabled
PCRE Library Version    8.37 2015-04-28
Directive   Local Value   Master Value
pcre.backtrack_limit   1000000   1000000
pcre.recursion_limit   100000   100000
Reflection
Reflection   enabled
Version    $Id: eff8bdc65b0beaf8f4ade6f06f848e6d43dfd826 $
SPL
SPL support   enabled
Interfaces    Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes    AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException
standard
Dynamic Library Support    enabled
Path to sendmail    /usr/sbin/sendmail -t -i
Directive   Local Value   Master Value
assert.active   1   1
assert.bail   0   0
assert.callback   no value   no value
assert.quiet_eval   0   0
assert.warning   1   1
auto_detect_line_endings   0   0
default_socket_timeout   60   60
from   no value   no value
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
Additional Modules
Module Name
Environment
Variable   Value
PATH    /sbin:/bin:/usr/sbin:/usr/bin
LD_LIBRARY_PATH    /usr/local/lib:/usr/local/lib
PWD    /
HOME    /
RC_PID    14633
PHP Variables
Variable   Value
_SERVER["HTTP_HOST"]   nintra01.foobar.dom
_SERVER["HTTP_USER_AGENT"]   Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0
_SERVER["HTTP_ACCEPT"]   text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"]   de,en-US;q=0.7,en;q=0.3
_SERVER["HTTP_ACCEPT_ENCODING"]   gzip, deflate
_SERVER["HTTP_DNT"]   1
_SERVER["HTTP_CONNECTION"]   keep-alive
_SERVER["PATH"]   /sbin:/bin:/usr/sbin:/usr/bin
_SERVER["LD_LIBRARY_PATH"]   /usr/local/lib:/usr/local/lib
_SERVER["SERVER_SIGNATURE"]   no value
_SERVER["SERVER_SOFTWARE"]   Apache/2.4.16 (FreeBSD) PHP/5.6.11
_SERVER["SERVER_NAME"]   nintra01.foobar.dom
_SERVER["SERVER_ADDR"]   172.20.1.164
_SERVER["SERVER_PORT"]   80
_SERVER["REMOTE_ADDR"]   172.20.3.3
_SERVER["DOCUMENT_ROOT"]   /usr/local/www/typo3-LTS
_SERVER["REQUEST_SCHEME"]   http
_SERVER["CONTEXT_PREFIX"]   no value
_SERVER["CONTEXT_DOCUMENT_ROOT"]   /usr/local/www/typo3-LTS
_SERVER["SERVER_ADMIN"]   edv@foobar.de
_SERVER["SCRIPT_FILENAME"]   /usr/local/www/typo3-LTS/myphp.php
_SERVER["REMOTE_PORT"]   58654
_SERVER["GATEWAY_INTERFACE"]   CGI/1.1
_SERVER["SERVER_PROTOCOL"]   HTTP/1.1
_SERVER["REQUEST_METHOD"]   GET
_SERVER["QUERY_STRING"]   no value
_SERVER["REQUEST_URI"]   /myphp.php
_SERVER["SCRIPT_NAME"]   /myphp.php
_SERVER["PHP_SELF"]   /myphp.php
_SERVER["REQUEST_TIME_FLOAT"]   1437132541.496
_SERVER["REQUEST_TIME"]   1437132541
[CODE]
 
Hi,

leider muss ich nochmal um Hilfe bitten. Die Installation und die Einrichtung von typo3 lief jetzt soweit problemlos. Auch wenn ich unter http://webserver/typo3/install unter "System Environment" gucke, stehen dort die ganzen PHP Extensions auf grün. Ich bekomme aber wieder nur eine weiße Seite im Browser beim aufruf des Backends http://webserver/typo3.

Code:
http-access.log:
"GET /typo3/ HTTP/1.1" 500 -

http-error.log:
PHP Fatal error:  Call to undefined function TYPO3\\CMS\\Core\\Localization\\Parser\\simplexml_load_file() in /usr/local/www/typo3_src-6.2.14/typo3/sysext/core/Classes/Localization/Parser/AbstractXmlParser.php on line 97

Auf meiner Test-VM passiert übrigens genau das gleiche. Auch mit einer anderen Version von typo3 passiert mir das. Ich denke das irgendwas an der PHP-Installation klemmt, aber ich habe keinen Plan was es sein könnte.
 
Na dann installiere ich die auch gleich mal ;)
xmlrpc gibts auch noch. Nehm ich auch mit...
 
Zurück
Oben