Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

sivujetti/sivujetti-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Sivujetti SDK

Tools that helps you write Sivujetti sites and themes.

Build notes macos

...

Backend tools (php)

See also php-src/azure/macos/job.yml.

  1. Dowload php-src
  2. Install deps
    • brew install pkg-config
      autoconf
      bison
      re2c
    • brew install openssl@1.1
      icu4c
      libiconv
      gd
      libzip
      libxml2
  3. cd php-src
  4. Prepare
    • mkdir mydir
    • rm configure
    • ./buildconf --force
    • export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
  5. Configure
    • ./configure
      --prefix=/path/to/php-src/mydir
      --disable-debug
      --enable-mbstring
      --enable-intl
      --with-zip
      --with-curl
      --with-sodium
      --with-iconv=/usr/local/opt/libiconv
  6. Monkey patch phpinfo()
    • sed -i -e '/CONFIGURE_COMMAND/s/^/\/\/ /g' main/build-defs.h
    • sed -i -e '/PHP_BUILD_SYSTEM/s/^/\/\/ /g' main/php_config.h
  7. Install
    • make -j$(sysctl -n hw.ncpu)
    • make install

Xdebug

See also https://xdebug.org/docs/install#compile.

  • /path/to/php-src/mydir/bin/phpize
  • ./configure --enable-xdebug --with-php-config=/path/to/php-src/mydir/bin/php-config
  • make
  • make install
  • cp modules/xdebug.so /path/to/php-src/mydir/lib/php/extensions/no-debug-non-zts-20200930/xdebug.so

Create zip

todo

Frontend tools

todo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published