Search found 295 matches: php5ts.dll

Searched query: +php5ts +dll

Return to advanced search

DNS problem with xammp permissions.

Hi, Ive searched countless times for a fix since friday for this problem. What i effectively want to do is give my /htdocs/talk directory direct access from www.JustPK.me

Ive done everything i can from the dns settings but they now say its my servers config. When i see other people posting the fix to allow all access is doesnt look the same as in mine. The forum can be accessed by all if i use the ip http://37.59.171.204/talk/ but nothing happens when i use the justpk.me which has been corrected with the proper Arecord and even tried a url frame to redirect it to the ip. Nothing is working. This is my httpd confg file which doesnt match what most people wrote in their fixes.

Code: Select all
#
# XAMPP settings
#

<IfModule env_module>
    SetEnv MIBDIRS "C:/xampp/php/extras/mibs"
    SetEnv MYSQL_HOME "\\xampp\\mysql\\bin"
    SetEnv OPENSSL_CONF "C:/xampp/apache/bin/openssl.cnf"
    SetEnv PHP_PEAR_SYSCONF_DIR "\\xampp\\php"
    SetEnv PHPRC "\\xampp\\php"
    SetEnv TMP "\\xampp\\tmp"
</IfModule>

#
# PHP-Module setup
#
LoadFile "C:/xampp/php/php5ts.dll"
LoadFile "C:/xampp/php/libpq.dll"
LoadModule php5_module "C:/xampp/php/php5apache2_4.dll"

<FilesMatch "\.php$">
    SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
    SetHandler application/x-httpd-php-source
</FilesMatch>

#
# PHP-CGI setup
#
#<FilesMatch "\.php$">
#    SetHandler application/x-httpd-php-cgi
#</FilesMatch>
#<IfModule actions_module>
#    Action application/x-httpd-php-cgi "/php-cgi/php-cgi.exe"
#</IfModule>


<IfModule php5_module>
    PHPINIDir "C:/xampp/php"
</IfModule>

<IfModule mime_module>
    AddType text/html .php .phps
</IfModule>

ScriptAlias /php-cgi/ "C:/xampp/php/"
<Directory "C:/xampp/php">
    AllowOverride None
    Options None
    Require all denied
    <Files "php-cgi.exe">
          Require all granted
    </Files>
</Directory>

<Directory "C:/xampp/cgi-bin">
    <FilesMatch "\.php$">
        SetHandler cgi-script
    </FilesMatch>
    <FilesMatch "\.phps$">
        SetHandler None
    </FilesMatch>
</Directory>

<Directory "C:/xampp/htdocs/xampp">
    <IfModule php5_module>
       <Files "status.php">
          php_admin_flag safe_mode off
       </Files>
    </IfModule>
    AllowOverride AuthConfig
</Directory>

<IfModule alias_module>
    Alias /security "C:/xampp/security/htdocs/"
    <Directory "C:/xampp/security/htdocs">
        <IfModule php5_module>
          <Files "xamppsecurity.php">
             php_admin_flag safe_mode off
          </Files>
        </IfModule>
        AllowOverride AuthConfig
        Require all granted
   </Directory>

    Alias /licenses "C:/xampp/licenses/"
    <Directory "C:/xampp/licenses">
        Options +Indexes
        <IfModule autoindex_color_module>
            DirectoryIndexTextColor  "#000000"
            DirectoryIndexBGColor "#f8e8a0"
            DirectoryIndexLinkColor "#bb3902"
            DirectoryIndexVLinkColor "#bb3902"
            DirectoryIndexALinkColor "#bb3902"
        </IfModule>
        Require all granted
   </Directory>

    Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
    <Directory "C:/xampp/phpMyAdmin">
        AllowOverride AuthConfig
        Require all granted
    </Directory>

    Alias /webalizer "C:/xampp/webalizer/"
    <Directory "C:/xampp/webalizer">
        <IfModule php5_module>
          <Files "webalizer.php">
             php_admin_flag safe_mode off
          </Files>
        </IfModule>
        AllowOverride AuthConfig
        Require all granted
    </Directory>
</IfModule>

#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
        #Require local
   ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>


Im not getting any closer to making it use the domain. I did get it to make the forum appear but it didnt load the css and images and was just a white page with the blue links on.

Any support would be greatly appreciated :)
by Smokeeee
05. October 2014 16:43
 
Forum: XAMPP for Windows
Topic: DNS problem with xammp permissions.
Replies: 5
Views: 7336

Unknown error unpacking file: C:/xampp/php/php5ts.dll

I am trying to install the newest version of Xampp from this file: xampp-win32-1.8.3-5-VC11-installer.exe
Every time I get the same error:
Unknown error unpacking file: C:/xampp/php/php5ts.dll
and then the installer exits the intalling procedure...
Can anyone help me?
Thanx
Sam
by samythekid
03. October 2014 21:25
 
Forum: XAMPP for Windows
Topic: Unknown error unpacking file: C:/xampp/php/php5ts.dll
Replies: 0
Views: 3761

Re: Problem: can't install xampp

I tried the ZIP version. It worked, I extracted it. I ran /xampp/apache/apache_installservice.bat
Error:
Installing Apache2.4 as an Service
Installing the Apache2.4 service
The Apache2.4 service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
httpd: Syntax error on line 518 of C:/Documents and Settings/RAJAN/My Documents/
xampp2/xampp/apache/conf/httpd.conf: Syntax error on line 17 of C:/xampp/apache/
conf/extra/httpd-xampp.conf: Cannot load /xampp/php/php5ts.dll into server: The
specified module could not be found.
Now we Start Apache2.4 :)
The Apache2.4 service is starting..
The Apache2.4 service could not be started.

A service specific error occurred: 1.

More help is available by typing NET HELPMSG 3547.
------
Could it be because I have multiple failed xampp installation directories with files in them?
by Mario64
16. August 2014 16:48
 
Forum: XAMPP for Windows
Topic: Problem: can't install xampp
Replies: 4
Views: 9729

Tutorial - Windows Memory Leak / Apache Restart / status 255

Hi,

This is my 2nd post on the site although I've been been an xampp user for 3 years now. I would like to share something with the Windows users who chose to use xampp in a production environment.

Try these suggestions at your own risk, and don't hold me or the xampp staff responsible if something goes wrong. Test extensively on your localhost before going live.

My problem has always been an unstable opcode cache (Parent: child process exited with status 255 -- Restarting), and the other one (Parent: child process exited with status 3221225477 -- Restarting). I've been battling this for 3 three years now.

Configuration:
Windows Server 2008 r2
Duel quad xeons
16 gb memory
xampp-win32-1.8.3-4-VC11

I don't believe there is one fix, but I did manage to get the server stable with many fixes, and I'll share those. For low traffic sites, mod_fastcgi or mod_fcgid is an option, this post is for site with 400+ online users. mod_fastcgi was slow, to many executables sucking up memory and cpu.

I heard about httpd-2.4.10-win32-VC11 and php-5.5.15-Win32-VC11-x86 resolving some of the memory leaks so I did some testing on the localhost. I backed up the entire Apache "conf" directory, and overwrote the files with httpd-2.4.10-win32-VC11. Then copied the entire "conf" directory back into the Apache folder.

Apache started right up and remained stable. I did the same thing with PHP, please understand, I was desperate for a fix. I repeated the process with php-5.5.15-Win32-VC11-x86, and again things were stable.

xampp was not designed for this purpose. When you visit their, all over, you see xampp was not designed for production. Well, if you examine httpd.conf, and php.ini, and compare it to the standalone installs, you see they mean exactly what they're saying.

I'll start with php, and the setting I altered in php.ini. Read the info on all directives if you are unsure.

Code: Select all
open_basedir = Off
display_errors = Off
display_startup_errors = Off
track_errors = Off
post_max_size = 0 (adjust to suit your needs)
upload_max_filesize = 500M (adjust to suit your needs)
date.timezone = America/Los_Angeles (optional)
mysql.connect_timeout = 60
mysqli.reconnect = On
session.use_only_cookies = 1
session.bug_compat_42 = Off
session.bug_compat_warn = Off
mssql.compatibility_mode = Off ("compatibility" misspelled in xampp php.ini, correct spelling)


I personally use xcache, but opcache which is built in is another option, untested.

*Important: Update the browscap.ini file located in xampp\php\extras\ Since xampp was designed for development, they have no reason to update it. The browscap.ini file in the xampp dir is dated 11 Dec 2009. Updating the browscap.ini also resolved a css issue on one of my pages. Share buttons and a few other things are working better as well.

Go to http://browscap.org/ and download php_browscap.ini or full_php_browscap.ini, and overwrite the old one in xampp\php\extras\. I personally chose php_browscap.ini.

If your on a Windows box, you'll need to dump some modules to slow the leaking.

My httpd.conf setting:

Code: Select all
#LoadModule dav_lock_module modules/mod_dav_lock.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule expires_module modules/mod_expires.so
LoadModule filter_module modules/mod_filter.so
#LoadModule cache_disk_module modules/mod_cache_disk.so
#LoadModule ssl_module modules/mod_ssl.so (non-ssl users)
#LoadModule status_module modules/mod_status.so
#LoadModule version_module modules/mod_version.so

#CustomLog "logs/access.log" combined (disable if you don't need use it, save resources)

EnableMMAP off
EnableSendfile off

mod_expire & mod_deflate.  I cleaned all this up as well.  These settings are from GTMetrix.  I have these setting in my Apache conf file, if you're on a host use .htaccess

<IfModule mod_deflate.c>
# Compress HTML, CSS, JavaScript, Text, XML and fonts
  AddOutputFilterByType DEFLATE application/javascript
  AddOutputFilterByType DEFLATE application/rss+xml
  AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
  AddOutputFilterByType DEFLATE application/x-font
  AddOutputFilterByType DEFLATE application/x-font-opentype
  AddOutputFilterByType DEFLATE application/x-font-otf
  AddOutputFilterByType DEFLATE application/x-font-truetype
  AddOutputFilterByType DEFLATE application/x-font-ttf
  AddOutputFilterByType DEFLATE application/x-javascript
  AddOutputFilterByType DEFLATE application/xhtml+xml
  AddOutputFilterByType DEFLATE application/xml
  AddOutputFilterByType DEFLATE font/opentype
  AddOutputFilterByType DEFLATE font/otf
  AddOutputFilterByType DEFLATE font/ttf
  AddOutputFilterByType DEFLATE image/svg+xml
  AddOutputFilterByType DEFLATE image/x-icon
  AddOutputFilterByType DEFLATE text/css
  AddOutputFilterByType DEFLATE text/html
  AddOutputFilterByType DEFLATE text/javascript
  AddOutputFilterByType DEFLATE text/plain
  AddOutputFilterByType DEFLATE text/xml
  AddOutputFilterByType DEFLATE text/text
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4\.0[678] no-gzip
  BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
<IfModule mod_headers.c>
  <FilesMatch "\.(js|css|xml|gz)$">
    Header append Vary: Accept-Encoding
  </FilesMatch>
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType text/css "access 1 month"
ExpiresByType application/javascript "access plus 1 year"
</IfModule>


Okay, on to xampp\apache\conf\. I'll be skipping security, extrahttpd-default.conf, and httpd-xampp.conf.

httpd-mpm.conf. Trial and error. I'm still in the testing phase (live site), but my Apache hasn't crashed in a week, moving forward.

Code: Select all
<IfModule mpm_winnt_module>
    ThreadsPerChild        400
    MaxConnectionsPerChild 60000
</IfModule>


ThreadsPerChild at 400 works for me on an average. We took a hard hit last week, and had to raise it to 900 for about three days. We plan to raise it higher after we finish testing the MaxConnectionsPerChild settings. Before the new settings, our MaxConnectionsPerChild was set at 20000, and still unstable. We're at 60000 now with stability. Our goal is not remove the MaxConnectionsPerChild directive, but to have it restart Apache on a daily basis, and not multiple times a day. You can test MaxConnectionsPerChild at unlimited, but I personally think Windows / Apache / memory leak will crash at some point.

Back to PHP for a minute. I found in different arenas, that copying certain .dll to the system folders were not recommended. I decided to go against the grain and test. libmysql.dll is embedded in the new versions of php. If you copied the old file to your Windows system folders, remove it, and any other old files that are from different versions.

Copying new files. I copied all .dll's in the php directory to Windows, system32, and sysWOW65.

I repeated the process for all of the .dll's in xampp\php\ext. If Windows needed a file, I wasn't sure which file name it would look for, so I copied both. Example:

php_gd2.dll and gd2.dll (copy to a different location, and rename)

I copied the usual to xampp\apache\bin libeay32.dll, php5apache2_4.dll, php5ts.dll, and ssleay32.dll. Never stopped the crashing in the past to be honest with you, but what do I know.

Windows Environment Variables: add the php path

Variable name: path

Variable Value: C:\xampp\php

Reboot server.

I hope this tutorial help those with Windows / memory leak / ocpcode cache issues. If your Windows server is 100% stable with medium to high traffic, without the MaxConnectionsPerChild directive, please share your settings.
by starams5
08. August 2014 04:51
 
Forum: XAMPP for Windows
Topic: Tutorial - Windows Memory Leak / Apache Restart / status 255
Replies: 0
Views: 9464

Apache httpd.exe stürzt ab und startet sofort neu

Guten Tag,

ich habe folgendes Problem :

Für unsere Frima haben wir auf einem Windows Server 2012 R2 Betriebssystem eine xampp 1.8.3-3 32 Bit Version aufgespielt.
Den Server haben wir zum laufen bekommen.
Auch das firmeneigene Intranet ließ sich kopieren und entsprechend anpassen.
Nun besteht jedoch folgendes Problem :

Es geschieht öfters das bei laden der Seiten des Intranet die Fehlermeldung "Website kann nicht angezeigt werden" kommt. Nachdem man aktualisiert hat, lädt er die Seite jedoch.

Uns ist nun aufgefallen, das in der Ereignisanzeige von Windows immer wieder und häufig ein Fehler mitgeloggt wird. Und zwar ein Appcrash der httpd.exe und des Fehlermoduls ntdll.dll .

Nun habe ich schon das Internet auf den Kopf gestellt aber keine Lösung gefunden.

Ich hoffe dass mir einer von euch helfen kann.

