mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-28 21:02:25 +01:00
Changelog (php-5.3.6-r2 -> r3) - removed cyrus-sasl-dev from makedepends; php-ldap *could* use it, but there are issues with it finding sasl.h (let me know if you fix it) - added gdbm support to php-dba - added php-ctype, php-enchant, and php-xmlreader - removed --disable-all from ./configure line (it's best to keep defaults enabled) - php extensions now depend on the php package - fixed remaining inter-extension dependency issues
23 lines
376 B
Plaintext
23 lines
376 B
Plaintext
#!/sbin/runscript
|
|
|
|
PHP_FPM_CONF="/etc/php/php-fpm.conf"
|
|
|
|
opts="depend start stop reload"
|
|
|
|
depend() {
|
|
need net
|
|
use apache2 lighttpd nginx
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting PHP FastCGI server"
|
|
start-stop-daemon --start --exec /usr/bin/php-fpm -- -y "${PHP_FPM_CONF}"
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping PHP FastCGI server"
|
|
start-stop-daemon --stop --name php-fpm
|
|
eend $?
|
|
}
|