Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Windows 11 #253

Open
shahvirag opened this issue Feb 12, 2025 · 3 comments
Open

[Bug]: Windows 11 #253

shahvirag opened this issue Feb 12, 2025 · 3 comments
Assignees
Labels

Comments

@shahvirag
Copy link

shahvirag commented Feb 12, 2025

Extension Version

0.1.19

PHP Binary

Herd

Operating System

Windows

What happened?

Getting this error on Vs code startup

Image

Mimimal Code Sample

Debug Info

{
  "os": "win32",
  "arch": "x64",
  "php_command": "\"Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0\n\nDeprecated: PHP Startup: session.sid_bits_per_character INI setting is deprecated in Unknown on line 0\nC:/Users/Virag/.config/herd/bin/php83/php.exe\""
}

----------------------------------------

Error:
 Paths

The filename, directory name, or volume label syntax is incorrect.

"Deprecated: PHP Startup: session.sid_length INI setting is deprecated in Unknown on line 0

Deprecated: PHP Startup: session.sid_bits_per_character INI setting is deprecated in Unknown on line 0
C:/Users/Virag/.config/herd/bin/php83/php.exe" "c:\Users\Virag\Herd\project_name\vendor\_laravel_ide\discover-16d838b1c92589f00c002ee8ac9f86b3.php"
@recootyai
Copy link

facing the same

@joetannenbaum
Copy link
Collaborator

This seems like a deprecation in 8.4, but the extension is picking up 8.3 as the PHP version via Herd. Is your site PHP version locked to correct version for your project (probably 8.4)? If not, can you lock it to the correct version and see if that makes a difference?

@franciscoarnaldog
Copy link

2025-02-12 12:33:08.865 [info] Checking herd PHP installation: herd which-php
2025-02-12 12:33:08.866 [info] Using herd PHP installation: C:/Users/xxxx/.config/herd/bin/php83/php.exe
2025-02-12 12:33:08.866 [info] Activating Laravel Extension...
2025-02-12 12:33:08.866 [info] Started
2025-02-12 12:33:12.299 [error] Custom Blade Directives

Error: VSCODE_LARAVEL_START_OUTPUT
In Compiler.php line 67:

Please provide a valid cache path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants