1
Vagrant를 수행 한 직후에 PHP의 ImageMagick 라이브러리를 사용할 수 있도록 config.yaml을 설정하려고합니다. 현재 작동시킬 수있는 유일한 방법은 서버를 부팅하고 SSH를 실행 한 후 모든 패키지를 수동으로 설치하는 것입니다. 업그레이드를 통해 설치하려고하면 패키지가 설치되지만 PHP는 라이브러리를 인식하지 못합니다 이유.Vagrant up ImageMagick을 올바르게 설치하지 않았습니다.
저는 Vagrant 1.8.4를 사용하고 있습니다. PHP 구성이
php:
install: '1'
settings:
version: '55'
modules:
php:
- cli
- cgi
- intl
- imagick
pear: { }
pecl: { }
ini:
engine=On: '0'
engine: 'On'
short_open_tag: 'On' # We still use this in some places; also (bad) libraries might use this
asp_tags: 'Off'
precision: '14'
output_buffering: '4096'
zlib.output_compression: 'Off'
implicit_flush: 'Off'
serialize_precision: '17'
disable_functions: 'pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_│+ wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,'
zend.enable_gc: 'On'
expose_php: 'On'
max_execution_time: '30'
max_input_time: '60'
memory_limit: 128M
error_reporting: 'E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_WARNING'
display_errors: 'Off' # Only turn on in personal VM
display_startup_errors: 'Off' # Only turn on in personal VM
log_errors: 'On'
log_errors_max_len: '1024'
error_log: /var/log/php/php.log # We have to log errors to a place that has write permissions for www-user (Apache user)
ignore_repeated_errors: 'Off'
ignore_repeated_source: 'Off'
report_memleaks: 'On'
track_errors: 'Off'
html_errors: 'On'
variables_order: GPCS
request_order: GP
register_argc_argv: 'Off'
auto_globals_jit: 'On'
post_max_size: 8M
default_mimetype: text/html
enable_dl: 'Off'
file_uploads: 'On'
upload_max_filesize: 2M
max_file_uploads: '20'
allow_url_fopen: 'On'
allow_url_include: 'Off'
default_socket_timeout: '60'
cli_server.color: 'On'
SMTP: localhost
smtp_port: '25'
mail.add_x_header: 'On'
sql.safe_mode: 'Off'
odbc.allow_persistent: 'On'
odbc.check_persistent: 'On'
odbc.max_persistent: '-1'
odbc.max_links: '-1'
odbc.defaultlrl: '4096'
odbc.defaultbinmode: '1'
ibase.allow_persistent: '1'
ibase.max_persistent: '-1'
ibase.max_links: '-1'
ibase.timestampformat: '%Y-%m-%d %H:%M:%S'
ibase.dateformat: '%Y-%m-%d'
session.save_handler: files
session.use_cookies: '1'
이 어떤 도움을 크게
server:
install: '1'
packages:
- vim
- htop
- git
- tmux
- pv
- imagemagick
을 감사
서버 구성 :
여기 내 config.yaml에서 한 관련 설정을합니다.
방역 상자에는 어떤 공급 업체를 사용하고 있습니까? 요리사? 인형? 안돼요? 항의 자? 다른? –
저는 꼭두각시를 사용하고 있습니다. –