Skip to content

Commit 40ce2db

Browse files
authored
[PHP] Update PHP eloquent ORM (#10277)
Update 8.x to 11.x Add php-curl extension
1 parent b7bca15 commit 40ce2db

File tree

3 files changed

+23
-9
lines changed

3 files changed

+23
-9
lines changed

frameworks/PHP/php/apc.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ function defaults($d,$v) {
7070
}
7171

7272
// operation constants
73-
define('OB_HOST_STATS',1);
74-
define('OB_SYS_CACHE',2);
75-
define('OB_USER_CACHE',3);
76-
define('OB_SYS_CACHE_DIR',4);
77-
define('OB_VERSION_CHECK',9);
73+
const OB_HOST_STATS = 1;
74+
const OB_SYS_CACHE = 2;
75+
const OB_USER_CACHE = 3;
76+
const OB_SYS_CACHE_DIR = 4;
77+
const OB_VERSION_CHECK = 9;
7878

7979
// check validity of input variables
8080
$vardom=array(
Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
{
22
"require": {
3-
"illuminate/database": "8.16.*",
4-
"illuminate/events": "8.16.*",
5-
"illuminate/container": "8.16.*"
3+
"illuminate/database": "11.*",
4+
"illuminate/events": "11.*",
5+
"illuminate/container": "11.*"
6+
},
7+
"replace": {
8+
"symfony/polyfill-ctype": "*",
9+
"symfony/polyfill-iconv": "*",
10+
"symfony/polyfill-mbstring":"*",
11+
"symfony/polyfill-php72": "*",
12+
"symfony/polyfill-php73": "*",
13+
"symfony/polyfill-php74": "*",
14+
"symfony/polyfill-php80": "*",
15+
"symfony/polyfill-php81": "*",
16+
"symfony/polyfill-php82": "*",
17+
"symfony/polyfill-php83": "*",
18+
"symfony/polyfill-php84": "*"
619
}
720
}

frameworks/PHP/php/php-eloquent.dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ ARG DEBIAN_FRONTEND=noninteractive
55
RUN apt-get update -yqq && apt-get install -yqq software-properties-common > /dev/null
66
RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
77
RUN apt-get update -yqq > /dev/null && \
8-
apt-get install -yqq nginx git unzip php8.4 php8.4-common php8.4-cli php8.4-fpm php8.4-mysql php8.4-mbstring php8.4-dev > /dev/null
8+
apt-get install -yqq nginx git unzip \
9+
php8.4 php8.4-common php8.4-cli php8.4-fpm php8.4-mysql php8.4-mbstring php8.4-curl > /dev/null
910

1011
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
1112

0 commit comments

Comments
 (0)