Windows-Log des Fehler:
Code: Select all
Version=1
EventType=APPCRASH
EventTime=130505660603676127
ReportType=2
Consent=1
ReportIdentifier=330ddde9-1228-11e4-80ff-00155d0bd512
IntegratorReportIdentifier=330ddde8-1228-11e4-80ff-00155d0bd512
WOW64=1
NsAppName=httpd.exe
Response.type=4
Sig[0].Name=Anwendungsname
Sig[0].Value=httpd.exe
Sig[1].Name=Anwendungsversion
Sig[1].Value=2.4.7.0
Sig[2].Name=Anwendungszeitstempel
Sig[2].Value=528e59ed
Sig[3].Name=Fehlermodulname
Sig[3].Value=ntdll.dll
Sig[4].Name=Fehlermodulversion
Sig[4].Value=6.3.9600.17031
Sig[5].Name=Fehlermodulzeitstempel
Sig[5].Value=5308893d
Sig[6].Name=Ausnahmecode
Sig[6].Value=c0000005
Sig[7].Name=Ausnahmeoffset
Sig[7].Value=0001f0a3
DynamicSig[1].Name=Betriebsystemversion
DynamicSig[1].Value=6.3.9600.2.0.0.400.8
DynamicSig[2].Name=Gebietsschema-ID
DynamicSig[2].Value=1031
DynamicSig[22].Name=Zusatzinformation 1
DynamicSig[22].Value=db45
DynamicSig[23].Name=Zusatzinformation 2
DynamicSig[23].Value=db4512e123a02ccc54653fd2fe51bb08
DynamicSig[24].Name=Zusatzinformation 3
DynamicSig[24].Value=3cf0
DynamicSig[25].Name=Zusatzinformation 4
DynamicSig[25].Value=3cf0aae01e420841b3acbe3e044db330
UI[2]=C:\xampp\apache\bin\httpd.exe
UI[3]=Apache HTTP Server funktioniert nicht mehr
UI[4]=Windows kann online nach einer Lösung für das Problem suchen.
UI[5]=Online nach einer Lösung suchen (empfohlen)
UI[6]=Später nach einer Lösung suchen (empfohlen)
UI[7]=Schließen
UI[8]=Apache HTTP Server wurde beendet und geschlossen.
UI[9]=Die Anwendung wird aufgrund eines Problems nicht mehr richtig ausgeführt. Sie erhalten Nachricht, wenn eine Lösung verfügbar ist.
UI[10]=S&chließen
LoadedModule[0]=C:\xampp\apache\bin\httpd.exe
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\SYSTEM32\KERNEL32.DLL
LoadedModule[3]=C:\Windows\SYSTEM32\KERNELBASE.dll
LoadedModule[4]=C:\xampp\apache\bin\libhttpd.dll
LoadedModule[5]=C:\xampp\apache\bin\libaprutil-1.dll
LoadedModule[6]=C:\xampp\apache\bin\libapr-1.dll
LoadedModule[7]=C:\xampp\apache\bin\MSVCR110.dll
LoadedModule[8]=C:\xampp\apache\bin\pcre.dll
LoadedModule[9]=C:\Windows\SYSTEM32\WS2_32.dll
LoadedModule[10]=C:\Windows\SYSTEM32\ADVAPI32.dll
LoadedModule[11]=C:\xampp\apache\bin\libapriconv-1.dll
LoadedModule[12]=C:\Windows\SYSTEM32\MSWSOCK.dll
LoadedModule[13]=C:\Windows\SYSTEM32\RPCRT4.dll
LoadedModule[14]=C:\Windows\SYSTEM32\SHELL32.dll
LoadedModule[15]=C:\Windows\SYSTEM32\NSI.dll
LoadedModule[16]=C:\Windows\SYSTEM32\msvcrt.dll
LoadedModule[17]=C:\Windows\SYSTEM32\sechost.dll
LoadedModule[18]=C:\Windows\SYSTEM32\SspiCli.dll
LoadedModule[19]=C:\Windows\SYSTEM32\combase.dll
LoadedModule[20]=C:\Windows\SYSTEM32\USER32.dll
LoadedModule[21]=C:\Windows\SYSTEM32\SHLWAPI.dll
LoadedModule[22]=C:\Windows\SYSTEM32\GDI32.dll
LoadedModule[23]=C:\Windows\SYSTEM32\CRYPTBASE.dll
LoadedModule[24]=C:\Windows\SYSTEM32\bcryptPrimitives.dll
LoadedModule[25]=C:\Windows\SYSTEM32\shcore.dll
LoadedModule[26]=C:\Windows\SYSTEM32\CRYPTSP.dll
LoadedModule[27]=C:\Windows\system32\rsaenh.dll
LoadedModule[28]=C:\Windows\SYSTEM32\bcrypt.dll
LoadedModule[29]=C:\xampp\apache\modules\mod_access_compat.so
LoadedModule[30]=C:\xampp\apache\modules\mod_actions.so
LoadedModule[31]=C:\xampp\apache\modules\mod_alias.so
LoadedModule[32]=C:\xampp\apache\modules\mod_allowmethods.so
LoadedModule[33]=C:\xampp\apache\modules\mod_asis.so
LoadedModule[34]=C:\xampp\apache\modules\mod_auth_basic.so
LoadedModule[35]=C:\xampp\apache\modules\mod_authn_core.so
LoadedModule[36]=C:\xampp\apache\modules\mod_authn_file.so
LoadedModule[37]=C:\xampp\apache\modules\mod_authz_core.so
LoadedModule[38]=C:\xampp\apache\modules\mod_authz_groupfile.so
LoadedModule[39]=C:\xampp\apache\modules\mod_authz_host.so
LoadedModule[40]=C:\xampp\apache\modules\mod_authz_user.so
LoadedModule[41]=C:\xampp\apache\modules\mod_autoindex.so
LoadedModule[42]=C:\xampp\apache\modules\mod_cgi.so
LoadedModule[43]=C:\xampp\apache\modules\mod_dav_lock.so
LoadedModule[44]=C:\xampp\apache\modules\mod_dav.so
LoadedModule[45]=C:\xampp\apache\modules\mod_dir.so
LoadedModule[46]=C:\xampp\apache\modules\mod_env.so
LoadedModule[47]=C:\xampp\apache\modules\mod_headers.so
LoadedModule[48]=C:\xampp\apache\modules\mod_include.so
LoadedModule[49]=C:\xampp\apache\modules\mod_info.so
LoadedModule[50]=C:\xampp\apache\modules\mod_isapi.so
LoadedModule[51]=C:\xampp\apache\modules\mod_log_config.so
LoadedModule[52]=C:\xampp\apache\modules\mod_cache_disk.so
LoadedModule[53]=C:\xampp\apache\modules\mod_cache.so
LoadedModule[54]=C:\xampp\apache\modules\mod_mime.so
LoadedModule[55]=C:\xampp\apache\modules\mod_negotiation.so
LoadedModule[56]=C:\xampp\apache\modules\mod_proxy.so
LoadedModule[57]=C:\xampp\apache\modules\mod_proxy_ajp.so
LoadedModule[58]=C:\xampp\apache\modules\mod_rewrite.so
LoadedModule[59]=C:\xampp\apache\modules\mod_setenvif.so
LoadedModule[60]=C:\xampp\apache\modules\mod_socache_shmcb.so
LoadedModule[61]=C:\xampp\apache\modules\mod_ssl.so
LoadedModule[62]=C:\xampp\apache\bin\LIBEAY32.dll
LoadedModule[63]=C:\xampp\apache\bin\SSLEAY32.dll
LoadedModule[64]=C:\xampp\apache\modules\mod_status.so
LoadedModule[65]=C:\xampp\apache\modules\mod_version.so
LoadedModule[66]=C:\xampp\php\php5ts.dll
LoadedModule[67]=C:\Windows\SYSTEM32\ODBC32.dll
LoadedModule[68]=C:\Windows\SYSTEM32\ole32.dll
LoadedModule[69]=C:\Windows\SYSTEM32\DNSAPI.dll
LoadedModule[70]=C:\xampp\php\libpq.dll
LoadedModule[71]=C:\Windows\SYSTEM32\WSOCK32.dll
LoadedModule[72]=C:\Windows\SYSTEM32\Secur32.dll
LoadedModule[73]=C:\Windows\SYSTEM32\WLDAP32.dll
LoadedModule[74]=C:\xampp\php\php5apache2_4.dll
LoadedModule[75]=C:\xampp\php\ext\php_com_dotnet.dll
LoadedModule[76]=C:\Windows\SYSTEM32\OLEAUT32.dll
LoadedModule[77]=C:\xampp\php\ext\php_mbstring.dll
LoadedModule[78]=C:\xampp\php\ext\php_exif.dll
LoadedModule[79]=C:\xampp\php\ext\php_gd2.dll
LoadedModule[80]=C:\xampp\php\ext\php_gettext.dll
LoadedModule[81]=C:\xampp\php\ext\php_imap.dll
LoadedModule[82]=C:\Windows\SYSTEM32\WINMM.dll
LoadedModule[83]=C:\Windows\SYSTEM32\CRYPT32.dll
LoadedModule[84]=C:\Windows\SYSTEM32\WINMMBASE.dll
LoadedModule[85]=C:\Windows\SYSTEM32\MSASN1.dll
LoadedModule[86]=C:\Windows\SYSTEM32\cfgmgr32.dll
LoadedModule[87]=C:\Windows\SYSTEM32\DEVOBJ.dll
LoadedModule[88]=C:\xampp\php\ext\php_ldap.dll
LoadedModule[89]=C:\xampp\php\libsasl.dll
LoadedModule[90]=C:\xampp\php\ext\php_mysql.dll
LoadedModule[91]=C:\xampp\php\ext\php_mysqli.dll
LoadedModule[92]=C:\xampp\php\ext\php_oci8_11g.dll
LoadedModule[93]=C:\Program Files\Oracle\instantclient_11_2\OCI.dll
LoadedModule[94]=C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.8428_none_d08a11e2442dc25d\MSVCR80.dll
LoadedModule[95]=C:\Windows\SYSTEM32\PSAPI.DLL
LoadedModule[96]=C:\xampp\php\ext\php_openssl.dll
LoadedModule[97]=C:\xampp\php\ext\php_pdo_mysql.dll
LoadedModule[98]=C:\xampp\php\ext\php_pgsql.dll
LoadedModule[99]=C:\xampp\php\ext\php_soap.dll
LoadedModule[100]=C:\xampp\php\ext\php_sockets.dll
LoadedModule[101]=C:\Windows\SYSTEM32\IPHLPAPI.DLL
LoadedModule[102]=C:\Windows\SYSTEM32\WINNSI.DLL
LoadedModule[103]=C:\xampp\php\ext\php_sqlite3.dll
LoadedModule[104]=C:\xampp\php\ext\php_xmlrpc.dll
LoadedModule[105]=C:\xampp\php\ext\php_xsl.dll
LoadedModule[106]=C:\xampp\php\ext\php_printer.dll
LoadedModule[107]=C:\Windows\SYSTEM32\WINSPOOL.DRV
LoadedModule[108]=C:\Program Files\Oracle\instantclient_11_2\OraOCIEI11.dll
LoadedModule[109]=C:\Windows\SYSTEM32\dbghelp.dll
LoadedModule[110]=C:\Windows\SYSTEM32\CRYPTUI.dll
LoadedModule[111]=C:\Windows\SYSTEM32\profapi.dll
LoadedModule[112]=C:\Windows\system32\napinsp.dll
LoadedModule[113]=C:\Windows\system32\NLAapi.dll
LoadedModule[114]=C:\Windows\System32\winrnr.dll
LoadedModule[115]=C:\Windows\System32\rasadhlp.dll
LoadedModule[116]=C:\Windows\System32\fwpuclnt.dll
LoadedModule[117]=C:\Windows\SYSTEM32\kernel.appcore.dll
LoadedModule[118]=C:\Windows\SYSTEM32\wkscli.dll
LoadedModule[119]=C:\Windows\SYSTEM32\cscapi.dll
LoadedModule[120]=C:\Windows\SYSTEM32\clbcatq.dll
LoadedModule[121]=C:\Program Files (x86)\Common Files\TEC-IT\TBarCode\11.1\TBarCode11.ocx
LoadedModule[122]=C:\Program Files (x86)\Common Files\TEC-IT\TBarCode\11.1\TBarCode11.dll
LoadedModule[123]=C:\Windows\SYSTEM32\MSVCR100.dll
LoadedModule[124]=C:\Windows\SYSTEM32\MSVCP100.dll
LoadedModule[125]=C:\Windows\SYSTEM32\sxs.dll
FriendlyEventName=Nicht mehr funktionsfähig
ConsentKey=APPCRASH
AppName=Apache HTTP Server
AppPath=C:\xampp\apache\bin\httpd.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=1BF57800D3200EF693793F1F25A54A11




Ich hoffe die Angaben sind ausreichend, falls nicht gebe ich gern alle benötigten Informationen welche für die Problemlösung benötigt werden.

Danke schon einmal im voraus.

Grüße
Daniel
by ImproSnake
23. July 2014 06:41
 
Forum: XAMPP für Windows
Topic: Apache httpd.exe stürzt ab und startet sofort neu
Replies: 3
Views: 11223

XAMPP mit php 5.4 nts

Hallo,

für eine Applikation muss ich den Zend Guard laufen lassen, und wenn ich richtig informiert läuft das nicht mit der von XAMPP mitgelieferten PHP Version.

Ich habe nun versucht PHP NTS (CGI) einzubingen, allerdings lädt XAMPP dann kein PHP mehr.

Was muss ich in der Apache Konfig deaktivieren, und was aktivieren? Ich nehme an ich habe in der Conf einfach nur einen fehler und meine httpd-xampp.conf sieht wie folgt aus:

Code: Select all
#
# XAMPP settings
#

<IfModule env_module>
    SetEnv MIBDIRS "C:/xampp/php/extras/mibs"
    SetEnv MYSQL_HOME "\\xampp\\mysql\\bin"
    SetEnv OPENSSL_CONF "C:/xampp/apache/bin/openssl.cnf"
    SetEnv PHP_PEAR_SYSCONF_DIR "\\xampp\\php"
    SetEnv PHPRC "\\xampp\\php"
    SetEnv TMP "\\xampp\\tmp"
</IfModule>

#
# PHP-Module setup
#
#LoadFile "C:/xampp/php/php5ts.dll"
#LoadFile "C:/xampp/php/libpq.dll"
#LoadModule php5_module "C:/xampp/php/php5apache2_4.dll"
#<FilesMatch "\.php$">
#    SetHandler application/x-httpd-php
#</FilesMatch>
#<FilesMatch "\.phps$">
#    SetHandler application/x-httpd-php-source
#</FilesMatch>

#
# PHP-CGI setup
#
<FilesMatch "\.php$">
    SetHandler application/x-httpd-php-cgi
</FilesMatch>
<IfModule actions_module>
    Action application/x-httpd-php-cgi "/php/php-cgi.exe"
</IfModule>


<IfModule php5_module>
    PHPINIDir "C:/xampp/php"
</IfModule>

<IfModule mime_module>
    AddType text/html .php .phps
</IfModule>

ScriptAlias /php/ "C:/xampp/php/"
<Directory "C:/xampp/php">
    AllowOverride None
    Options None
    Require all denied
    <Files "php-cgi.exe">
          Require all granted
    </Files>
</Directory>

<Directory "C:/xampp/cgi-bin">
    <FilesMatch "\.php$">
        SetHandler cgi-script
    </FilesMatch>
    <FilesMatch "\.phps$">
        SetHandler None
    </FilesMatch>
</Directory>

<Directory "C:/xampp/htdocs/xampp">
    <IfModule php5_module>
       <Files "status.php">
          php_admin_flag safe_mode off
       </Files>
    </IfModule>
    AllowOverride AuthConfig
</Directory>

<IfModule alias_module>
    Alias /security "C:/xampp/security/htdocs/"
    <Directory "C:/xampp/security/htdocs">
        <IfModule php5_module>
          <Files "xamppsecurity.php">
             php_admin_flag safe_mode off
          </Files>
        </IfModule>
        AllowOverride AuthConfig
        Require all granted
   </Directory>

    Alias /licenses "C:/xampp/licenses/"
    <Directory "C:/xampp/licenses">
        Options +Indexes
        <IfModule autoindex_color_module>
            DirectoryIndexTextColor  "#000000"
            DirectoryIndexBGColor "#f8e8a0"
            DirectoryIndexLinkColor "#bb3902"
            DirectoryIndexVLinkColor "#bb3902"
            DirectoryIndexALinkColor "#bb3902"
        </IfModule>
        Require all granted
   </Directory>

    Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
    <Directory "C:/xampp/phpMyAdmin">
        AllowOverride AuthConfig
        Require all granted
    </Directory>

    Alias /webalizer "C:/xampp/webalizer/"
    <Directory "C:/xampp/webalizer">
        <IfModule php5_module>
          <Files "webalizer.php">
             php_admin_flag safe_mode off
          </Files>
        </IfModule>
        AllowOverride AuthConfig
        Require all granted
    </Directory>
</IfModule>

#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
        Require local
   ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
by kerstel
04. July 2014 12:22
 
Forum: XAMPP für Windows
Topic: XAMPP mit php 5.4 nts
Replies: 5
Views: 10256

Re: access Forbidden

This is the complete of the file please show me which one is wrong..thanks...

#
# XAMPP settings
#

<IfModule env_module>
SetEnv MIBDIRS "D:/xampp/php/extras/mibs"
SetEnv MYSQL_HOME "\\xampp\\mysql\\bin"
SetEnv OPENSSL_CONF "D:/xampp/apache/bin/openssl.cnf"
SetEnv PHP_PEAR_SYSCONF_DIR "\\xampp\\php"
SetEnv PHPRC "\\xampp\\php"
SetEnv TMP "\\xampp\\tmp"
</IfModule>

#
# PHP-Module setup
#
LoadFile "D:/xampp/php/php5ts.dll"
LoadModule php5_module "D:/xampp/php/php5apache2_4.dll"

<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>

#
# PHP-CGI setup
#
#<FilesMatch "\.php$">
# SetHandler application/x-httpd-php-cgi
#</FilesMatch>
#<IfModule actions_module>
# Action application/x-httpd-php-cgi "/php-cgi/php-cgi.exe"
#</IfModule>


<IfModule php5_module>
PHPINIDir "D:/xampp/php"
</IfModule>

<IfModule mime_module>
AddType text/html .php .phps
</IfModule>

ScriptAlias /php-cgi/ "D:/xampp/php/"
<Directory "D:/xampp/php">
AllowOverride None
Options None
Require all denied
<Files "php-cgi.exe">
Require all granted
</Files>
</Directory>

<Directory "D:/xampp/cgi-bin">
<FilesMatch "\.php$">
SetHandler cgi-script
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler None
</FilesMatch>
</Directory>

<Directory "D:/xampp/htdocs/xampp">
<IfModule php5_module>
<Files "status.php">
php_admin_flag safe_mode off
</Files>
</IfModule>
AllowOverride AuthConfig
</Directory>

<IfModule alias_module>
Alias /security "D:/xampp/security/htdocs/"
<Directory "D:/xampp/security/htdocs">
<IfModule php5_module>
<Files "xamppsecurity.php">
php_admin_flag safe_mode off
</Files>
</IfModule>
AllowOverride AuthConfig
Require all granted
</Directory>

Alias /licenses "D:/xampp/licenses/"
<Directory "D:/xampp/licenses">
Options +Indexes
<IfModule autoindex_color_module>
DirectoryIndexTextColor "#000000"
DirectoryIndexBGColor "#f8e8a0"
DirectoryIndexLinkColor "#bb3902"
DirectoryIndexVLinkColor "#bb3902"
DirectoryIndexALinkColor "#bb3902"
</IfModule>
Require all granted
</Directory>

Alias /phpmyadmin "D:/xampp/phpMyAdmin/"
<Directory "D:/xampp/phpMyAdmin">
AllowOverride AuthConfig
Require all granted
</Directory>

Alias /webalizer "D:/xampp/webalizer/"
<Directory "D:/xampp/webalizer">
<IfModule php5_module>
<Files "webalizer.php">
php_admin_flag safe_mode off
</Files>
</IfModule>
AllowOverride AuthConfig
Require all granted
</Directory>
</IfModule>

#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
Order deny,allow

Deny from all
Allow from ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
fe80::/10 169.254.0.0/16

ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>
by joe.private00
01. July 2014 04:27
 
Forum: XAMPP for Windows
Topic: access Forbidden
Replies: 16
Views: 24764

php_printer 5.5.11 Working!

Hello, Apache Friends, and Friends of Apache Friends,

I'm one of the IT crew for a chain of sporting goods retail stores. And I am also lucky enough to get to code php from time to time for miscellaneous applications for our business. I have nearly no experience compiling anything. I was able to rebuild the php_printer.dll for 5.4.7 with all your help here: viewtopic.php?f=16&t=53348 . So, this is my attempt to reperform this task for 5.5.11

Xampp: 1.8.3
PHP 5.5.11
OSes:
Windows Server 2012 R2 64bit
Windows 7 Pro 64bit

The guide I Heavily used in this process:
https://wiki.php.net/internals/windows/stepbystepbuild

I downloaded the Express Version of Microsoft Visual Studio Express 2012 for Windows Desktop. Also Installed it on my Windows Server 2012 Machine.
Link (2014-06-24): http://www.microsoft.com/en-us/download ... x?id=34673

Then I downloaded one of the PhP snapshots (I did nothing with this yet)
Link (2014-06-24): http://snaps.php.net/index.php?branch=5.5
I wasn't sure which, Not experienced so I went with "php5.5-201406241830.tar.gz"

I downloaded php-sdk-binary-tools-20110915.zip from http://windows.php.net/downloads/php-sdk/
I unpacked this file into the c:\php-sdk folder I had just created.

I then Went to the start screen and typed
Code: Select all
VS2012 x86 Native Tools Command Prompt


When the application popped up I opened it. And Proceeded with the following instructions:
Code: Select all
cd c:\php-sdk\
bin\phpsdk_setvars.bat
bin\phpsdk_buildtree.bat phpdev


I opened the php-sdk\phpdev folder expecting to see vc11 but only see vc6, vc8 and vc9. So, already feeling like this is going to fail. I just create a vc11 folder in hopes that something awesome will happen. Then I coppied the content of vc9 to the vc11 folder as they just seemed like skelleton place older folders.

I unpacked the php5.5-201406241830.tar.gz I downloaded earlier with 7zip and loaded it into C:\php-sdk\phpdev\vc11\x86

So it looked like : C:\php-sdk\phpdev\vc11\x86\php5.5-201406241830\
I am suspecting that I should just unload the content of php5.5-201406241830 into the x86 folder. But trying not to assume anything just yet.

I then download the following from http://windows.php.net/downloads/php-sdk/:
deps-5.5-vc11-x64.7z
deps-5.5-vc11-x86.7z

Trying the x86 version first, again feeling like I'm flying blind. I unloaded it into deps folder this time not doing x86\deps\deps\~ but x86\deps\~.

I remembered from last time I tried doing this that I had to grab the printer files
http://svn.php.net/repository/pecl/printer/trunk/

And from last time I know I needed to change something in the printer.c file
"Open 'printer.c' and replace all instances of 'pval' with 'zval' and it should compile."

I put those files into C:\php-sdk\phpdev\vc11\x86\php5.5-201406241830\ext\printer

I then proceeded with the following code commands in the "VS2012 x86 Native Tools Command Prompt"
Code: Select all
cd c:\php-sdk\phpdev\vcXX\x86\php5.5-201406241830
buildconf
configure --enable-printer=shared


It returned with Unknown option enable-cli. So, I removed that and tried again.
Code: Select all
c:\php-sdk\phpdev\vc11\x86\php5.5-201406241830>configure --disable-all --enable-
printer=shared
Saving configure options to config.nice.bat
Checking for cl.exe ...  <in default path>
  Detected compiler MSVC11 (Visual C++ 2012)
  Detected 32-bit compiler
Checking for link.exe ...  C:\Program Files (x86)\Microsoft Visual Studio 11.0\V
C\BIN
Checking for nmake.exe ...  <in default path>
Checking for lib.exe ...  <in default path>
Checking for bison.exe ...  <not found>
ERROR: bison is required


I did a quick google search and found:
http://bobobobo.wordpress.com/2008/05/2 ... mpile-php/

and downloaded bison and flex
http://downloads.sourceforge.net/gnuwin ... .1-bin.zip
http://gnuwin32.sourceforge.net/downlin ... in-zip.php

No idea where to put them I looked for where nmake.exe was located on my c:\ and found it in C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin

So I unloaded both my downloaded zips into that folder respectively and hoping beyond hope that everything plays nice.

And BAM:
Code: Select all
c:\php-sdk\phpdev\vc11\x86\php5.5-201406241830>configure --enable-printer=shared

Saving configure options to config.nice.bat
Checking for cl.exe ...  <in default path>
  Detected compiler MSVC11 (Visual C++ 2012)
  Detected 32-bit compiler
Checking for link.exe ...  C:\Program Files (x86)\Microsoft Visual Studio 11.0\V
C\BIN
Checking for nmake.exe ...  <in default path>
Checking for lib.exe ...  <in default path>
Checking for bison.exe ...  <in default path>
Checking for re2c.exe ...  <not found>
Parsers will not be regenerated
Checking for zip.exe ...  <not found>
Checking for lemon.exe ...  <not found>
Checking for mc.exe ...  C:\Program Files (x86)\Windows Kits\8.0\bin\x86
Checking for mt.exe ...  C:\Program Files (x86)\Windows Kits\8.0\bin\x86

Build dir: Release_TS
PHP Core:  php5ts.dll and php5ts.lib

Checking for wspiapi.h ...  <in default path>
Enabling IPv6 support
Enabling SAPI sapi\cgi
Enabling SAPI sapi\cli
Enabling extension ext\bcmath
Enabling extension ext\calendar
Checking for library oleaut32.lib ... <in LIB path> OleAut32.Lib
Enabling extension ext\com_dotnet
Checking for mscoree.h ...  <in default path>
Enabling extension ext\ctype
Enabling extension ext\date
Enabling extension ext\ereg
Enabling extension ext\filter
Enabling extension ext\ftp
Checking for library libjpeg_a.lib;libjpeg.lib ... ..\deps\lib\libjpeg_a.lib
Checking for library freetype_a.lib;freetype.lib ... ..\deps\lib\freetype_a.lib
Checking for library libpng_a.lib;libpng.lib ... ..\deps\lib\libpng_a.lib
Checking for gd.h ...  ext\gd\libgd
Checking for png.h ...  C:\php-sdk\phpdev\vc11\x86\deps\include\libpng15
Checking for library libiconv_a.lib;libiconv.lib ... ..\deps\lib\libiconv_a.lib
Checking for iconv.h ...  C:\php-sdk\phpdev\vc11\x86\deps\include
Checking for library libXpm_a.lib ... ..\deps\lib\libxpm_a.lib
Checking for xpm.h ...  C:\php-sdk\phpdev\vc11\x86\deps\include\X11
Checking for library T1_StaticMD.lib ... <not found>
WARNING: t1lib not enabled; libraries and headers not found

Checking for library vpxmt.lib ... ..\deps\lib\vpxmt.lib
Checking for vp8.h ...  C:\php-sdk\phpdev\vc11\x86\deps\include\vpx
Checking for library User32.lib ... <in LIB path> User32.Lib
Checking for library Gdi32.lib ... <in LIB path> Gdi32.Lib
Enabling extension ext\gd [shared]
Enabling extension ext\hash
Checking for library libiconv_a.lib ... ..\deps\lib\libiconv_a.lib
Checking for iconv.h ...  C:\php-sdk\phpdev\vc11\x86\deps\include
Enabling extension ext\iconv
Enabling extension ext\json
Checking for library ws2_32.lib ... <in LIB path> WS2_32.Lib
Enabling extension ext\mysqlnd
Checking for library odbc32.lib ... <in LIB path> odbc32.lib
Checking for library odbccp32.lib ... <in LIB path> odbccp32.lib
Checking for sql.h ...  <in default path>
Checking for sqlext.h ...  <in default path>
Enabling extension ext\odbc
Enabling extension ext\opcache [shared]
Enabling extension ext\pcre
Checking for library winspool.lib ... <in LIB path> WinSpool.Lib
Checking for library gdi32.lib ... <in LIB path> Gdi32.Lib
Enabling extension ext\printer [shared]
Enabling extension ext\reflection
Enabling extension ext\session
Enabling extension ext\spl
Checking for timelib_config.h ...  ext/date/lib
Enabling extension ext\standard
Enabling extension ext\tokenizer
Checking for zlib.h ...  C:\php-sdk\phpdev\vc11\x86\deps\include
Enabling extension ext\zip
Checking for library zlib_a.lib;zlib.lib ... ..\deps\lib\zlib_a.lib
Checking for zlib.h ...  C:\php-sdk\phpdev\vc11\x86\deps\include
Enabling extension ext\zlib
Checking for library libxml2_a_dll.lib;libxml2_a.lib ... ..\deps\lib\libxml2_a_d
ll.lib
Checking for library libiconv_a.lib;iconv_a.lib;libiconv.lib;iconv.lib ... ..\de
ps\lib\libiconv_a.lib
Checking for libxml/parser.h ...  C:\php-sdk\phpdev\vc11\x86\deps\include
Enabling extension ext\libxml
Enabling extension ext\dom
Enabling extension ext\phar
        Native OpenSSL support in Phar disabled
Enabling extension ext\simplexml
Enabling extension ext\wddx
Checking for timelib_config.h ...  ext/date/lib
Enabling extension ext\xml
Enabling extension ext\xmlreader
Checking for libxml/xmlwriter.h ...  C:\php-sdk\phpdev\vc11\x86\deps\include
Enabling extension ext\xmlwriter

Creating build dirs...
Generating files...
Generating Makefile
Generating main/internal_functions.c
Generating main/config.w32.h
Generating phpize
Done.



Enabled extensions:
-----------------------
| Extension  | Mode   |
-----------------------
| bcmath     | static |
| calendar   | static |
| com_dotnet | static |
| ctype      | static |
| date       | static |
| dom        | static |
| ereg       | static |
| filter     | static |
| ftp        | static |
| gd         | shared |
| hash       | static |
| iconv      | static |
| json       | static |
| libxml     | static |
| mysqlnd    | static |
| odbc       | static |
| opcache    | shared |
| pcre       | static |
| phar       | static |
| printer    | shared |
| reflection | static |
| session    | static |
| simplexml  | static |
| spl        | static |
| standard   | static |
| tokenizer  | static |
| wddx       | static |
| xml        | static |
| xmlreader  | static |
| xmlwriter  | static |
| zip        | static |
| zlib       | static |
-----------------------


Enabled SAPI:
-------------
| Sapi Name |
-------------
| cgi       |
| cli       |
-------------


--------------------------------------------
|               |                          |
--------------------------------------------
| Build type    | Release                  |
| Thread Safety | Yes                      |
| Compiler      | MSVC11 (Visual C++ 2012) |
| Architecture  | x86                      |
--------------------------------------------


Type 'nmake' to build PHP

c:\php-sdk\phpdev\vc11\x86\php5.5-201406241830>


So, I checked out the "C:\php-sdk\phpdev\vc11\x86\php5.5-201406241830\Release_TS\ext" directory and found the printer folder. However it was empty.

I realized I forgot to nmake
Code: Select all
nmake


Watching it go through all the .c files trying to watch for printer or php_printer. I gave up and just let it run.

While letting it run I forgot I had problems last time with the php version. I checked the old notes and found that I really do neet to be nitpicky about the version of php I use.

http://www.oldapps.com/php_programming_ ... _php=14569

I then grapped PHP 5.5.11 to match the php version in the Xampp I am using. I will be putting it in the C:\php-sdk\phpdev\vc11\x86\ folder and re-run the rest of the steps.

I do see that there is a php_printer.dll in the Release_TS folder. So, I know it is mostly working now.

Going back to do all the above steps with the correct php build version. I will let you know how it turns out. I hope this will succeed and be helpful for others. I will reply to this post if I have an issue and add a link to the finished php_printer.dll for 5.5.11 if I get it working. Done working on this project for today. Not enough time to finish and test. Will reply to this post with my results tomorrow.

Thank you!
by pylonx
24. June 2014 23:31
 
Forum: XAMPP for Windows
Topic: php_printer 5.5.11 Working!
Replies: 2
Views: 14095

Re: Access network

Sorry,

I can not run my php pages with xamp network, while in my local pages work.
I edit the httpd-xampp.conf file but I can not run my pages.
Do you have an idea or could it come?
By modifying this file I happened to run phpmyadmin and access to xamp htdocs folder without login.

my file :
Code: Select all
#
# XAMPP settings
#

<IfModule env_module>
    SetEnv MIBDIRS "D:/xampp/php/extras/mibs"
    SetEnv MYSQL_HOME "\\xampp\\mysql\\bin"
    SetEnv OPENSSL_CONF "D:/xampp/apache/bin/openssl.cnf"
    SetEnv PHP_PEAR_SYSCONF_DIR "\\xampp\\php"
    SetEnv PHPRC "\\xampp\\php"
    SetEnv TMP "\\xampp\\tmp"
</IfModule>

#
# PHP-Module setup
#
LoadFile "D:/xampp/php/php5ts.dll"
LoadFile "D:/xampp/php/libpq.dll"
LoadModule php5_module "D:/xampp/php/php5apache2_4.dll"

<FilesMatch "\.php$">
    SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
    SetHandler application/x-httpd-php-source
</FilesMatch>

#
# PHP-CGI setup
#
#<FilesMatch "\.php$">
#    SetHandler application/x-httpd-php-cgi
#</FilesMatch>
#<IfModule actions_module>
#    Action application/x-httpd-php-cgi "/php-cgi/php-cgi.exe"
#</IfModule>


<IfModule php5_module>
    PHPINIDir "D:/xampp/php"
</IfModule>

<IfModule mime_module>
    AddType text/html .php .phps
</IfModule>

ScriptAlias /php-cgi/ "D:/xampp/php/"
<Directory "D:/xampp/php">
    AllowOverride None
    Options None
    Require all denied
    <Files "php-cgi.exe">
          Require all granted
    </Files>
</Directory>

<Directory "D:/xampp/cgi-bin">
    <FilesMatch "\.php$">
        SetHandler cgi-script
    </FilesMatch>
    <FilesMatch "\.phps$">
        SetHandler None
    </FilesMatch>
</Directory>

<Directory "D:/xampp/htdocs/xampp">
    <IfModule php5_module>
       <Files "status.php">
          php_admin_flag safe_mode off
       </Files>
    </IfModule>
    AllowOverride AuthConfig
    Require all granted
</Directory>


<Directory "D:/xampp/htdocs/test">
    <IfModule php5_module>
       <Files "form-insert-user.php">
          php_admin_flag safe_mode off
       </Files>
    </IfModule>
    AllowOverride AuthConfig
    Require all granted
</Directory>

<IfModule alias_module>
    Alias /security "D:/xampp/security/htdocs/"
    <Directory "D:/xampp/security/htdocs">
        <IfModule php5_module>
          <Files "xamppsecurity.php">
             php_admin_flag safe_mode off
          </Files>
        </IfModule>
        AllowOverride AuthConfig
   </Directory>

    Alias /licenses "D:/xampp/licenses/"
    <Directory "D:/xampp/licenses">
        Options +Indexes
        <IfModule autoindex_color_module>
            DirectoryIndexTextColor  "#000000"
            DirectoryIndexBGColor "#f8e8a0"
            DirectoryIndexLinkColor "#bb3902"
            DirectoryIndexVLinkColor "#bb3902"
            DirectoryIndexALinkColor "#bb3902"
        </IfModule>
        Require all granted
   </Directory>

    Alias /phpmyadmin "D:/xampp/phpMyAdmin/"
    <Directory "D:/xampp/phpMyAdmin">
        AllowOverride AuthConfig
        Require all granted
    </Directory>
   
   Alias /xampp "D:/xampp/htdocs/xampp"
    <Directory "D:/xampp/htdocs/xampp">
        AllowOverride AuthConfig
        Require all granted
    </Directory>
   
   Alias /test "D:/xampp/htdocs/test"
    <Directory "D:/xampp/htdocs/test">
        AllowOverride AuthConfig
        Require all granted
    </Directory>
   
    Alias /webalizer "D:/xampp/webalizer/"
    <Directory "D:/xampp/webalizer">
        <IfModule php5_module>
          <Files "webalizer.php">
             php_admin_flag safe_mode off
          </Files>
        </IfModule>
        AllowOverride AuthConfig
        Require all granted
    </Directory>
</IfModule>

#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|test|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
        Order deny,allow
       Allow from ::1 127.0.0.0/8
   Allow from all
   ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>


Thank you.
by devFR
22. May 2014 12:59
 
Forum: XAMPP for Windows
Topic: Access network
Replies: 2
Views: 5314

Ins Internet mit dir! - Nö

Hi,

ich habe XAMPP 3.2.1 und Apache läuft auch. Der Router ist korrekt eingestellt und ich bekomme Zugriff verweigert wenn ich aus dem Internet darauf zugreifen möchte. Soweit Standard und alles ok.
Laut Anleitungen muss ich nur meinen PC mit Requireany o.ä. mit eintragen damit es funktioniert. Klappt nur nicht.

Code: Select all
[Mon May 19 21:49:11.316023 2014] [authz_core:error] [pid 5708:tid 1696] [client 192.168.2.1:5483] AH01630: client denied by server configuration: E:/XAMPP/htdocs/xampp/

[Mon May 19 22:00:16.111047 2014] [mpm_winnt:notice] [pid 6060:tid 264] AH00455: Apache/2.4.9 (Win32) OpenSSL/1.0.1g PHP/5.5.11 configured -- resuming normal operations
[Mon May 19 22:00:16.111047 2014] [mpm_winnt:notice] [pid 6060:tid 264] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13
[Mon May 19 22:00:16.111047 2014] [core:notice] [pid 6060:tid 264] AH00094: Command line: 'e:\\xampp\\apache\\bin\\httpd.exe -d E:/XAMPP/apache'
[Mon May 19 22:00:16.114047 2014] [mpm_winnt:notice] [pid 6060:tid 264] AH00418: Parent: Created child process 6236
[Mon May 19 22:00:16.752084 2014] [ssl:warn] [pid 6236:tid 276] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 19 22:00:16.967096 2014] [ssl:warn] [pid 6236:tid 276] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 19 22:00:16.999098 2014] [mpm_winnt:notice] [pid 6236:tid 276] AH00354: Child: Starting 150 worker threads.



Code: Select all
[19-May-2014 21:29:42 Europe/Berlin] PHP Warning:  file_get_contents(lang.tmp): failed to open stream: No such file or directory in E:\XAMPP\htdocs\xampp\index.php on line 2

[19-May-2014 21:31:57 Europe/Berlin] PHP Notice:  Undefined index: HTTP_HOST in E:\XAMPP\htdocs\index.php on line 7

[19-May-2014 21:35:04 Europe/Berlin] PHP Notice:  Undefined index: HTTP_HOST in E:\XAMPP\htdocs\index.php on line 7

[19-May-2014 21:39:13 Europe/Berlin] PHP Notice:  Undefined index: HTTP_HOST in E:\XAMPP\htdocs\index.php on line 7

[19-May-2014 21:43:01 Europe/Berlin] PHP Notice:  Undefined index: HTTP_HOST in E:\XAMPP\htdocs\index.php on line 7

Code: Select all
#
# XAMPP settings
#

<IfModule env_module>
    SetEnv MIBDIRS "E:/XAMPP/php/extras/mibs"
    SetEnv MYSQL_HOME "\\xampp\\mysql\\bin"
    SetEnv OPENSSL_CONF "E:/XAMPP/apache/bin/openssl.cnf"
    SetEnv PHP_PEAR_SYSCONF_DIR "\\xampp\\php"
    SetEnv PHPRC "\\xampp\\php"
    SetEnv TMP "\\xampp\\tmp"
</IfModule>

#
# PHP-Module setup
#
LoadFile "E:/XAMPP/php/php5ts.dll"
LoadFile "E:/XAMPP/php/libpq.dll"
LoadModule php5_module "E:/XAMPP/php/php5apache2_4.dll"

<FilesMatch "\.php$">
    SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
    SetHandler application/x-httpd-php-source
</FilesMatch>

#
# PHP-CGI setup
#
#<FilesMatch "\.php$">
#    SetHandler application/x-httpd-php-cgi
#</FilesMatch>
#<IfModule actions_module>
#    Action application/x-httpd-php-cgi "/php-cgi/php-cgi.exe"
#</IfModule>


<IfModule php5_module>
    PHPINIDir "E:/XAMPP/php"
</IfModule>

<IfModule mime_module>
    AddType text/html .php .phps
</IfModule>

ScriptAlias /php-cgi/ "E:/XAMPP/php/"
<Directory "E:/XAMPP/php">
    AllowOverride None
    Options None
    Require all denied
    <Files "php-cgi.exe">
          Require all granted
    </Files>
</Directory>

<Directory "E:/XAMPP/cgi-bin">
    <FilesMatch "\.php$">
        SetHandler cgi-script
    </FilesMatch>
    <FilesMatch "\.phps$">
        SetHandler None
    </FilesMatch>
</Directory>

<Directory "E:/XAMPP/htdocs/xampp">
    <IfModule php5_module>
       <Files "status.php">
          php_admin_flag safe_mode off
       </Files>
    </IfModule>
    AllowOverride AuthConfig
</Directory>

<IfModule alias_module>
    Alias /security "E:/XAMPP/security/htdocs/"
    <Directory "E:/XAMPP/security/htdocs">
        <IfModule php5_module>
          <Files "xamppsecurity.php">
             php_admin_flag safe_mode off
          </Files>
        </IfModule>
        AllowOverride AuthConfig
        Require all granted
   </Directory>

    Alias /licenses "E:/XAMPP/licenses/"
    <Directory "E:/XAMPP/licenses">
        Options +Indexes
        <IfModule autoindex_color_module>
            DirectoryIndexTextColor  "#000000"
            DirectoryIndexBGColor "#f8e8a0"
            DirectoryIndexLinkColor "#bb3902"
            DirectoryIndexVLinkColor "#bb3902"
            DirectoryIndexALinkColor "#bb3902"
        </IfModule>
        Require all granted
   </Directory>

    Alias /phpmyadmin "E:/XAMPP/phpMyAdmin/"
    <Directory "E:/XAMPP/phpMyAdmin">
        AllowOverride AuthConfig
        Require all granted
    </Directory>

    Alias /webalizer "E:/XAMPP/webalizer/"
    <Directory "E:/XAMPP/webalizer">
        <IfModule php5_module>
          <Files "webalizer.php">
             php_admin_flag safe_mode off
          </Files>
        </IfModule>
        AllowOverride AuthConfig
        Require all granted
    </Directory>
