76

Odp: Lighttpd + php5 = nie działa

Zrób więc

echo "<?php phpinfo(); ?>" > /www2/prv/test.php

i wklep w przeglądarkę http://192.168.1.1/prv/test.php

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

77 (edytowany przez badziewiak 2010-12-23 20:08:40)

Odp: Lighttpd + php5 = nie działa

http://192.168.1.1/prv/test.php
Nie udało się nawiązać połączenia
Firefox nie może nawiązać połączenia z serwerem 192.168.1.1.

ale to nic dziwnego, bo dziala na https.

https://192.168.1.1/prv/test.php
No input file specified.

Oczywiscie plik istnieje.

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

78

Odp: Lighttpd + php5 = nie działa

I get the error "No input file specified" when trying to use PHP  w http://redmine.lighttpd.net/wiki/1/Freq … dQuestions

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

79

Odp: Lighttpd + php5 = nie działa

Cezary napisał/a:

I get the error "No input file specified" when trying to use PHP  w http://redmine.lighttpd.net/wiki/1/Freq … dQuestions

No dobra, ale w moim przypadku to jak powinno to wygladac?

server.port = 80
server.bind = "192.0.2.1" 

$SERVER["socket"] == "192.168.2.100:80" {
   status.status-url = "/server-status" 
}

$SERVER["socket"] == "/path/to/unix_domain_socket:1" { }
MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

80

Odp: Lighttpd + php5 = nie działa

Ale Ty w ogóle nie tą część czytasz smile

