|
@ -38,12 +38,11 @@ xdebug_start () |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${ON_CMD}" |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${ON_CMD}" |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${REMOTE_AUTOSTART_CMD}" |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${REMOTE_AUTOSTART_CMD}" |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${REMOTE_ENABLE_CMD}" |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${REMOTE_ENABLE_CMD}" |
|
|
docker restart $PHP_FPM_CONTAINER |
|
|
|
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c 'php -v' |
|
|
|
|
|
|
|
|
|
|
|
if [[ ! -z "${WITH_PROFILER}" ]]; then |
|
|
if [[ ! -z "${WITH_PROFILER}" ]]; then |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${PROFILER_ENABLE_CDM}" |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${PROFILER_ENABLE_CDM}" |
|
|
fi |
|
|
fi |
|
|
|
|
|
docker restart $PHP_FPM_CONTAINER |
|
|
|
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c 'php -v' |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -60,10 +59,10 @@ xdebug_stop () |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${OFF_CMD}" |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${OFF_CMD}" |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${REMOTE_AUTOSTART_CMD}" |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${REMOTE_AUTOSTART_CMD}" |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${REMOTE_ENABLE_CMD}" |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${REMOTE_ENABLE_CMD}" |
|
|
|
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${PROFILER_DISABLE_CMD}" |
|
|
# docker-compose restart php-fpm |
|
|
# docker-compose restart php-fpm |
|
|
docker restart $PHP_FPM_CONTAINER |
|
|
docker restart $PHP_FPM_CONTAINER |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c 'php -v' |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c 'php -v' |
|
|
docker exec -it $PHP_FPM_CONTAINER bash -c "${PROFILER_DISABLE_CMD}" |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|