Ubuntu 24.04
Sponsored Link

PHP 8.3 : स्थापित करना2024/05/17

 
PHP स्थापित करना।
[1] PHP 8.3 स्थापित करना।
root@www:~#
apt -y install php8.3 php8.3-mbstring php-pear
root@www:~#
php -v

PHP 8.3.6 (cli) (built: Apr 15 2024 19:21:47) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.3.6, Copyright (c) Zend Technologies
    with Zend OPcache v8.3.6, Copyright (c), by Zend Technologies

# परीक्षण स्क्रिप्ट बनाने के लिए इंस्टॉलेशन सत्यापित करें

root@www:~#
echo '<?php echo `php -i`."\n"; ?>' > php_test.php

root@www:~#
php php_test.php | head

phpinfo()
PHP Version => 8.3.6

System => Linux www.srv.world 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
Build Date => Apr 15 2024 19:21:47
Build System => Linux
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php/8.3/cli
Loaded Configuration File => /etc/php/8.3/cli/php.ini
मिलान सामग्री