"I get the error "No input file specified" when trying to use PHP¶
Sadly, this error message can mean a lot of things. A common explanation attempt: PHP is unable to locate or open the file which it is supposed to parse. This can have a lot of reasons:

    * You forgot to add '''cgi.fix_pathinfo=1 to your php.ini''' file
      See the comments in the PHP docs. The issue here is that the environment variable SCRIPT_FILENAME is not being passed to PHP.
    * Make sure you did not set doc_root or userdir in php.ini, or if you have set it, make sure it has the correct value (doc_root should match lighttpd's server.document-root option in this case)
    * If open_basedir is set, make sure the requested file is below one of the directories which is specified there. In the past PHP parsed files which were not inside open_basedir as well, but this security problem was fixed (in php-5.2.3 or so)."

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

81

Odp: Lighttpd + php5 = nie działa

Cezary napisał/a:

Ale Ty w ogóle nie tą część czytasz smile

"I get the error "No input file specified" when trying to use PHP¶
Sadly, this error message can mean a lot of things. A common explanation attempt: PHP is unable to locate or open the file which it is supposed to parse. This can have a lot of reasons:

    * You forgot to add '''cgi.fix_pathinfo=1 to your php.ini''' file
      See the comments in the PHP docs. The issue here is that the environment variable SCRIPT_FILENAME is not being passed to PHP.
    * Make sure you did not set doc_root or userdir in php.ini, or if you have set it, make sure it has the correct value (doc_root should match lighttpd's server.document-root option in this case)
    * If open_basedir is set, make sure the requested file is below one of the directories which is specified there. In the past PHP parsed files which were not inside open_basedir as well, but this security problem was fixed (in php-5.2.3 or so)."

Istnieje w pliku

cgi.fix_pathinfo=1

Dalsze czesci juz nie. Jesli mozna, wklejam caly plik ini, prosze o ewentualne sugestie korekty/dopisania, ale w miare mozliwosci lopatologicznie, bo prostym elektrykiem jestem smile

[PHP]

zend.ze1_compatibility_mode = Off

; Language Options

engine = On
;short_open_tag = Off
precision    =  12
y2k_compliance = On
output_buffering = Off
;output_handler =
zlib.output_compression = Off
;zlib.output_compression_level = -1
;zlib.output_handler =
implicit_flush = Off
unserialize_callback_func =
serialize_precision = 100
allow_call_time_pass_reference = On

safe_mode = Off
safe_mode_gid = Off
safe_mode_include_dir =
safe_mode_exec_dir =
safe_mode_allowed_env_vars = PHP_
safe_mode_protected_env_vars = LD_LIBRARY_PATH
;open_basedir =
disable_functions =
disable_classes =

; Colors for Syntax Highlighting mode.  Anything that's acceptable in
; <span style="color: ???????"> would work.
;highlight.string  = #DD0000
;highlight.comment = #FF9900
;highlight.keyword = #007700
;highlight.bg      = #FFFFFF
;highlight.default = #0000BB
;highlight.html    = #000000

;ignore_user_abort = On
;realpath_cache_size = 16k
;realpath_cache_ttl = 120

; Miscellaneous

expose_php = On

; Resource Limits

max_execution_time = 30    ; Maximum execution time of each script, in seconds.
max_input_time = 60    ; Maximum amount of time each script may spend parsing request data.
;max_input_nesting_level = 64
memory_limit = 8M    ; Maximum amount of memory a script may consume.

; Error handling and logging

; Error Level Constants:
; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 6.0.0)
; E_ERROR           - fatal run-time errors
; E_RECOVERABLE_ERROR  - almost fatal run-time errors
; E_WARNING         - run-time warnings (non-fatal errors)
; E_PARSE           - compile-time parse errors
; E_NOTICE          - run-time notices (these are warnings which often result
;                     from a bug in your code, but it's possible that it was
;                     intentional (e.g., using an uninitialized variable and
;                     relying on the fact it's automatically initialized to an
;                     empty string)
; E_STRICT            - run-time notices, enable to have PHP suggest changes
;                     to your code which will ensure the best interoperability
;                     and forward compatibility of your code
; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
;                     initial startup
; E_COMPILE_ERROR   - fatal compile-time errors
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
; E_USER_ERROR      - user-generated error message
; E_USER_WARNING    - user-generated warning message
; E_USER_NOTICE     - user-generated notice message
; E_DEPRECATED      - warn about code that will not work in future versions
;                     of PHP
; E_USER_DEPRECATED - user-generated deprecation warnings
;
; Common Values:
;   E_ALL & ~E_NOTICE  (Show all errors, except for notices and coding standards warnings.)
;   E_ALL & ~E_NOTICE | E_STRICT  (Show all errors, except for notices)
;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
;   E_ALL | E_STRICT  (Show all errors, warnings and notices including coding standards.)
; Default Value: E_ALL & ~E_NOTICE
error_reporting  =  E_ALL & ~E_NOTICE & ~E_STRICT

display_errors = On
display_startup_errors = Off
log_errors = Off
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
;report_zend_debug = 0
track_errors = Off
;html_errors = Off
;docref_root = "/phpmanual/"
;docref_ext = .html
;error_prepend_string = "<font color=#ff0000>"
;error_append_string = "</font>"
; Log errors to specified file.
;error_log = /var/log/php_errors.log
; Log errors to syslog.
;error_log = syslog

; Data Handling

;arg_separator.output = "&amp;"
;arg_separator.input = ";&"
variables_order = "EGPCS"
request_order = "GP"
register_globals = Off
register_long_arrays = Off
register_argc_argv = On
auto_globals_jit = On
post_max_size = 8M
;magic_quotes_gpc = Off
magic_quotes_runtime = Off
magic_quotes_sybase = Off
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
;default_charset = "iso-8859-1"
;always_populate_raw_post_data = On

; Paths and Directories

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
doc_root = "/www1"
user_dir =
extension_dir = "/usr/lib/php"
enable_dl = On
cgi.force_redirect = 0
;cgi.nph = 1
;cgi.redirect_status_env = ;
cgi.fix_pathinfo=1
;fastcgi.impersonate = 1;
;fastcgi.logging = 0
;cgi.rfc2616_headers = 0

; File Uploads

file_uploads = On
upload_tmp_dir = "/tmp"
upload_max_filesize = 2M
max_file_uploads = 20

; Fopen wrappers

allow_url_fopen = On
allow_url_include = Off
;from="john@doe.com"
;user_agent="PHP"
default_socket_timeout = 60
;auto_detect_line_endings = Off

; Dynamic Extensions

;extension=ctype.so
;extension=curl.so
;extension=dom.so
;extension=exif.so
;extension=ftp.so
;extension=gd.so
;extension=gmp.so
;extension=hash.so
;extension=iconv.so
;extension=json.so
;extension=ldap.so
;extension=mbstring.so
;extension=mcrypt.so
;extension=mysql.so
;extension=openssl.so
;extension=pcre.so
;extension=pdo.so
;extension=pdo-mysql.so
;extension=pdo-pgsql.so
;extension=pdo_sqlite.so
;extension=pgsql.so
;extension=session.so
;extension=soap.so
;extension=sockets.so
;extension=sqlite.so
;extension=sqlite3.so
;extension=tokenizer.so
;extension=xml.so
;extension=xmlreader.so
;extension=xmlwriter.so

; Module Settings

[APC]
apc.enabled = 1
apc.shm_segments = 1    ;The number of shared memory segments to allocate for the compiler cache.
apc.shm_size = 4    ;The size of each shared memory segment in MB.

[Date]
;date.timezone =
;date.default_latitude = 31.7667
;date.default_longitude = 35.2333
;date.sunrise_zenith = 90.583333
;date.sunset_zenith = 90.583333

[filter]
;filter.default = unsafe_raw
;filter.default_flags =

[iconv]
;iconv.input_encoding = ISO-8859-1
;iconv.internal_encoding = ISO-8859-1
;iconv.output_encoding = ISO-8859-1

[sqlite]
;sqlite.assoc_case = 0

[sqlite3]
;sqlite3.extension_dir =

[Pdo_mysql]
pdo_mysql.cache_size = 2000
pdo_mysql.default_socket=

[MySQL]
mysql.allow_local_infile = On
mysql.allow_persistent = On
mysql.cache_size = 2000
mysql.max_persistent = -1
mysql.max_links = -1
mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =
mysql.connect_timeout = 60
mysql.trace_mode = Off

[PostgresSQL]
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0

[Session]
session.save_handler = files
session.save_path = "/tmp"
session.use_cookies = 1
;session.cookie_secure =
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor     = 100
session.gc_maxlifetime = 1440
session.bug_compat_42 = On
session.bug_compat_warn = On
session.referer_check =
session.entropy_length = 0
;session.entropy_file = /dev/urandom
session.entropy_file =
;session.entropy_length = 16
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.hash_function = 0
session.hash_bits_per_character = 4
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

[mbstring]
;mbstring.language = Japanese
;mbstring.internal_encoding = EUC-JP
;mbstring.http_input = auto
;mbstring.http_output = SJIS
;mbstring.encoding_translation = Off
;mbstring.detect_order = auto
;mbstring.substitute_character = none;
;mbstring.func_overload = 0
;mbstring.strict_detection = Off
;mbstring.http_output_conv_mimetype=
;mbstring.script_encoding=

[gd]
;gd.jpeg_ignore_warning = 0

[exif]
;exif.encode_unicode = ISO-8859-15
;exif.decode_unicode_motorola = UCS-2BE
;exif.decode_unicode_intel    = UCS-2LE
;exif.encode_jis =
;exif.decode_jis_motorola = JIS
;exif.decode_jis_intel    = JIS

[soap]
soap.wsdl_cache_enabled=1
soap.wsdl_cache_dir="/tmp"
soap.wsdl_cache_ttl=86400
soap.wsdl_cache_limit = 5

[sysvshm]
;sysvshm.init_mem = 10000

[ldap]
ldap.max_links = -1

[mcrypt]
;mcrypt.algorithms_dir=
;mcrypt.modes_dir=
MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

82

Odp: Lighttpd + php5 = nie działa

doc_root = "/www1"

To chyba nie ten katalog, prawda?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

83

Odp: Lighttpd + php5 = nie działa

Cezary napisał/a:

doc_root = "/www1"

To chyba nie ten katalog, prawda?

Zdecydowanie big_smile
Sprzatalem smieci i wyszlo szydlo z worka. Slicznie dziekuje smile

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

84

Odp: Lighttpd + php5 = nie działa

Hmm... Wprawdzie ten problem ustapil, ale po reboocie nie mialem internetu. Przywrocenie www1 i reboot naprawil problem. O co chodzi?

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

85

Odp: Lighttpd + php5 = nie działa

Co ma wspólnego katalog w php z internetem smile

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

86 (edytowany przez badziewiak 2010-12-23 22:33:41)

Odp: Lighttpd + php5 = nie działa

Faktycznie, to jakis glupi przypadek byl.
Wrzucilem skrypt http://heanet.dl.sourceforge.net/projec … fm-v24.zip i z grubsza cos sie pokazalo, ale wywalilo takie ostrzezenia:

Deprecated: Function ereg() is deprecated in /www2/prv/fm.php on line 231

Warning: date() [function.date]: 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 'Europe/Berlin' for 'CET/1.0/no DST' instead in /www2/prv/fm.php on line 559

Warning: date() [function.date]: 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 'Europe/Berlin' for 'CET/1.0/no DST' instead in /www2/prv/fm.php on line 559

Warning: date() [function.date]: 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 'Europe/Berlin' for 'CET/1.0/no DST' instead in /www2/prv/fm.php on line 559

Da sie cos z tym zrobic?

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

87

Odp: Lighttpd + php5 = nie działa

date.timezone nie masz ustawionego w php.ini

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

88 (edytowany przez patryk 2010-12-23 22:38:46)

Odp: Lighttpd + php5 = nie działa

da sie
w php ini ustaw strefe czasowa - pisalem ci wcześniej

.
.
.
[Date]
date.timezone = CET
;date.default_latitude = 31.7667
;date.default_longitude = 35.2333
.
.
.

pamietaj, zeby przed ''date.timezone" nie bylo ";"

---edit---
lol big_smile

89

Odp: Lighttpd + php5 = nie działa

To poszlo sprawnie, a to?

Deprecated: Function ereg() is deprecated in /www2/prv/fm.php on line 231
MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

90

Odp: Lighttpd + php5 = nie działa

patryk napisał/a:

da sie
w php ini ustaw strefe czasowa - pisalem ci wcześniej

.
.
.
[Date]
date.timezone = CET
;date.default_latitude = 31.7667
;date.default_longitude = 35.2333
.
.
.

pamietaj, zeby przed ''date.timezone" nie bylo ";"

---edit---
lol big_smile

Hehehe po elektryku wszystkiego mozna sie spodziewac big_smile

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

91

Odp: Lighttpd + php5 = nie działa

badziewiak napisał/a:

To poszlo sprawnie, a to?

Deprecated: Function ereg() is deprecated in /www2/prv/fm.php on line 231

ereg jest do wyrzucenia z php. Ponieważ to co zainstalowałeś używa tego, masz dwa (trzy) wyjścia
- przepisać kod żeby nie używać tego
- skopać tyłek autorowi żeby to przepisał
- wyłączyć warningi w php.ini żeby Cię nie denerwowały.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

92

Odp: Lighttpd + php5 = nie działa

http://freshmeat.net/projects/phpfilemanager/

ten nie wywala błędów
tylko trzeba mu zamienić znacznik początku kodu z '<?' na '<?php' (albo w php.ini pokopać)

i co chcesz od elektruków? big_smile

93

Odp: Lighttpd + php5 = nie działa

Ten projekt jest sprzed 6 lat. jak juz to coś co jest jeszcze utrzymywane...

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

94

Odp: Lighttpd + php5 = nie działa

patryk napisał/a:

http://freshmeat.net/projects/phpfilemanager/

ten nie wywala błędów
tylko trzeba mu zamienić znacznik początku kodu z '<?' na '<?php' (albo w php.ini pokopać)

i co chcesz od elektruków? big_smile

No sam jestem (inz.)elektrykiem, a efekty zabierania sie elektryka za router widac po dlugich tematach wink

Generalnie fajnie mi ten serwer chodzi. Teraz eksperymentuje z roznymi skryptami. No coz... srednio mi to idzie, ale jak juz tyle mam, to zeby zacisne i bede bladzil dalej smile

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

95 (edytowany przez patryk 2010-12-23 23:33:44)

Odp: Lighttpd + php5 = nie działa

no i co, ze sprzed 6 lat? dziala. nawet taka quasi-konsole ma big_smile
zmienia prawa, usuwa, ładuje pliki, pozwala edytowac...
nie wydaje mi sie, ze to jest coś,co tzreba rozwijac ;>

96

Odp: Lighttpd + php5 = nie działa

Chodzi raczej o wszystkie znalezione ataki na php przez te 6 lat i zmiany w kodzie ktore powinny być wykonane. Takie security-fix.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

97

Odp: Lighttpd + php5 = nie działa

Wrzucilem sobie takie cudo: http://garr.dl.sourceforge.net/project/ … re-3.2.zip
i teraz bede sie gimnastykowal. Oczywiscie wywala mi

Warning: include_once(server/conf/base.conf.php) [function.include-once]: failed to open stream: No such file or directory in /www2/prv/index.php on line 34

Warning: include_once() [function.include]: Failed opening 'server/conf/base.conf.php' for inclusion (include_path='.:') in /www2/prv/index.php on line 34

Warning: require_once(server/classes/class.AJXP_Utils.php) [function.require-once]: failed to open stream: No such file or directory in /www2/prv/index.php on line 35

Fatal error: require_once() [function.require]: Failed opening required 'server/classes/class.AJXP_Utils.php' (include_path='.:') in /www2/prv/index.php on line 35

ale to nic dziwnego, bo nic nie ustawilem. Mozecie podpowiedziec mi, co mam wpisac zeby to chodzilo?

MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)

98

Odp: Lighttpd + php5 = nie działa

no co prawda to prawda. ale nie mowimy tu o serwerze ktory komukolwiek bedzie sie chcialo hakowac wink

99

Odp: Lighttpd + php5 = nie działa

server/conf/base.conf.php

pliku nie masz. Lub to "server' jest niepotrzebne. Zobacz w tym index.php czy tam się ścieżek nie ustawia.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

100 (edytowany przez badziewiak 2010-12-23 23:41:32)

Odp: Lighttpd + php5 = nie działa

Jak dla mnie to sieczka:

<?php
/**
 * Copyright 2007-2009 Charles du Jeu
 * This file is part of AjaXplorer.
 * The latest code can be found at http://www.ajaxplorer.info/
 * 
 * This program is published under the LGPL Gnu Lesser General Public License.
 * You should have received a copy of the license along with AjaXplorer.
 * 
 * The main conditions are as follow : 
 * You must conspicuously and appropriately publish on each copy distributed 
 * an appropriate copyright notice and disclaimer of warranty and keep intact 
 * all the notices that refer to this License and to the absence of any warranty; 
 * and give any other recipients of the Program a copy of the GNU Lesser General 
 * Public License along with the Program. 
 * 
 * If you modify your copy or copies of the library or any portion of it, you may 
 * distribute the resulting library provided you do so under the GNU Lesser 
 * General Public License. However, programs that link to the library may be 
 * licensed under terms of your choice, so long as the library itself can be changed. 
 * Any translation of the GNU Lesser General Public License must be accompanied by the 
 * GNU Lesser General Public License.
 * 
 * If you copy or distribute the program, you must accompany it with the complete 
 * corresponding machine-readable source code or with a written offer, valid for at 
 * least three years, to furnish the complete corresponding machine-readable source code. 
 * 
 * Any of the above conditions can be waived if you get permission from the copyright holder.
 * AjaXplorer 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.
 * 
 * Description : main script called at initialisation.
 */
include_once("server/conf/base.conf.php");
require_once("server/classes/class.AJXP_Utils.php");
require_once("server/classes/class.SystemTextEncoding.php");
require_once("server/classes/class.HTMLWriter.php");
require_once("server/classes/class.AJXP_XMLWriter.php");
require_once("server/classes/class.Repository.php");
require_once("server/classes/class.AjxpRole.php");
require_once("server/classes/class.ConfService.php");
require_once("server/classes/class.AuthService.php");
require_once("server/classes/class.AJXP_Logger.php");
require_once("server/classes/class.AJXP_Plugin.php");
require_once("server/classes/class.AJXP_PluginsService.php");
require_once("server/classes/class.AbstractAccessDriver.php");

if(!class_exists("DOMDocument")){
        die("You must have libxml PHP extension enabled on your server.");
}
header("X-UA-Compatible: chrome=1");
HTMLWriter::charsetHeader();
$pServ = AJXP_PluginsService::getInstance();
$pServ->loadPluginsRegistry(INSTALL_PATH."/plugins", INSTALL_PATH."/server/conf");
ConfService::init("server/conf/conf.php");
$confStorageDriver = ConfService::getConfStorageImpl();
include_once($confStorageDriver->getUserClassFileName());
session_name("AjaXplorer");
session_start();

$outputArray = array();
$testedParams = array();
$passed = true;
if(!is_file(TESTS_RESULT_FILE)){
    $passed = AJXP_Utils::runTests($outputArray, $testedParams);
    if(!$passed && !isset($_GET["ignore_tests"])){
        die(AJXP_Utils::testResultsToTable($outputArray, $testedParams));
    }else{
        AJXP_Utils::testResultsToFile($outputArray, $testedParams);
    }
}

$START_PARAMETERS = array("BOOTER_URL"=>"content.php?get_action=get_boot_conf", "MAIN_ELEMENT" => "ajxp_desktop");
if(AuthService::usersEnabled())
{
    AuthService::preLogUser((isSet($_GET["remote_session"])?$_GET["remote_session"]:""));
    AuthService::bootSequence($START_PARAMETERS);
    if(AuthService::getLoggedUser() != null || AuthService::logUser(null, null) == 1)
    {
        if(AuthService::getDefaultRootId() == -1){
            AuthService::disconnect();
        }else{
            $loggedUser = AuthService::getLoggedUser();
            if(!$loggedUser->canRead(ConfService::getCurrentRootDirIndex()) 
                    && AuthService::getDefaultRootId() != ConfService::getCurrentRootDirIndex())
            {
                ConfService::switchRootDir(AuthService::getDefaultRootId());
            }
        }
    }
}

AJXP_Utils::parseApplicationGetParameters($_GET, $START_PARAMETERS, $_SESSION);

$JSON_START_PARAMETERS = json_encode($START_PARAMETERS);
if(ConfService::getConf("JS_DEBUG")){
    $mess = ConfService::getMessages();
    include_once(INSTALL_PATH."/".CLIENT_RESOURCES_FOLDER."/html/gui_debug.html");
}else{
    $content = file_get_contents(INSTALL_PATH."/".CLIENT_RESOURCES_FOLDER."/html/gui.html");    
    $content = AJXP_XMLWriter::replaceAjxpXmlKeywords($content, false);
    if($JSON_START_PARAMETERS){
        $content = str_replace("//AJXP_JSON_START_PARAMETERS", "startParameters = ".$JSON_START_PARAMETERS.";", $content);
    }
    print($content);
}
?>

EDIT
Acha, to wymaga apache:

 ------------------------------------------------
|      AjaXplorer Installation Instructions      |
 ------------------------------------------------
 
 1 SYSTEM REQUIREMENTS & QUICK INSTALL
 
 To be able to run this system on your webserver, it must have PHP 5 or higher
 running, and you must have an FTP access to upload the files on the server. 
 That's all! No database is needed.
 
 If you want to use it as fast as possible, just change the ADMIN_PASSWORD in 
 the conf/conf.php file and upload on your server. 
 
 Check that the "server/conf", "server/logs" and "server/users" folders are writeable by apache user.
 
 For further configuration, read below.
 
 2 CONFIGURATION
 
 After unzipping the file into a local folder on your computer, use a text editor 
 to edit the configuration file located in conf/conf.php
 
 2.1 REPOSITORIES 
    
    In AjaXplorer, a repository is a folder that you want to browse/modify with 
    the application. A repository does not have to be inside the ajaxplorer installation 
    folder, since you set it with an absolute path on your server.
    
    You can set as many repositories as you want : you will be able to switch from one to 
    another when logged to AjaXplorer, and you can precisely set rights for each users (see 
    paragraph 2.2) on each repository. 
    
    By default, the basic repository is set to the "files" folder inside the ajaxplorer 
    installation folder. You can change it to whatever you want, using absolute path 
    like : /home/login/www/location, or /C:/myfolder/ on windows.
    
    Note that a repository does not have to be accessible to the internet, AjaXplorer will 
    work as a "proxy" between your files and the web.
    
 2.2 USERS MANAGEMENT
    
    An evoluted users management system has been developed in AjaXplorer. You are encouraged 
    to use it to secure your data, but it's up to you, you can disable it totally (for example 
    if you are already working in a very secure zone, and don't need any users profiles).
    
    If you are a beginner, just change the ADMIN_PASSWORD variable before uploading on your 
    server everything should be fine. If you do not change it, you will be reminded to change 
    the first time you log in, because otherwise anybody knowing AjaXplorer could login with 
    the standard initial password "admin"...
    
    You can add / modify / delete users by logging in AjaXplorer as "admin" and clicking on 
    "Settings" button. For each user, you will be able to give read and/or right access separately 
    on each repository. Note that a user that has no rights on any repository cannot log in.
    
    For a better integration in existing systems, AjaXplorer can "prelog" a user from external 
    data or logging system. Users must still be created in AjaXplorer, since their rights on 
    repositories and preferences are stored by the application. But they will not be able to 
    change their password, since they are in that case managed by an external application.
    
    2.2.1 BASIC USERS CONFIGURATION
        
        ENABLE_USERS => 1     Users management is enabled
                        0     Users management is totally disabled. No logging required and all 
                            users share the same preferences.
                        
        ALLOW_GUEST_BROWSING => 1     In the "Settings" console accessed by admin user, 
                                    a "guest" user is created on which you can set 
                                    rights on repositories like any other user. This 
                                    user will be automatically logged in if no user 
                                    is identified.
                                0     When no user is identified, the login screen appears 
                                    and no repository is loaded.

    2.2.2 AUTHENTICATION METHOD
    
    In ajaXplorer, Authentication is (like the repositories as access and the configuration )
    plugin-based. By default, in the conf.php file you can see that the basic auth.serial plugin 
    is used to manage your users. This means that the users and their rights and personnal data 
    will be stored on the filesystem, in a specific ajaxplorer format. This plugin is the most
    performant, but may not be suited for managing a huge amount of users, or when managing users
    already created in an external system like a CMS. In that case, you should have a look at the auth.ldap
    or auth.remote plugins, or even auth.mysql, each of these plugin giving you more features for 
    managing plugin.
                                    
                                 
 2.3 FURTHER CONFIGURATION   
 
    . $max_caracteres    =>        Max number of characters for file and directory names.
    . $upload_max_number=>        Allowed simultaneous upload to the server.
    . $webmaster_email    =>        The email of the webmaster, not used for the moment
    . $use_https        =>        Set this to 'true' if you are working on https connexion. This will not
                                set up an secure server! This is here to fix a bug with Internet Explorer
                                when working on a secure server.
 
 3 TIME TO WASTE?
 
     Visit http://www.almasound.com/ and listen to good Reggae Dub & Salsa music!
MiniPC 6xRJ45 2Gb, N100, 16GB DDR5, 1TB NVMe (Gargoyle)
Linksys WRT3200ACM (Gargoyle)
Tp-link 1043NDv2 (Gargoyle)