</IfModule>

#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-

status|server-info))">
<RequireAll>
   Require local
</RequireAll>
   
   ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>


Ich habe es ganz unten bei New XAMPP security concept geändert, ohne Erfolg.
Wo muss ich jetzt was eintragen, damit ich aus dem Internet überall drauf komme ausser auf die Admin Seite die Lokal bleiben soll?

Danke.
by marabunta
19. May 2014 21:17
 
Forum: Apache
Topic: Ins Internet mit dir! - Nö
Replies: 3
Views: 6403

New xampp security concept: Access Forbidden Error 403

Hi,

I have downloaded and installed XAMPP 1.8.1 for Windows on Windows 7 Ultimate. I have set up XAMPP to run together with IIS as per these instructions: http://www.binodranabhat.com.np/blog/using-xampp-and-iis-together/

All good so far, my PHP sites run locally and everything except phpMyAdmin is available from the XAMPP menu.

However when I try to access phpMyAdmin I get this error:

Access forbidden!
New XAMPP security concept:
Access to the requested directory is only available from the local network.
This setting can be configured in the file "httpd-xampp.conf".


I've found several answers via Google and some on this site. However, so far, none of the solutions I've tried have resolved the issue.

Here is my httpd-xampp.conf file which I have modified to match the examples I've found that are supposed to resolve the issue:

Code: Select all
#
# XAMPP settings
#

<IfModule env_module>
    SetEnv MIBDIRS "C:/xampp/php/extras/mibs"
    SetEnv MYSQL_HOME "\\xampp\\mysql\\bin"
    SetEnv OPENSSL_CONF "C:/xampp/apache/bin/openssl.cnf"
    SetEnv PHP_PEAR_SYSCONF_DIR "\\xampp\\php"
    SetEnv PHPRC "\\xampp\\php"
    SetEnv TMP "\\xampp\\tmp"
</IfModule>

#
# PHP-Module setup
#
LoadFile "C:/xampp/php/php5ts.dll"
LoadModule php5_module "C:/xampp/php/php5apache2_4.dll"

<FilesMatch "\.php$">
    SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
    SetHandler application/x-httpd-php-source
</FilesMatch>

#
# PHP-CGI setup
#
#<FilesMatch "\.php$">
#    SetHandler application/x-httpd-php-cgi
#</FilesMatch>
#<IfModule actions_module>
#    Action application/x-httpd-php-cgi "/php-cgi/php-cgi.exe"
#</IfModule>


<IfModule php5_module>
    PHPINIDir "C:/xampp/php"
</IfModule>

<IfModule mime_module>
    AddType text/html .php .phps
</IfModule>

ScriptAlias /php-cgi/ "C:/xampp/php/"
<Directory "C:/xampp/php">
    AllowOverride None
    Options None
    Require all denied
    <Files "php-cgi.exe">
          Require all granted
    </Files>
</Directory>

<Directory "C:/xampp/cgi-bin">
    <FilesMatch "\.php$">
        SetHandler cgi-script
    </FilesMatch>
    <FilesMatch "\.phps$">
        SetHandler None
    </FilesMatch>
</Directory>

<Directory "C:/xampp/htdocs/xampp">
    <IfModule php5_module>
        <Files "status.php">
            php_admin_flag safe_mode off
        </Files>
    </IfModule>
    AllowOverride AuthConfig
</Directory>

<IfModule alias_module>
    Alias /security "C:/xampp/security/htdocs/"
    <Directory "C:/xampp/security/htdocs">
        <IfModule php5_module>
            <Files "xamppsecurity.php">
                php_admin_flag safe_mode off
            </Files>
        </IfModule>
        AllowOverride AuthConfig
        Require all granted
   </Directory>

    Alias /licenses "C:/xampp/licenses/"
    <Directory "C:/xampp/licenses">
        Options +Indexes
        <IfModule autoindex_color_module>
            DirectoryIndexTextColor  "#000000"
            DirectoryIndexBGColor "#f8e8a0"
            DirectoryIndexLinkColor "#bb3902"
            DirectoryIndexVLinkColor "#bb3902"
            DirectoryIndexALinkColor "#bb3902"
        </IfModule>
        Require all granted
   </Directory>

    Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
    <Directory "C:/xampp/phpMyAdmin">
        AllowOverride AuthConfig Limit
        Order allow,deny
        Allow from all
        Require all granted
    </Directory>

    Alias /webalizer "C:/xampp/webalizer/"
    <Directory "C:/xampp/webalizer">
        <IfModule php5_module>
            <Files "webalizer.php">
                php_admin_flag safe_mode off
            </Files>
        </IfModule>
        AllowOverride AuthConfig
        Require all granted
    </Directory>
</IfModule>

#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
    Order deny,allow
    Allow from all
    Require all granted

    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>


Even with the changes the problem persists and I still cannot access phpMyAdmin. Can anyone help?
by xerxes
17. January 2014 13:01
 
Forum: XAMPP for Windows
Topic: New xampp security concept: Access Forbidden Error 403
Replies: 1
Views: 7941

Apache don't start

This is the apache_start.bat output:
Diese Eingabeforderung nicht waehrend des Running beenden
Bitte erst bei einem gewollten Shutdown schliessen
Please close this command only for Shutdown
Apache 2 is starting ...
httpd.exe: Syntax error on line 518 of E:/xampp/apache/conf/httpd.conf: Syntax e
rror on line 17 of E:/xampp/apache/conf/extra/httpd-xampp.conf: Cannot load /xam
pp/php/php5ts.dll into server: The specified module could not be found.

Apache konnte nicht gestartet werden
Apache could not be started
Press any key to continue . . .


I tried to get the logs the control panel told me to show here, but they are empty... Thanks in advance.
by eventide
14. January 2014 06:02
 
Forum: XAMPP for Windows
Topic: Apache don't start
Replies: 0
Views: 4408

Re: php.exe crashes then says update query failed xampp

I went into C:\xampp\php\logs and its not showing anything at all, for that. Is there another error log anywhere ?What I will do is watch php.exe in task manager it will use alot of memory then you see it disappear off the screen right when it stops.

However I did forget to check the windows 7 log.. This is what is showing..


Faulting application name: php.exe, version: 5.4.19.0, time stamp: 0x521402a2
Faulting module name: php5ts.dll, version: 5.4.19.0, time stamp: 0x5214122c
Exception code: 0xc0000005
Fault offset: 0x0005c3da
Faulting process id: 0xa14
Faulting application start time: 0x01cf08c1c4b6b9dc
Faulting application path: C:\xampp\php\php.exe
Faulting module path: C:\xampp\php\php5ts.dll
Report Id: 49ab39a1-74b5-11e3-809f-984be1edd719
by supertyper
05. January 2014 01:07
 
Forum: XAMPP for Windows
Topic: php.exe crashes then says update query failed xampp
Replies: 6
Views: 9211

Re: The server closed the connection without sending any dat

OK, sorry for delay...rebooted and now 4 times =

Apache HTTP Server encountered a problem and needed to close.

Something is/got trashed

szAppName : httpd.exe szAppVer : 2.4.2.0 szModName : php5ts.dll
szModVer : 5.4.4.0 offset : 0026ea41

C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\WERed36.dir00\httpd.exe.mdmp
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\WERed36.dir00\appcompat.txt
by IamJim
13. December 2013 23:47
 
Forum: phpMyAdmin
Topic: MOST RESOLVED The server closed the connection
Replies: 10
Views: 33685

Re: Apache APPCRASH/php5ts.dll

wsl_praktikum wrote:meine Umgebung läuft jetzt stabil auf Linux, danke für den Tipp!


Na also - steter Tropfen höhlt den Stein. Und jetzt hast Du eine wunderbare Linuxumgebung, die ich für solche Servereinsätze als überlegen empfinde.
by Nobbie
03. December 2013 21:40
 
Forum: XAMPP für Windows
Topic: Apache APPCRASH/php5ts.dll
Replies: 9
Views: 19139
PreviousNext

Return to advanced search