Php-fpm can be started by executing $HOME/package/php-8.2.4/sbin/php-fpm Macos To test mysql connection, don't forget to create schema mysql -u root -e 'CREATE SCHEMA test 'Ĭopy default php-fpm config, otherwise php-fpm cannot be started cp $HOME/package/php-8.2.4/etc/ $HOME/package/php-8.2.4/etc/nfĬp $HOME/package/php-8.2.4/etc/php-fpm.d/$HOME/package/php-8.2.4/etc/php-fpm.d/Edit $HOME/package/php-8.2.4/etc/nf daemonize = noĬonfigure it to listen to unix socket, edit $HOME/package/php-8.2.4/etc/php-fpm.d/also, uncomment out the listen.owner, oup, & listen.mode variables Optionally, you could test the binary using make TEST_PHP_ARGS=-j$(nproc) test or make TEST_PHP_ARGS=-j$(nproc) TESTS=ext/pdo_sqlite/ test to test only specific extension. libtool -finish $HOME/source/php-8.2.4/libs # for specific test only make TEST_PHP_ARGS=-j$(nproc) TESTS=ext/pdo_sqlite/ test configure -prefix=$HOME/package/sqlite-3.41.1ĭownload PHP, then adjusting the sqlite pkg-config and ldflags as needed PKG_CONFIG_PATH="$HOME/package/sqlite-3.41.1/lib/pkgconfig" \ Extract and cd into the extracted directory. Download the source code with -autoconf file which contains the configure scripts. Install build tools & PHP Core dependencies Ubuntu sudo apt-get install build-essential \ĭownload sqlite3 from. Newer sqlite support, like window functions and JSON1 extension.Better understanding of PHP configurations.Minimal PHP system needed to run CRUD symfony app.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |