hex-digital / acf-migrations

An easy way to migrate local fields and field groups using readable object oriented syntax (without the need for huge arrays)
MIT License
3 stars 1 forks source link

Phar unable to run on servers #8

Closed Jamiewarb closed 4 years ago

Jamiewarb commented 7 years ago

The compiled phar, with the new repeater in repeater functionality, is unable to run on our servers. A Segmentation Fault is given. Likely to do with compilation of file

olivertappin commented 7 years ago

This will need looking into, based on your server environment. I'll get in touch with you directly for that information. As for a workaround, you can run the following commands to run the generate.php file from the project directly:

curl -Lo acf-migrations-1.0.0.tar.gz https://github.com/hex-digital/acf-migrations/archive/v1.0.0.tar.gz
tar xvfz acf-migrations-*.tar.gz
php acf-migrations-*/generate.php -t /path/to/theme
rm -rf acf-migrations-*