Skip to content

version-fox/vfox-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vfox-php

PHP plugin for vfox.

Usage

# install plugin
vfox add php

# install an available version
vfox search php
# or specific version
vfox install php@8.3.3

Prerequirements

PHP installation requires some dependencies. Please install the dependencies based on the error messages, or refer to .github/workflows/test-*.yaml for guidance.

macOS

To install PHP on macOS, you'll need a set of packages installed via homebrew.

brew install autoconf automake bison freetype gd gettext icu4c krb5 libedit libiconv libjpeg libpng libxml2 libzip pkg-config re2c zlib

There's also a set of optional packages which enable additional extensions to be enabled:

brew install gmp libsodium imagemagick

Note that the supported extensions are not exhaustive, so you may need to edit the bin/install script to support additional extension. Feel free to submit a PR for any missing extensions.