sergix44 / ispc-phpcompiler Goto Github PK
View Code? Open in Web Editor NEWCompile and manage multiple PHP versions easily!
License: GNU General Public License v3.0
Compile and manage multiple PHP versions easily!
License: GNU General Public License v3.0
Any suggestions to compiling APCu, as the /usr/local/src/php-build is emptied after the script is run?
Or maybe this could be included as an option when compiling?
OS: Ubuntu 22.04 (WSL)
Compiling...
--2023-11-24 21:08:10-- http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb
Resolving archive.ubuntu.com (archive.ubuntu.com)... 185.125.190.36, 91.189.91.82, 185.125.190.39, ...
Connecting to archive.ubuntu.com (archive.ubuntu.com)|185.125.190.36|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-11-24 21:08:10 ERROR 404: Not Found.
Error detected in latest command, exiting...
CentOS 8 support is missing...
Any suggestions to compiling imagic, as the /usr/local/src/php-build is emptied after the script is run.
Hi there and thanks for the script, the install went fantastic! I do have a question relating to the PHP install. I can't seem to figure out how to add modules afterward. Could you perhaps let me know how I might go about performing that? This is on a Debian 9 machine. The module I've been trying to enable for the last couple of days is intl.
Thanks for your time!
Any suggestions for gmp extension?
I see that gmp-devel is installed for yum/dnf systems, but not for apt. Should libgmp-dev be installed as a prerequisite?
After install and using PHP 7.4 (Installed using this tool only)
When I run the same wget script for install PHP 7.3
got the following error ...
[....]
Package matching libzip-devel-0.10.1-8.el7.x86_64 already installed. Checking for update.
No package pkg-config available.
Package zlib-devel-1.2.7-20.el7_9.x86_64 already installed and latest version
Package libsqlite3x-devel-20071018-20.el7.x86_64 already installed and latest version
Package oniguruma-devel-6.8.2-2.el7.x86_64 already installed and latest version
Package readline-devel-6.2-11.el7.x86_64 already installed and latest version
Nothing to do
--2022-11-21 23:22:43-- http://packages.psychotic.ninja/7/plus/x86_64/RPMS/libzip-0.11.2-6.el7.psychotic.x86_64.rpm
Resolving packages.psychotic.ninja (packages.psychotic.ninja)... 107.191.40.146, 2001:19f0:300:2ac2:5400:ff:fe02:f2e8
Connecting to packages.psychotic.ninja (packages.psychotic.ninja)|107.191.40.146|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 134704 (132K) [application/x-rpm]
Saving to: ‘/tmp/libzip.rpm’
100%[===================================================================================================================================================================================================================================================================================>] 134,704 138KB/s in 1.0s
2022-11-21 23:22:44 (138 KB/s) - ‘/tmp/libzip.rpm’ saved [134704/134704]
--2022-11-21 23:22:44-- http://packages.psychotic.ninja/7/plus/x86_64/RPMS/libzip-devel-0.11.2-6.el7.psychotic.x86_64.rpm
Resolving packages.psychotic.ninja (packages.psychotic.ninja)... 107.191.40.146, 2001:19f0:300:2ac2:5400:ff:fe02:f2e8
Connecting to packages.psychotic.ninja (packages.psychotic.ninja)|107.191.40.146|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 62044 (61K) [application/x-rpm]
Saving to: ‘/tmp/libzip-devel.rpm’
100%[===================================================================================================================================================================================================================================================================================>] 62,044 130KB/s in 0.5s
2022-11-21 23:22:45 (130 KB/s) - ‘/tmp/libzip-devel.rpm’ saved [62044/62044]
warning: /tmp/libzip.rpm: Header V4 DSA/SHA1 Signature, key ID 4875a356: NOKEY
Preparing... ################################# [100%]
package libzip-0.11.2-6.el7.psychotic.x86_64 is already installed
package libzip-devel-0.11.2-6.el7.psychotic.x86_64 is already installed
Error detected in latest command, exiting...
Please help me to resolve the issue
root@xxxxx:~# wget https://raw.githubusercontent.com/SergiX44/ISPC-PHPCompiler/bash-version/php-compiler.sh; chmod +x php-compiler.sh; bash php-compiler.sh
--2021-07-22 10:06:51-- https://raw.githubusercontent.com/SergiX44/ISPC-PHPCompiler/bash-version/php-compiler.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.110.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25525 (25K) [text/plain]
Saving to: ‘php-compiler.sh’
php-compiler.sh 100%[==================================================================================================================>] 24,93K --.-KB/s in 0,09s
2021-07-22 10:06:53 (282 KB/s) - ‘php-compiler.sh’ saved [25525/25525]
Installing required packages...
Stary:1 http://dl.hhvm.com/ubuntu xenial InRelease
Stary:2 http://pl.archive.ubuntu.com/ubuntu xenial InRelease
Stary:3 http://pl.archive.ubuntu.com/ubuntu xenial-updates InRelease
Stary:4 http://pl.archive.ubuntu.com/ubuntu xenial-backports InRelease
Stary:5 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease
Stary:6 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
Pobieranie:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Stary:8 https://esm.ubuntu.com/infra/ubuntu xenial-infra-security InRelease
Stary:9 https://esm.ubuntu.com/infra/ubuntu xenial-infra-updates InRelease
Pobrano 109 kB w 2s (44,6 kB/s)
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
All packages are up to date.
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
whiptail is already the newest version (0.52.18-1ubuntu2).
curl is already the newest version (7.47.0-1ubuntu2.19).
wget is already the newest version (1.17.1-1ubuntu1.5).
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
build-essential is already the newest version (12.1ubuntu2).
libfcgi-dev is already the newest version (2.4.0-8.3).
libfcgi0ldbl is already the newest version (2.4.0-8.3).
pkg-config is already the newest version (0.29.1-0ubuntu1).
pkg-config zaznaczony jako zainstalowany ręcznie.
libjpeg62-dbg is already the newest version (1:6b2-2).
libmcrypt-dev is already the newest version (2.5.8-3.3).
nano is already the newest version (2.5.3-2ubuntu2).
wget is already the newest version (1.17.1-1ubuntu1.5).
libc-client2007e is already the newest version (8:2007fdfsg-4+deb8u1build0.16.04.1).dfsg-4+deb8u1build0.16.04.1).
libc-client2007e-dev is already the newest version (8:2007f
libssl-dev is already the newest version (1.1.1k-1+ubuntu16.04.1+deb.sury.org+0).
Some packages could not be installed. This could mean
that an impossible situation was requested or an unstable distribution was used
in which some packages have not yet been created or moved
from the Incoming directory.
The following information may help resolve the situation:
The following packages have unmet dependencies:
libxml2-dev: Requires: libxml2 (= 2.9.3 + dfsg1-1ubuntu0.7 + esm1) but 2.9.10 + dfsg-5 + ubuntu16.04.1 + deb.sury.org + 3 is to be installed
libzip-dev: Requires: libzip4 (= 1.0.1-0ubuntu1) but 1.7.3-1 + ubuntu16.04.1 + deb.sury.org + 2 is to be installed
E: Could not fix problems, damaged packages stopped.
Error detected in latest command, exiting...
root@xxxx:~#
Hello,
I want to uninstall the compiled versions - how can i do that?
I run it and I got:
Your distro is not supported
Your distro: ubuntu-18.04
You can add it and make a PR ;)
I use this Script with Ubuntu 16.04.2. Needed packages are not installed before compile, so compile will end in an error.
Please add needed packages
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.