Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: mini |
|
Author |
|
PipoDeClown
Joined: 20 Dec 2005 Posts: 77
|
Posted: Sat 26 Jan '08 21:33 Post subject: mini |
|
|
[edit: this should have been a reply to http://www.apachelounge.com/viewtopic.php?t=2208]
my minimal apache config with mod_fcgid/php-cgi,
unpacked 7,98 MB, packed 2,30 MB
dir:
Code: | C:\www\bin
C:\www\etc
C:\www\lib
C:\www\logs
C:\www\sites
C:\www\tmp
C:\www\var
C:\www\readme.txt
C:\www\startwww.cmd
C:\www\stopwww.cmd
C:\www\bin\ab.exe
C:\www\bin\debugclient.exe
C:\www\bin\httpd.exe
C:\www\bin\libapr-1.dll
C:\www\bin\libapriconv-1.dll
C:\www\bin\libaprutil-1.dll
C:\www\bin\libhttpd.dll
C:\www\bin\php5ts.dll
C:\www\bin\php-cgi.exe
C:\www\bin\sqlite3.dll
C:\www\etc\httpd.conf
C:\www\etc\php-cgi.ini
C:\www\lib\ext
C:\www\lib\modules
C:\www\lib\ext\php_mbstring.dll
C:\www\lib\ext\php_pdo.dll
C:\www\lib\ext\php_pdo_sqlite_external.dll
C:\www\lib\ext\php_xdebug.dll
C:\www\lib\modules\mod_authz_host.so
C:\www\lib\modules\mod_dir.so
C:\www\lib\modules\mod_fcgid.so
C:\www\sites\_
C:\www\sites\_\counter
C:\www\sites\_\index.html
C:\www\sites\_\info.php
C:\www\sites\_\style.css
C:\www\sites\_\counter\index.php
C:\www\var\data
C:\www\var\session
C:\www\var\upload |
httpd.conf:
Code: | # minimal httpd.conf
serverroot "c:\www\etc"
maxrequestsperchild 10000
threadsperchild 15
serversignature on
loadmodule authz_host_module c:\www\lib\modules\mod_authz_host.so
loadmodule dir_module c:\www\lib\modules\mod_dir.so
loadmodule fcgid_module c:\www\lib\modules\mod_fcgid.so
#loadmodule mime_module c:\www\lib\modules\mod_mime.so
pidfile "c:\www\logs\httpd.pid"
errorlog "c:\www\logs\httpd-error.log"
loglevel debug
#transferlog "c:\www\logs\default-access.log"
defaulttype none
<ifmodule mime_module>
typesconfig c:\www\etc\mime.types
addhandler fcgid-script .php
</ifmodule>
defaultinitenv systemdrive "c:"
defaultinitenv systemroot "c:\windows"
defaultinitenv path "c:\windows\system32;c:\windows;c:\www\bin"
defaultinitenv tmp "c:\www\tmp"
defaultinitenv temp "c:\www\tmp"
defaultinitenv phprc "c:\www\etc"
#defaultinitenv magick_home "c:\www\opt\imagemagick"
maxprocesscount 20
maxrequestsperprocess 400
php_fix_pathinfo_enable 0
listen 80
serveradmin admin@localhost
<directory />
options followsymlinks
allowoverride none
order deny,allow
deny from all
</directory>
<filesmatch "^\.ht|\.~">
order allow,deny
deny from all
satisfy all
</filesmatch>
documentroot "c:\www\sites\_"
<directory "c:\www\sites\_">
options execcgi indexes followsymlinks
allowoverride none
order allow,deny
allow from all
directoryindex index.html index.php
<filesmatch \.php$>
#addhandler fcgid-script .php
sethandler fcgid-script
fcgiwrapper "c:\www\bin\php-cgi.exe -c c:\www\etc\php-cgi.ini" .php
</filesmatch>
</directory> |
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 30 Jan '08 11:29 Post subject: |
|
|
Your php binaries in the www folder?
What is the var folder for? I haven't found it on the config file.
You may interested in How to run on an usb stick with relativ pathes. |
|
Back to top |
|
|
|
|
|
|