<?php
?>
<!DOCTYPE HTML>
<html lang="hr-HR">
<head><title>00info_php2</title>
<meta charset="utf-8">
<!--link rel="shortcut icon" href="Other/Help/images/favicon.ico"-->
<link type="text/css" rel="stylesheet" media="all" href="/zinc/themes/simplest.css" />
<!--link type="text/css" rel="stylesheet" media="all" href="Other/Help/style.css" /-->
<style>
</style>
<!--script src="utl_inc.js"></script-->
</head>
<body>
<!--div class="logo">
<h3><span style="color: lightgray;">00info_php2</span> </h3>
</div-->
<!-- E N D 11111 div class="logo" width="211" height="47" -->
<div class="content">
<!--img src="/zinc/img/header.jpg" width="100%"-->
<!-- 1. T O P DROPDOWN M E N U (row 1) (Banner) -->
<!-- submenu -->
<!-- submenu items-->
<!-- dd class="dd2" a class="sub"-->
<div id="positioner">
<div class="holder p1">
<dl class="menu">
<dt><a href="index.php">HOME</a></dt>
</dl>
</div>
<div class="holder p2">
<dl class="menu">
<dt><a href="#url">conf</a></dt>
<dd>
<a href="#httpdconf">httpd.conf</a>
<a href="#phpini">php.ini</a>
</dd>
</dl>
</div>
<div class="holder p3">
<dl class="menu">
<dt><a class="sub" href="#virtualhost">virtual host</a></dt>
</dl>
</div>
<div class="holder p4">
<dl class="menu">
<dt><a class="sub" href="#hosts">hosts</a></dt>
</dl>
</div>
</div>
<!-- 1. izbornik 2.redak (Banner) -->
<div id="hMenu">
<ul>
<li id="frst">
<a href="">PO?ETAK</a>
<a href="https://www.apachefriends.org/download.html" target="_blank">XAMP</a>(<a href="http://www.wampserver.com/en/" target="_blank">WAMP</a>
<a href="https://windows.php.net/"
title="Better all downloads from XAMP site !"
target="_blank">PHP for Windows</a><a href="https://www.apachelounge.com/" title="Better all downloads from WAMP site !"
target="_blank">Apache lounge</a>)
<a href="https://letsencrypt.org/"
title=" Free, automated, open Certificate Authority.. As of Juny 2018, Let?s Encrypt root, ISRG Root X1, is directly trusted by Microsoft products and by all major root programs, including Microsoft, Google, Apple, Mozilla, Oracle, and Blackberry.
Non SSL links can be transparently redirected to the SSL locations."
target="_blank">Let's Encrypt</a>
<a href="#">O PROGRAMU</a>
<a href="#">KONTAKT</a>
</li>
</ul>
</div>
<!-- E N D T O P (row 1,2) -->
<!-- C O N T E N T -->
<?php
//require_once(__DIR__ . '/00info_php2_content.php');
?>
<br />
<a id="virtualhost"></a>
<h2>Verify virtual host config - VIRTUAL HOSTS AND hosts SCRIPT <strong>httpd.exe -S</strong><br>
</h2>
SyMenu Cmder Windows CLI (for git, psysh...) : eg in
J:\aplp\aplp\0_symenu\ProgramFiles\SPSSuite\SyMenuSuite\Cmder_sps<br>
j:<br>J:\> cd J:\awww\www<br><strong>displays :</strong><br>J:\awww\www
(master -> origin)<h2><strong>J:\xampp\apache\bin\httpd.exe -S</strong></h2>
<p><strong>displays :</strong><br></p>
<pre>VirtualHost configuration:
*:8083 is a NameVirtualHost
default server localhost (J:/xampp/apache/conf/extra/httpd-vhosts.conf:56)
port 8083 namevhost localhost (J:/xampp/apache/conf/extra/httpd-vhosts.conf:56)
<strong>port 8083 namevhost dev1 (J:/xampp/apache/conf/extra/httpd-vhosts.conf:70)</strong>
*:443 dev1 (J:/xampp/apache/conf/extra/httpd-ssl.conf:121)
ServerRoot: "J:/xampp/apache"
Main DocumentRoot: "J:/xampp/htdocs"
Main ErrorLog: "J:/xampp/apache/logs/error.log"
Mutex ssl-stapling: using_defaults
Mutex proxy: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="J:/xampp/apache/logs/" mechanism=default
Mutex ssl-stapling-refresh: using_defaults
Mutex rewrite-map: using_defaults
PidFile: "J:/xampp/apache/logs/httpd.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
Define: SRVROOT=/xampp/apache</pre>
<p> </p>
<h2>Info about Apache server <strong>
J:\xampp\apache\bin\httpd.exe -V</strong></h2>
<p><strong>displays :</strong><br>
</p>
<pre>Server version: Apache/2.4.38 (Win64)
Apache Lounge VC15 Server built: Feb 28 2019 11:40:54
Server's Module Magic Number: 20120211:83
Server loaded: APR 1.6.5, APR-UTIL 1.6.1
Compiled using: APR 1.6.5, APR-UTIL 1.6.1
Architecture: 64-bit
Server MPM: WinNT
threaded: yes (fixed thread count)
forked: no
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/apache"
-D SUEXEC_BIN="/apache/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error.log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
<strong>-D SERVER_CONFIG_FILE="conf/httpd.conf"</strong></pre>
<p> <br></p>
<h2><strong><br>
</strong><a id="hosts"></a>hosts script
C:\Windows\System32\drivers\etc\hosts</h2>
<pre># localhost name resolution is handled within DNS itself.
127.0.0.1 localhost dev1
::1 localhost dev1
Coul be also :<br>#<br>127.0.0.1 phpmyadmin.localhost<br>## Local by Flywheel - Start ##<br>192.168.95.100 phporacle.local<br>192.168.95.100 www.phporacle.local<br>192.168.95.100 afwww.local<br>192.168.95.100 www.afwww.local<br>192.168.95.100 fwphp.local<br>192.168.95.100 www.fwphp.local<br>## Local by Flywheel - End ##<br>#<br># help should be better :<br>#192.168.10.10 dev1.ap homestead.app<br>#<br># Start of entries inserted by Spybot - Search & Destroy<br># This list is Copyright 2000-2017 Safer-Networking Ltd.<br># NOT RECOMENDED HUGE LIST HERE<br># End of entries inserted by Spybot - Search & Destroy</pre>
<p> </p>
<h2>Virtual hosts script <strong>
J:/xampp/apache/conf/extra/httpd-vhosts.conf</strong></h2>
<pre><VirtualHost *:8083>
DocumentRoot "/xampp/htdocs/"
ServerName localhost
</VirtualHost>
<VirtualHost *:8083>
DocumentRoot "J:/awww/www/"
ServerName dev1
</VirtualHost></pre>
<p> </p>
<a id="httpdconf"></a><h2> J:\xampp\apache\conf\httpd.conf</h2>
<pre>Define SRVROOT "/xampp/apache"
ServerRoot "/xampp/apache"
Listen 8083
LoadModule access_compat_module modules/mod_access_compat.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule allowmethods_module modules/mod_allowmethods.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dav_lock_module modules/mod_dav_lock.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule headers_module modules/mod_headers.so
LoadModule include_module modules/mod_include.so
LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule cache_disk_module modules/mod_cache_disk.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule status_module modules/mod_status.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
<IfModule unixd_module>
User daemon
Group daemon
</IfModule>
ServerAdmin <a href="mailto:slavkoss22@gmail.com">slavkoss22@gmail.com</a>
ServerName localhost:8083
<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "/xampp/htdocs"
<Directory "/xampp/htdocs">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
<Directory "J:/awww/www/">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
<IfModule dir_module>
DirectoryIndex index.php index.pl index.cgi index.asp index.shtml index.html index.htm \
default.php default.pl default.cgi default.asp default.shtml default.html default.htm \
home.php home.pl home.cgi home.asp home.shtml home.html home.htm
</IfModule>
<Files ".ht*">
Require all denied
</Files>
ErrorLog "logs/error.log"
LogLevel warn
<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
CustomLog "logs/access.log" combined
</IfModule>
<IfModule alias_module>
ScriptAlias /cgi-bin/ "/xampp/cgi-bin/"
</IfModule>
<IfModule cgid_module>
</IfModule>
<Directory "/xampp/cgi-bin">
AllowOverride All
Options None
Require all granted
</Directory>
<IfModule headers_module>
RequestHeader unset Proxy early
</IfModule>
<IfModule mime_module>
TypesConfig conf/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddHandler cgi-script .cgi .pl .asp
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
</IfModule>
<IfModule mime_magic_module>
MIMEMagicFile "conf/magic"
</IfModule>
Include conf/extra/httpd-mpm.conf
Include conf/extra/httpd-multilang-errordoc.conf
Include conf/extra/httpd-autoindex.conf
Include conf/extra/httpd-languages.conf
Include conf/extra/httpd-userdir.conf
Include conf/extra/httpd-info.conf
<strong>Include conf/extra/httpd-vhosts.conf</strong>
Include "conf/extra/httpd-proxy.conf"
Include "conf/extra/httpd-default.conf"
Include "conf/extra/httpd-xampp.conf"
<IfModule proxy_html_module>
Include conf/extra/proxy-html.conf
</IfModule>
Include conf/extra/httpd-ssl.conf
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
AcceptFilter http none
AcceptFilter https none
<IfModule mod_proxy.c>
<IfModule mod_proxy_ajp.c>
Include "conf/extra/httpd-ajp.conf"
</IfModule>
</IfModule>
</pre>
<h2> </h2>
<p> </p>
<a id="phpini"></a><h2>J:\xampp\php\php.ini</h2>
<pre>engine = On
short_open_tag = Off
precision = 14
output_buffering = 4096
zlib.output_compression = Off
implicit_flush = Off
unserialize_callback_func =
serialize_precision = -1
disable_functions =
disable_classes =
zend.enable_gc = On
expose_php = On
max_execution_time = 30
max_input_time = 60
memory_limit = 128M
error_reporting = E_ALL
display_errors = On
display_startup_errors = On
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
html_errors = On
variables_order = "GPCS"
request_order = "GP"
register_argc_argv = Off
auto_globals_jit = On
post_max_size = 8M
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
default_charset = "UTF-8"
include_path = J:\xampp\php\PEAR
doc_root =
user_dir =
extension_dir = "J:\xampp\php\ext"
enable_dl = Off
file_uploads = On
upload_tmp_dir = "J:\xampp\tmp"
upload_max_filesize = 2M
max_file_uploads = 20
allow_url_fopen = On
allow_url_include = Off
default_socket_timeout = 60
zend_extension = "J:/xampp/php/ext/php_xdebug.dll"
extension=bz2
extension=curl
extension=fileinfo
extension=gd2
extension=gettext
extension=intl
extension=mbstring
extension=exif
extension=mysqli
; Use with Oracle Database 12c Instant Client :
extension=oci8_11g
extension=pdo_mysql
extension=pdo_oci
extension=pdo_sqlite
extension=soap
asp_tags=Off
display_startup_errors=On
track_errors=Off
y2k_compliance=On
allow_call_time_pass_reference=Off
safe_mode=Off
safe_mode_gid=Off
safe_mode_allowed_env_vars=PHP_
safe_mode_protected_env_vars=LD_LIBRARY_PATH
error_log="J:\xampp\php\logs\php_error_log"
register_globals=Off
register_long_arrays=Off
magic_quotes_gpc=Off
magic_quotes_runtime=Off
magic_quotes_sybase=Off
extension=php_openssl.dll
extension=php_ftp.dll
cli_server.color = On
pdo_mysql.default_socket="MySQL"
pdo_mysql.default_socket=
SMTP = mail.iskon.hr
smtp_port = 25
;Iskon 25, 587
mail.add_x_header = Off
odbc.allow_persistent = On
odbc.check_persistent = On
odbc.max_persistent = -1
odbc.max_links = -1
odbc.defaultlrl = 4096
odbc.defaultbinmode = 1
ibase.allow_persistent = 1
ibase.max_persistent = -1
ibase.max_links = -1
ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
ibase.dateformat = "%Y-%m-%d"
ibase.timeformat = "%H:%M:%S"
mysqli.max_persistent = -1
mysqli.allow_persistent = On
mysqli.max_links = -1
mysqli.default_port = 3306
mysqli.default_socket =
mysqli.default_host =
mysqli.default_user =
mysqli.default_pw =
mysqli.reconnect = Off
mysqlnd.collect_statistics = On
mysqlnd.collect_memory_statistics = On
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
bcmath.scale = 0
browscap = "J:\xampp\php\extras\browscap.ini"
session.save_handler = files
session.save_path = "J:\xampp\tmp"
session.use_strict_mode = 0
session.use_cookies = 1
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.cookie_samesite =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.referer_check =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.sid_length = 26
session.trans_sid_tags = "a=href,area=href,frame=src,form="
session.sid_bits_per_character = 5
zend.assertions = 1
tidy.clean_output = Off
soap.wsdl_cache_enabled=1
soap.wsdl_cache_dir="/tmp"
soap.wsdl_cache_ttl=86400
soap.wsdl_cache_limit = 5
ldap.max_links = -1
curl.cainfo = "J:\xampp\apache\bin\curl-ca-bundle.crt"
openssl.cafile = "J:\xampp\apache\bin\curl-ca-bundle.crt"
[Syslog]
define_syslog_variables=Off
[Session]
define_syslog_variables=Off
[Date]
date.timezone=Europe/Berlin
[MySQL]
mysql.allow_local_infile=On
mysql.allow_persistent=On
mysql.cache_size=2000
mysql.max_persistent=-1
mysql.max_link=-1
mysql.default_port=3306
mysql.default_socket="MySQL"
mysql.connect_timeout=3
mysql.trace_mode=Off
[Sybase-CT]
sybct.allow_persistent=On
sybct.max_persistent=-1
sybct.max_links=-1
sybct.min_server_severity=10
sybct.min_client_severity=10
[MSSQL]
mssql.allow_persistent=On
mssql.max_persistent=-1
mssql.max_links=-1
mssql.min_error_severity=10
mssql.min_message_severity=10
mssql.compatability_mode=Off
mssql.secure_connection=Off <?php
echo 'PHP SAYS: ?????';
//echo '<br />__FILE__='.__FILE__;
echo '<br /><br />$_SERVER[\'REMOTE_ADDR\']='.$_SERVER['REMOTE_ADDR']
.' $_SERVER[\'SERVER_PORT\']='.$_SERVER['SERVER_PORT'];
echo '<br />PHP_SAPI='.PHP_SAPI;
?> </pre>
<br /><br /><br /><br />
<?php
echo '<hr />';
echo '$_SERVER[\'REMOTE_ADDR\']='.$_SERVER['REMOTE_ADDR'];
?>
</div>
<!-- E N D 22222 div class="c ontent" -->
<div class="footer">
<hr />
f o o t e r
</div>
<!-- E N D 33333 div class="footer" -->
</body>
</html>
|