mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 23:36:21 +07:00 
			
		
		
		
	Install only cli on linux
This commit is contained in:
		| @ -361,8 +361,8 @@ php_semver() { | |||||||
| # Function to install packaged PHP | # Function to install packaged PHP | ||||||
| add_packaged_php() { | add_packaged_php() { | ||||||
|   update_lists |   update_lists | ||||||
|   IFS=' ' read -r -a packages <<< "$(echo "curl mbstring xml intl" | sed "s/[^ ]*/php$version-&/g")" |   IFS=' ' read -r -a packages <<< "$(echo "cli curl mbstring xml intl" | sed "s/[^ ]*/php$version-&/g")" | ||||||
|   $apt_install php"$version" "${packages[@]}" |   $apt_install "${packages[@]}" | ||||||
| } | } | ||||||
|  |  | ||||||
| # Function to update PHP. | # Function to update PHP. | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur