-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pecl update for php 8.3.x #45
Comments
If you need this and don't mind doing it manually, here's how you can build for PHP 8.3 on Ubuntu 22.04. All done in a Docker container. The process uses the development branch of https://github.com/zephir-lang/zephir as that has recently got an update to support 8.3 but hasn't made a release yet. docker run -it ubuntu:22.04 bash
apt update
apt install ca-certificates apt-transport-https software-properties-common lsb-release -y
add-apt-repository ppa:ondrej/php -y
apt install unzip make gcc gfortran php8.3-dev php8.3-mbstring libopenblas-dev liblapacke-dev re2c build-essential git -y
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
git clone https://github.com/RubixML/Tensor.git
pecl install zephir_parser
echo 'extension=zephir_parser.so' >> /etc/php/8.3/cli/php.ini
cd Tensor
/composer.phar require --dev phalcon/zephir:dev-development
./vendor/bin/zephir generate
./vendor/bin/zephir build
cp ext/modules/tensor.so /usr/lib/php/20230831/
echo 'extension=tensor.so' >> /etc/php/8.3/cli/php.ini
/composer.phar test
> phpunit
PHPUnit 9.6.19 by Sebastian Bergmann and contributors.
............................................................... 63 / 246 ( 25%)
............................................................... 126 / 246 ( 51%)
............................................................... 189 / 246 ( 76%)
......................................................... 246 / 246 (100%)
Time: 00:00.109, Memory: 6.00 MB
OK (246 tests, 270 assertions) |
This is a bad solution. Why should I install all these dependencies? You need a one-line solution. |
Guys any news on supporting php 8.3? |
Hi! Will support for php 8.3 be added?
The text was updated successfully, but these errors were encountered: