Skip to content

Commit

Permalink
Merge pull request #769 from jingjingxyk/build_native_php
Browse files Browse the repository at this point in the history
Build native php
  • Loading branch information
jingjingxyk committed Sep 9, 2024
2 parents 39ac0f1 + 38b4c83 commit 040ec76
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 31 deletions.
29 changes: 0 additions & 29 deletions sapi/scripts/DownloadPHPSourceCode.php

This file was deleted.

2 changes: 1 addition & 1 deletion sapi/scripts/download-php-src-archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

$poject_dir = realpath(__DIR__ . '/../../');
# $php_version_tag = trim(file_get_contents($poject_dir . '/sapi/PHP-VERSION.conf'));
$php_version_tag = '8.2.13' ;
$php_version_tag = '8.2.23' ;
$php_source_folder = $poject_dir . "/pool/php-src/php-{$php_version_tag}";
$php_archive_file = $poject_dir . "/pool/php-tar/php-{$php_version_tag}.tar.gz";
$download_dir = dirname($php_archive_file);
Expand Down
2 changes: 1 addition & 1 deletion sapi/src/Preprocessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -1124,6 +1124,7 @@ public function execute(): void
}
$this->mkdirIfNotExists($this->libraryDir, 0777, true);
$this->mkdirIfNotExists($this->extensionDir, 0777, true);
$this->deleteDirectoryIfExists($this->getWorkExtDir());
include __DIR__ . '/constants.php';

$extAvailabled = [];
Expand Down Expand Up @@ -1161,7 +1162,6 @@ public function execute(): void
}
}

$this->deleteDirectoryIfExists($this->getWorkExtDir());
// autoload extension depend extension
foreach ($this->extensionMap as $ext) {
foreach ($ext->dependentExtensions as $extension_name) {
Expand Down

0 comments on commit 040ec76

Please sign in to comment.