FG
💻 Software

Using symbolic link directories with Apache, PHP and Windows 7

Fresh5 days ago
Mar 15, 202620294 views
Confidence Score0%
0%

Problem

I am trying to setup a symbolic link for a directory and I am getting the strangest error. I am using: mklink /d C:\www\site\inc C:\inc where is the file I need to run. This seems simple enough, and it does work the first time I execute the script (by accessing ). After that however, I get an error…

Error Output

C:\inc\script.php

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Using symbolic link directories with Apache, PHP and Windows 7

Low Risk

Why not just use Alias in Apache to achieve what you want rather than using NTFS SymLinks? Put this in your httpd.conf:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment