PHP 7.2, drop-down menu extension enable/disable does not work
Thanks for everyones efforts in finally bringing a great development environment to Windows!
I'm trying to get PHP 7.2 to work well with Laragon.
PHP 7.2 windows builds are built with VC15, so I have downloaded a compatible Apache version from apachelounge, and have enabled PHP 7.2. It does work, but I can't get PHP extension enable/disable feature to work from the drop down menu.
PHP 7.2 has a new feature that it automatically detects the file extension of PHP extensions (.dll for Windows, .so for Unix-like), so the default php.ini file no longer has the file extension. I'm guessing this is the reason why Laragon can't detect the existing enabled extensions. Can we fix it so that if the PHP version is >= 7.2, Laragon parses the php.ini file without the file extension and add them without it too?
@Ayesh : Many thanks for your information. I'll check and make a fix soon.
@Ayesh : I've released Laragon 3.1.4 that fixed the issue.
@leokhoa Thanks a lot! The new version works quite well!
@Ayesh: You're welcome. I'm very happy when the Laragon Community having members like you.
That would make Laragon better. Cheers!
Tip for other people who end up on this thread,
for the same reason, and how to fix it!
I could not get the extensions to enable/disable at all
So I edited my php.ini
and changeed extension_dir
extension_dir = "C:/laragon/bin/php/php-7.2.19-Win32-VC15-x64/ext"
extension_dir = "C:\laragon\bin\php\php-7.2.19-Win32-VC15-x64\ext"
And now the extension menu works perfectly as expected
I am running Laragon Full 4.0.15 190704
I was testing my results before and after, using this simple script:
echo ("<hr><pre>"); print_r(get_loaded_extensions()); echo ("</pre><hr>"); phpinfo();