I continue the issue but now I change server to my router with OpenWRT on board.
WWW sevwer: lighttpd/ + php5
PHP working, index.php with included data:
<?php phpinfo(); ?>
show:
PHP Logo
PHP Version 5.4.5
System Linux OpenWrt 3.3.8 #8 Sat Jun 14 13:35:09 CEST 2014 mips
Build Date Mar 14 2013 13:12:38
Configure Command './configure' '--target=mips-openwrt-linux' '--host=mips-openwrt-linux' '--build=i486-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-shared' '--disable-static' '--disable-rpath' '--disable-debug' '--without-pear' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php5' '--disable-short-tags' '--with-zlib=/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--with-zlib-dir=/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--with-pcre-regex=/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--disable-phar' '--enable-cli' '--enable-cgi' '--enable-apc=shared' '--disable-apc-mmap' '--disable-apc-pthreadmutex' '--enable-calendar=shared' '--enable-ctype=shared' '--with-curl=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--enable-fileinfo=shared' '--with-gettext=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib/libintl-full' '--enable-dio=shared' '--enable-dom=shared' '--enable-exif=shared' '--enable-ftp=shared' '--with-gd=shared' '--without-freetype-dir' '--with-jpeg-dir=/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--with-png-dir=/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--without-xpm-dir' '--without-t1lib' '--enable-gd-native-ttf' '--disable-gd-jis-conv' '--with-gmp=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--enable-hash=shared' '--enable-http=shared' '--without-http-shared-deps' '--with-http-curl-requests=/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--with-iconv=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib/libiconv-stub' '--enable-json=shared' '--with-ldap=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--with-ldap-sasl=/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--with-libevent=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--enable-mbstring=shared' '--enable-mbregex' '--with-mcrypt=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--with-mysql=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--with-mysqli=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/bin/mysql_config' '--with-openssl=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--with-kerberos=no' '--with-openssl-dir=/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--enable-pcntl=shared' '--enable-pdo=shared' '--with-pdo-mysql=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--with-pdo-pgsql=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--with-pdo-sqlite=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--with-pgsql=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--enable-session=shared' '--enable-shmop=shared' '--enable-simplexml=shared' '--enable-soap=shared' '--enable-sockets=shared' '--with-sqlite=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--with-sqlite3=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--enable-sysvmsg=shared' '--enable-sysvsem=shared' '--enable-sysvshm=shared' '--enable-tokenizer=shared' '--enable-xml=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--enable-xmlreader=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--enable-xmlwriter=shared,/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr' '--enable-zip=shared' '--disable-filter' '--enable-libxml' '--with-libxml-dir=/build/ar71xx/generic/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include/libxml2' '--with-system-tzdata'
Server API CGI/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc
Loaded Configuration File /etc/php.ini
Scan this dir for additional .ini files /etc/php5
Additional .ini files parsed /etc/php5/session.ini
PHP API 20100412
PHP Extension 20100525
Zend Extension 220100525
Zend Extension Build API220100525,NTS
PHP Extension Build API20100525,NTS
Debug Build no
Thread Safety disabled
Zend Signal Handling disabled
Zend Memory Manager enabled
Zend Multibyte Support disabled
IPv6 Support enabled
DTrace Support disabled
Registered PHP Streams compress.zlib, php, file, glob, data, http, ftp
Registered Stream Socket Transports tcp, udp, unix, udg
Registered Stream Filters zlib.*, 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.4.0, Copyright (c) 1998-2012 Zend Technologies
PHP Credits
Configuration
cgi-fcgi
Directive Local Value Master Value
cgi.check_shebang_line 1 1
cgi.discard_path 0 0
cgi.fix_pathinfo 1 1
cgi.force_redirect 0 0
cgi.nph 0 0
cgi.redirect_status_env no value no value
cgi.rfc2616_headers 0 0
fastcgi.logging 1 1
Core
PHP Version 5.4.5
Directive Local Value Master Value
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
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root /mnt/sdb1/foto /mnt/sdb1/foto
docref_ext no value no value
docref_root no value no value
enable_dl On On
enable_post_data_reading On On
error_append_string no value no value
error_log /var/log/php_errors.log /var/log/php_errors.log
error_prepend_string no value no value
error_reporting 30711 30711
exit_on_timeout Off Off
expose_php On On
extension_dir /usr/lib/php /usr/lib/php
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 .: .:
log_errors On On
log_errors_max_len 1024 1024
mail.add_x_header Off Off
mail.force_extra_parameters no value no value
mail.log no value no value
max_execution_time 30 30
max_file_uploads 20 20
max_input_nesting_level 64 64
max_input_time 60 60
max_input_vars 1000 1000
memory_limit 8M 8M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
report_memleaks On On
report_zend_debug On On
request_order GP GP
sendmail_from no value no value
sendmail_path -t -i -t -i
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 /tmp /tmp
user_dir no value no value
user_ini.cache_ttl 300 300
user_ini.filename .user.ini .user.ini
variables_order EGPCS EGPCS
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
Warning: phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /mnt/sdb1/foto/index.php on line 1
date/time support enabled
"Olson" Timezone Database Version 0.system
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.7.8
libXML Loaded Version 20708
libXML streams enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 8.11 2010-12-10
Directive Local Value Master Value
pcre.backtrack_limit 1000000 1000000
pcre.recursion_limit 100000 100000
posix
Revision $Id: 967584c6fadb3467f31abe8e13caa8764df85867 $
Reflection
Reflection enabled
Version $Id: ee76afbc02b3063f63d87c9d9729b509ac9e10cf $
session
Session Support enabled
Registered save handlers files user
Registered serializer handlers php php_binary
Directive Local Value Master Value
session.auto_start Off Off
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 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler no value no value
session.save_path /tmp /tmp
session.serialize_handler php php
session.upload_progress.cleanup On On
session.upload_progress.enabled On On
session.upload_progress.freq 1% 1%
session.upload_progress.min_freq 1 1
session.upload_progress.name PHP_SESSION_UPLOAD_PROGRESS PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefix upload_progress_ upload_progress_
session.use_cookies On On
session.use_only_cookies On On
session.use_trans_sid 0 0
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 -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=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value
zlib
ZLib Support enabled
Stream Wrapper compress.zlib://
Stream Filter zlib.inflate, zlib.deflate
Compiled Version 1.2.7
Linked Version 1.2.7
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
USER root
LD_LIBRARY_PATH /opt/lib:/opt/usr/lib
HOME /root
OLDPWD /var/log
SSH_TTY /dev/pts/0
PS1 \[\033[01;32m\]\u@\h:\w\$\[\033[00m\]
LOGNAME root
TERM xterm
CONFIG_NUM_SECTIONS 1
PATH /opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:/opt/usr/bin:/opt/usr/sbin
port 1026
CONFIG_LIST_STATE no value
CONFIG_cfg027b30_TYPE php5-fastcgi
CONFIG_cfg027b30_enabled 1
SHELL /bin/ash
enabled 1
CONFIG_SECTION cfg027b30
PWD /var/log/lighttpd
SSH_CONNECTION 192.168.10.111 8561 192.168.10.1 22
HISTFILE /tmp/.history
cfgtype php5-fastcgi
CONFIG_SECTIONS cfg027b30
CONFIG_cfg027b30_port 1026
PHP Variables
Variable Value
_SERVER["USER"] root
_SERVER["LD_LIBRARY_PATH"] /opt/lib:/opt/usr/lib
_SERVER["HOME"] /root
_SERVER["OLDPWD"] /var/log
_SERVER["SSH_TTY"] /dev/pts/0
_SERVER["PS1"] \[\033[01;32m\]\u@\h:\w\$\[\033[00m\]
_SERVER["LOGNAME"] root
_SERVER["TERM"] xterm
_SERVER["CONFIG_NUM_SECTIONS"] 1
_SERVER["PATH"] /opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:/opt/usr/bin:/opt/usr/sbin
_SERVER["port"] 1026
_SERVER["CONFIG_LIST_STATE"] no value
_SERVER["CONFIG_cfg027b30_TYPE"] php5-fastcgi
_SERVER["CONFIG_cfg027b30_enabled"] 1
_SERVER["SHELL"] /bin/ash
_SERVER["enabled"] 1
_SERVER["CONFIG_SECTION"] cfg027b30
_SERVER["PWD"] /var/log/lighttpd
_SERVER["SSH_CONNECTION"] 192.168.10.111 8561 192.168.10.1 22
_SERVER["HISTFILE"] /tmp/.history
_SERVER["cfgtype"] php5-fastcgi
_SERVER["CONFIG_SECTIONS"] cfg027b30
_SERVER["CONFIG_cfg027b30_port"] 1026
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_ACCEPT_LANGUAGE"] pl,en-US;q=0.7,en;q=0.3
_SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows NT 5.1; rv:36.0) Gecko/20100101 Firefox/36.0
_SERVER["HTTP_HOST"] 192.168.10.1:88
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REDIRECT_STATUS"] 200
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /
_SERVER["DOCUMENT_ROOT"] /mnt/sdb1/foto/
_SERVER["SCRIPT_FILENAME"] /mnt/sdb1/foto/index.php
_SERVER["PATH_INFO"] no value
_SERVER["SCRIPT_NAME"] /index.php
_SERVER["REMOTE_ADDR"] 192.168.10.111
_SERVER["REMOTE_PORT"] 11165
_SERVER["SERVER_ADDR"] 192.168.10.1
_SERVER["SERVER_PORT"] 88
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_NAME"] 192.168.10.1
_SERVER["SERVER_SOFTWARE"] lighttpd/1.4.30
_SERVER["FCGI_ROLE"] RESPONDER
_SERVER["PHP_SELF"] /index.php
_SERVER["REQUEST_TIME_FLOAT"] 1425158010.24
_SERVER["REQUEST_TIME"] 1425158010
_SERVER["argv"]
Array
(
)
_SERVER["argc"] 0
_ENV["USER"] root
_ENV["LD_LIBRARY_PATH"] /opt/lib:/opt/usr/lib
_ENV["HOME"] /root
_ENV["OLDPWD"] /var/log
_ENV["SSH_TTY"] /dev/pts/0
_ENV["PS1"] \[\033[01;32m\]\u@\h:\w\$\[\033[00m\]
_ENV["LOGNAME"] root
_ENV["TERM"] xterm
_ENV["CONFIG_NUM_SECTIONS"] 1
_ENV["PATH"] /opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/opt/bin:/opt/sbin:/opt/usr/bin:/opt/usr/sbin
_ENV["port"] 1026
_ENV["CONFIG_LIST_STATE"] no value
_ENV["CONFIG_cfg027b30_TYPE"] php5-fastcgi
_ENV["CONFIG_cfg027b30_enabled"] 1
_ENV["SHELL"] /bin/ash
_ENV["enabled"] 1
_ENV["CONFIG_SECTION"] cfg027b30
_ENV["PWD"] /var/log/lighttpd
_ENV["SSH_CONNECTION"] 192.168.10.111 8561 192.168.10.1 22
_ENV["HISTFILE"] /tmp/.history
_ENV["cfgtype"] php5-fastcgi
_ENV["CONFIG_SECTIONS"] cfg027b30
_ENV["CONFIG_cfg027b30_port"] 1026
_ENV["HTTP_CONNECTION"] keep-alive
_ENV["HTTP_ACCEPT_ENCODING"] gzip, deflate
_ENV["HTTP_ACCEPT_LANGUAGE"] pl,en-US;q=0.7,en;q=0.3
_ENV["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
_ENV["HTTP_USER_AGENT"] Mozilla/5.0 (Windows NT 5.1; rv:36.0) Gecko/20100101 Firefox/36.0
_ENV["HTTP_HOST"] 192.168.10.1:88
_ENV["SERVER_PROTOCOL"] HTTP/1.1
_ENV["REDIRECT_STATUS"] 200
_ENV["REQUEST_METHOD"] GET
_ENV["QUERY_STRING"] no value
_ENV["REQUEST_URI"] /
_ENV["DOCUMENT_ROOT"] /mnt/sdb1/foto/
_ENV["SCRIPT_FILENAME"] /mnt/sdb1/foto/index.php
_ENV["PATH_INFO"] no value
_ENV["SCRIPT_NAME"] /index.php
_ENV["REMOTE_ADDR"] 192.168.10.111
_ENV["REMOTE_PORT"] 11165
_ENV["SERVER_ADDR"] 192.168.10.1
_ENV["SERVER_PORT"] 88
_ENV["GATEWAY_INTERFACE"] CGI/1.1
_ENV["SERVER_NAME"] 192.168.10.1
_ENV["SERVER_SOFTWARE"] lighttpd/1.4.30
_ENV["FCGI_ROLE"] RESPONDER
_ENV["PHP_SELF"] /index.php
_ENV["REQUEST_TIME_FLOAT"] 1425158010.24
_ENV["REQUEST_TIME"] 1425158010
_ENV["argv"]
Array
(
)
_ENV["argc"] 0
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
license@php.net.
PS. Permissions is OK.