Questions tagged [laragon]

Laragon is a set of bundled development tools based on Apache, PHP, and MySQL or MariaDB that runs on Windows.

Laragon is a set of bundled development tools based on , , and or that runs on .

277 questions
2
votes
1 answer

Configuring subdomain in Laragon

I'm using Laragon on Windows 10, and I want to create a subdomain for a new project, The current structure is: https://management.test https://management.test/includes https://management.test/client I want to access the client folder using this…
Tao
  • 39
  • 1
  • 5
2
votes
3 answers

(Laragon) Apache and PHP versions not compatible despite having same VC, being both Win32 and PHP being thread-safe

Why does this happen? Are there other requirements for them to work together?
fombo
  • 103
  • 1
  • 7
2
votes
1 answer

Undefined class constant 'JSON_ARRAY'

(symfony4)So I create a database with the Laragon server then I create an entity with: php bin / console make: entity the entity was created but when I create a property name I got an error message: In MakeEntity.php line 379: …
2
votes
1 answer

Where is file ini_set in windows 10 i why have error in this script

What does ini_set do in this php code? if ( ini_set( 'display_error', '1' ) === false ) throw new \Exception( 'Unable to set display_errors.' ); Please help me run this code and display error I use laragon and it's not working
Afarman
  • 23
  • 2
2
votes
2 answers

Laragon 4.0.15 - Apache fails to start after switching to PHP 8

On Windows 10 Pro, after downloading PHP 8, switching to it in Laragon (PHP > Version) and restarting Apache, I get the following error: httpd: Syntax error on line 546 of C:/laragon/bin/apache/httpd-2.4.35-win64-VC15/con...: Syntax error on line 2…
Sammy
  • 335
  • 2
  • 12
2
votes
2 answers

Laragon - pretty url for one app does not work

After enabling the auto virtual host I wanted to try pretty url for my current project. Problem is it first showed index of/ of the project and after trying some solutions it now shows "This site cannot be reached!" error. The pretty url feature…
Cristian Cutitei
  • 120
  • 3
  • 12
2
votes
3 answers

Is there a way to troubleshoot why Xdebug not stopping at breakpoints in VSCode?

I have been working on why Xdebug is not stopping at breakpoints for days. I have read and tried dozens of solutions on StackOverflow. None of them have worked. Is there a method to troubleshoot why the configuration is not working?. Any help would…
Bill
  • 51
  • 1
  • 7
2
votes
1 answer

Installing php-decimal extension on laragon for php 7.2, The specified module could not be found. Extension decimal does not exist

I am trying to install this extension https://php-decimal.io/#installation to my Windows 10 64bit operating system which uses Laragon as Apache,PHP,MySQL as the installation instruction focus more on Linux I make a research on internet to found out…
2
votes
2 answers

Cannot change PHP default version in Symfony 4.12

I would like to create a Symfony project. I have the same issue as many people concerning php version: Symfony uses the wrong one. λ php -version PHP 7.4.1 (cli) (built: Dec 17 2019 19:24:02) ( ZTS Visual C++ 2017 x64 ) Copyright (c) The PHP…
johnnyBoy
  • 115
  • 2
  • 12
2
votes
1 answer

ENCONDING CHARACTERS problem in php sodium functions

I really don't now what i have to do. I tried a install anothers libsodium's versions but i had problems with Modules. Hope you can help me, because i don't know if i'm using the functions correctly... phpinfo has returned that libsodium is…
2
votes
1 answer

How to display image that is stored in public folder whose path is working fine?

I'm trying to display the image that is stored in my public folder. The path to my image is being displayed when i just use {{$post-> image}} but i cant get the image to be displayed when i run the following command. @foreach($posts -> $post) …
2
votes
2 answers

Laragon and Laravel - sendmail not working

I use Windows 10, Laragon and Laravel Framework. And I setup the default Auth by calling php artisan make:auth The problem is when I try to use the Forgot Password component, the 'sendmail' does not work. After I click Send Password Reset Link,…
Syamsoul Azrien
  • 2,534
  • 4
  • 32
  • 55
2
votes
2 answers

How to override the php.ini file settings in laragon?

When i upgrade my php version from 7.1 to 7.2 there is new folder include in c:\laragon\bin\php which is right. But when i edit the php.ini file and enable openssl and other extension, save it and restart than it will override by the previous…
Anand Pandey
  • 2,025
  • 3
  • 20
  • 39
2
votes
1 answer

Laragon can not include php pear folder

If I go to my localhost link it displays this error: Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0 Fatal error: Unknown: Failed opening required 'C:/Users/GuylianWasHier/OneDrive - ROC Ter AA/1. School/1.…
2
votes
3 answers

Parse error: syntax error, unexpected end of file---- for my submit page

I am getting error in this line make('layout.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?> The error while submitting the page is as below: "Parse error: syntax error, unexpected end of file…
1 2
3
18 19