Closed ghost closed 10 years ago
Please have a look at the php-error log if some kind of out-of memory happens.
There was a Problem with output_buffering set to 4096. I had disabled it and restartet lighttpd, but the setting was not used (output_buffering = off in php.ini). After a complete Server Restart, it works. I dont know, why it didnt work only with restarting lighttpd... maybe some strange Problem with fastcgi...
thx for your help.
Don't use lighttpd ;) it's a dead project
Maybe its dead, but its my only real choise. I could choose between Apache and lighttpd. Since this runs on a Internet Router with a 16MB Flash Memory Chip, and i need additional services like PHP, SSH, and Samba,i couldnt use such a Monster like Apache. As a sideffect, lighttpd is much faster on this little machine as Apache. Since its only for my personal use, lighttpd is more than enough for this purpose.
What about nginx? Regardless I'm impressed sabredav runs :)
there is no mod for nginx on Freetz available. But it works and this is all what i want.
How did you plug php into the webserver? Using fast_cgi or php-fpm you could save also some memory compared to mod-php
A bit crazier perhaps.. but php can also run standalone with php -S
its done via fast_cgi. I didnt like the way fast_cgi uses unix sockets (specialy on a vServer), but in my case, its the best way. BTW: You could found the project under http://freetz.org/. It runs only on some Internet Routers from AVM Germany (and some OEM's). Since this are the most used routers in Germany, its a good way, to host some small little things for my personal needs.
@evert i would not recommend php -S
on your router which might publish your personal lan to the whole internet :-)
@bilbob74 sounds cool
I have setup SabreDAV with Lighttpd on a old modified AVM FritzBox Router. I can upload files via WebDAV in any filesize i have tryed. For instance, i have tested a File with 15MB. Upload was fine and fast enough. But if i would download this file, either via Browser or via WebDAV Client like TotalCommander, the Download interrupts after getting 1,5MB. Is there anything i could do?