I finally solved my Composer hanging/stuck issue π
Set up a local proxy server and routed downloads using PHP stream functions.
Added real-time debugging with log files to trace where it was freezing.
Result: smooth installs, zero guesswork π
| CodeWithSushil | |
| Github | CodeWithSushil |
| X/Twitter | CodeSushil |
| Website | codewithsushil.github.io |
I finally solved my Composer hanging/stuck issue π
Set up a local proxy server and routed downloads using PHP stream functions.
Added real-time debugging with log files to trace where it was freezing.
Result: smooth installs, zero guesswork π
π£ Announcing the immediate availability of:
- PHP 8.1.34
- PHP 8.2.30
- PHP 8.3.29
- PHP 8.4.16
- PHP 8.5.1
βΌοΈ These address the following security issues:
- PDO quoting result null deref
- Null byte termination in dns_get_record()
- Heap buffer overflow in array_merge()
- Information Leak of Memory in getimagesize()
π https://www.php.net/ChangeLog-8.php
π https://www.php.net/downloads
https://windows.php.net/download/
π₯³ PHP 8.5 Released!
In this new release, we have:
π URI Extension
βΆοΈ Pipe Operator
π Clone With
β οΈ A New #[\NoDiscard] Attribute
π Closures and First-Class Callables in Constant Expressions
π Persistent cURL Share Handles
π Read all about it on: https://www.php.net/releases/8.5/
π https://php.net/ChangeLog-8#8.5.0
π¦ https://php.net/downloads
What is Pipe operator in php ?
After watching Puni & Nuno, I realised something: JavaScript grew because the community made small, fun, interactive projects. PHP needs more creators like them to inspire the next generation. Letβs make PHP fun again!
Better experience and fast, secure way to create a connection with MariaDB.
// Config.php
$mariadb = ini_get('pdo_mysql.default_socket');
$pdo = new PDO("mysql:unix_socket=$mariadb;dbname=test", 'root', '');
if($pdo){
echo "Database connection success!";
}