Hi
I have changed from lighttp to nginx, and owncloud 8 works good, in fact, I don't see anymore the cpu graph in 100%.
I am starting php-cgi manually from command line with:
And it works... but from time to time the bind dissapears on his own, and I have to log in to the shell and start it again, the same way. Also, if I reset the router, obviously, it also dies.
But I want that to start automatically, and I cant seem to find a small and working file to put in init.d. The ones that I googled are huge, full of options and conditions, suited for full fledged linux distros.
On the other hand, looking inside some of the files in init.d is not enough, they are like 3-9 liners but can't figure out how to create a similar one for php-cgi.
So please, can anybody point me to a working init.d file, or to a automatic way to start/stop php for nginx.
Thanks a lot.
UPDATE: I have changed to php-fpm, and started to use a linux file sock instead of 128.0.0.1:9000, and everything works well with owncloud 8.02... still don't know how to create a init.d for the php-fmp
I am using AndreyPopov's fork of merlins build with entware installed.
I have changed from lighttp to nginx, and owncloud 8 works good, in fact, I don't see anymore the cpu graph in 100%.
I am starting php-cgi manually from command line with:
Code:
nohup php-cgi -b 127.0.0.1:9000 &
But I want that to start automatically, and I cant seem to find a small and working file to put in init.d. The ones that I googled are huge, full of options and conditions, suited for full fledged linux distros.
On the other hand, looking inside some of the files in init.d is not enough, they are like 3-9 liners but can't figure out how to create a similar one for php-cgi.
So please, can anybody point me to a working init.d file, or to a automatic way to start/stop php for nginx.
Thanks a lot.
UPDATE: I have changed to php-fpm, and started to use a linux file sock instead of 128.0.0.1:9000, and everything works well with owncloud 8.02... still don't know how to create a init.d for the php-fmp
I am using AndreyPopov's fork of merlins build with entware installed.
Last edited: