How to Install Different PHP (5.6, 7.x and 8.0) Versions in Ubuntu

PHP (recursive acronym for PHP: Hypertext Preprocessor) is an open-source, popular general-purpose scripting language that is widely-used and best suited for developing websites and web-based applications. It is a server-side scripting language that can
The post How to Install Different PHP (5.6,…
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]


Original URL: http://feedproxy.google.com/~r/tecmint/~3/NOZWY1_dWXI/

Original article

How to Install PHP 8.0 on Ubuntu 20.04 / 18.04

PHP is arguably one of the most widely used server-side programming languages. It’s the language of choice when developing dynamic and responsive websites. In fact, popular CM platforms such as WordPress, Drupal, and Magento

The post How to Install PHP 8.0 on Ubuntu 20.04 / 18.04 first appeared on…
[[ This is a content summary only. Visit my website for full links, other content, and more! ]]


Original URL: http://feedproxy.google.com/~r/tecmint/~3/qHfK0EY2hO4/

Original article

PHP 8.0 Brings Major (And Breaking) Changes to a 25-Year-Old Language

“PHP version 8.0 has arrived, bringing with it a major update to the 25-year-old programming language…” writes Tech Republic.

New language features include the nullsafe operator and attributes (commonly known as annotations in other languages) to add metadata to classes — and more:

The JIT compiler is designed to bring performance improvements to web applications by turning code into instructions for the CPU at runtime. Meanwhile, union types is a feature that allows data of more than one type to be held by a variable. Named arguments allow developers to assign values to a function by specifying the value name, allowing optional parameters to be ignored. Alongside these, version 8.0 of PHP brings optimizations and enhancements to the language’s type system, syntax, error handling and consistency….

Commenting on PHP 8.0, PHP programmer and stitcher.io developer, Brent Roose, noted that the latest version of the language may require developers to review code


Original URL: http://rss.slashdot.org/~r/Slashdot/slashdot/~3/icdIn7xHa3M/php-80-brings-major-and-breaking-changes-to-a-25-year-old-language

Original article

Microsoft Announces It Won’t Be the Ones Building PHP 8.0 for Windows

Today I learned that Microsoft “has been providing support for the development and building of the PHP programming language on Windows,” according to Bleeping Computer. “This support includes developing security patches for PHP and creating native Windows builds.”

But that’s going to change:
Microsoft has announced that it will not offer support in ‘any capacity’ for PHP for Windows 8.0 when it is released… To add some clarity to Microsoft PHP Windows Lead Dale Hirt’s post, PHP Release Manager Sara Golemon posted to Reddit explaining that this does not mean PHP 8.0 will not be supported in Windows. It just means that Microsoft will not be the one building and supporting it. “For some possibly missing context, Microsoft runs https://windows.php.net and produces all the official builds of PHP for Windows… This message means Microsoft aren’t going to produce official builds for PHP 8 onwards. This message does NOT mean that nobody


Original URL: http://rss.slashdot.org/~r/Slashdot/slashdot/~3/lj33LanQqxo/microsoft-announces-it-wont-be-the-ones-building-php-80-for-windows

Original article

Is PHP Still a Worthwhile Language To Learn?

mbadolato (Slashdot reader #105,588) shares this post from Belgium-based programmer Brent Roose:

It’s no secret among web developers and programmers in general: PHP doesn’t have the best reputation. Despite still being one of the most used languages to build web applications; over the years PHP has managed to get itself a reputation of messy codebases, inexperienced developers, insecure code, an inconsistent core library, and what not. While many of the arguments against PHP still stand today, there’s also a bright side: you can write clean and maintainable, fast and reliable applications in PHP.

In this post, I want to look at this bright side of PHP development. I want to show you that, despite its many shortcomings, PHP is a worthwhile language to learn. I want you to know that the PHP 5 era is coming to an end. That, if you want to, you can write modern and clean PHP


Original URL: http://rss.slashdot.org/~r/Slashdot/slashdot/~3/tR7BOuzgGWs/is-php-still-a-worthwhile-language-to-learn

Original article

GitHub gets a CI/CD service

Microsoft’s GitHub today launched the beta of a new version of GitHub Actions with full continuous integration and delivery (CI/CD) capabilities built right into the service. General availability is planned for November 13.
The company also today announced that it now has more than 40 million developers on its platform.
Ten months ago, GitHub launched Actions, its workflow automation platform. Developers could already take actions to trigger all kinds of events and use that to build custom CI/CD pipelines. At launch, the GitHub team stressed that Actions allowed for building these pipelines, but that it was a lot more than that. Still, developers were obviously quite interested in using Actions for CI/CD.
“Since we introduced GitHub Actions last year, the response has been phenomenal, and developers have created thousands of inspired workflows,” writes GitHub CEO Nat Friedman in today’s announcement. “But we’ve also heard clear feedback from almost everyone: you want CI/CD! And


Original URL: http://feedproxy.google.com/~r/Techcrunch/~3/RgO0YZpSHOc/

Original article

PHP 7.3 Brings C Inlining and Speed Improvements

An anonymous reader quotes TechRepublic:
PHP 7.3, the newest update to the widespread server-side web development language, was released on Thursday, bringing with it a handful of new features, modernizations, and modest speed improvements…. The largest improvements in 7.3 include support for Foreign Function Interface (FFI), allowing programmers to write inline C code inside PHP scripts. Though this feature does not presently provide the same level of performance as native PHP code, it can under certain circumstances be used to reduce the memory footprint of a given task.

PHP 7.3 also includes flexible heredoc and nowdoc syntax, now no longer requiring closing markers to be followed by a semicolon or new line. The feature proposal for this notes that the previous rigid requirements “caused them to be, in-part, eschewed by developers because their usage in code can look ugly and harm readability….” PHP 7.3 does bring some backward incompatible changes and


Original URL: http://rss.slashdot.org/~r/Slashdot/slashdot/~3/CsI0pJn0vyY/php-73-brings-c-inlining-and-speed-improvements

Original article

As PHP Group Patches High-Risk Bugs, 62% of Sites Still Use PHP 5

America’s Multi-State Information Sharing & Analysis Center is operated in collaboration with its Department of Homeland Security’s Office of Cybersecurity and Communications — and they’ve got some bad news.
MS-ISAC released an advisory warning government agencies, businesses, and home users of multiple high-risk security issues in PHP that can allow attackers to execute arbitrary code. Furthermore, if the PHP vulnerabilities are not successfully exploited, attackers could still induce a denial-of-service condition rendering the probed servers unusable… The PHP Group has issued fixes in the PHP 7.1.23 and 7.2.11 releases for all the high-risk bugs that could lead to DoS and arbitrary code execution in all vulnerable PHP 7.1 and 7.2 versions before these latest updates.
But meanwhile, Threatpost reported this week that 62% of the world’s web sites are still running PHP version 5 — even though its end of life is December 31st. “The deadlines will not be extended, and


Original URL: http://rss.slashdot.org/~r/Slashdot/slashdot/~3/Zw8HDBZUn1Y/as-php-group-patches-high-risk-bugs-62-of-sites-still-use-php-5

Original article

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: