Skip to content

Commit ce9ff49

Browse files
committed
Add sources.list and fix cURL
1 parent 0890ce9 commit ce9ff49

16 files changed

+24
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
phpize$ver -v
3131
php$ver -m
3232
pecl -V
33+
curl -V
3334
env:
3435
ver: ${{ matrix.php-versions }}
3536
release:

php-5.3/deps/curl.so

70.3 KB
Binary file not shown.

php-5.3/deps/libcurl.so.3

506 KB
Binary file not shown.

php-5.3/install.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
apt_install="sudo DEBIAN_FRONTEND=noninteractive apt-get install -o Dpkg::Options::=--force-conflicts -y --allow-downgrades --no-upgrade"
21
dpkg_install="sudo DEBIAN_FRONTEND=noninteractive dpkg -i --force-conflicts"
32
sudo mkdir -p /var/run /run/php
43
$dpkg_install ./deps/*.deb
5-
$apt_install libcurl3
64
$dpkg_install ./*.deb
75
for tool in php5 php5-cgi php-config5 phpize5; do
86
if [ -f /usr/bin/"$tool" ]; then
-27.6 KB
Binary file not shown.

php-5.3/post-install.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
v=5.3
2+
dotdeb=http://packages.dotdeb.org
23
for tool in php$v php-cgi$v php-config$v phpize$v; do
34
if [ -f /usr/bin/"$tool" ]; then
45
tool_name=${tool/[0-9]*/}
@@ -7,4 +8,10 @@ for tool in php$v php-cgi$v php-config$v phpize$v; do
78
done
89
ini_file=$(php -d "date.timezone=UTC" --ini | grep "Loaded Configuration" | sed -e "s|.*:s*||" | sed "s/ //g")
910
sudo chmod 777 "$ini_file"
10-
echo "date.timezone=UTC" >>"$ini_file"
11+
echo "date.timezone=UTC" >>"$ini_file"
12+
sudo mv ./deps/libcurl.so.3 /usr/lib/libcurl.so.3
13+
sudo mv ./deps/curl.so "$(php -i | grep "extension_dir => /usr" | sed -e "s|.*=> s*||")"/curl.so
14+
echo "extension=curl.so" >>"$ini_file"
15+
echo "deb $dotdeb squeeze all" | sudo tee /etc/apt/sources.list.d/dotdeb-ubuntu-php-"$(lsb_release -s -c)".list
16+
curl -sSLO https://www.dotdeb.org/dotdeb.gpg
17+
sudo apt-key add dotdeb.gpg

php-5.4/deps/curl.so

70.4 KB
Binary file not shown.

php-5.4/deps/libcurl.so.3

506 KB
Binary file not shown.

php-5.4/install.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
apt_install="sudo DEBIAN_FRONTEND=noninteractive apt-get install -o Dpkg::Options::=--force-conflicts -y --allow-downgrades --no-upgrade"
21
dpkg_install="sudo DEBIAN_FRONTEND=noninteractive dpkg -i --force-conflicts"
32
sudo mkdir -p /var/run /run/php
43
$dpkg_install ./deps/*.deb
5-
$apt_install libcurl3
64
$dpkg_install ./*.deb
75
for tool in php5 php5-cgi php-config5 phpize5; do
86
if [ -f /usr/bin/"$tool" ]; then
-28.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)