Answers for "install php 7.4 windows"

PHP
2

install php7.4 in linux server

For install all important php 7.4 extensions
apt install php7.4-common php7.4-mysql php7.4-xml php7.4-xmlrpc php7.4-curl php7.4-gd php7.4-imagick php7.4-cli php7.4-dev php7.4-imap php7.4-mbstring php7.4-opcache php7.4-soap php7.4-zip php7.4-intl -y
Posted by: Guest on July-10-2020
9

install php windows 10

1. Download Thread safe 32/64 bit zip package PHP8 from 
   https://windows.php.net/download#php-8.0
2. Extract the zip package and paste the extracted folder onto your 
    desired drive( Drive C:\ for example)
3. Rename the folder to php8( or any name that you like)
4. One this folder and look for php.ini-development file
5. Make a copy of this file and rename copy version to php.ini
6. Open php.ini file with your preferred text editor and uncomment PHPIniDir “ext”
7. Save the file and close the editor.

## Set PHP 8 to System's Path
1. Open php8 folder and copy and folder path
2. Press Windows Key on your keyboard and type 'variable' and hit Enter
3. Click Environment Variables
4. Click Edit and Click NEW on the right
5. Paste the php8 folder path
6. Click OK, OK, OK

## Installing composer
Run the following commands
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '795f976fe0ebd8b75f26a6dd68f78fd3453ce79f32ecb33e7fd087d39bfeb978342fb73ac986cd4f54edd0dc902601dc') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

QUICK QUESTION: Have you heard of Windows SubSystem for Linux (wsl)? 
Check it out
Posted by: Guest on December-04-2020
0

php version 7.4

$parts = ['apple', 'pear'];
$fruits = ['banana', 'orange', ...$parts, 'watermelon'];
var_dump($fruits);
Posted by: Guest on October-20-2021
0

php version 7.4

Parse error: syntax error, unexpected '...' (T_ELLIPSIS), expecting ']' in /app/spread-operator.php on line 3
Posted by: Guest on October-20-2021
0

php version 7.4

array(5) {
	[0]=>
	string(6) "banana"
	[1]=>
	string(6) "orange"
	[2]=>
	string(5) "apple"
	[3]=>
	string(4) "pear"
	[4]=>
	string(10) "watermelon"
}
Posted by: Guest on October-20-2021

Browse Popular Code Answers by Language