Xammp and symbolic link
Posted: 14. January 2018 12:15
I install xammp (7.2.0; Windows) to C:\xampp. In my onedrive folder I create htdocs folder with all my files. In xammp folder I delete htdocs folder. Then I create symbolic link in cmd
After that correct apache vhosts, windows hosts. And try to view my local sites. Site withowt php has no problemp. But if try to open site with php, I have next error
What can I do?
- Code: Select all
mklink /d "C:\xampp\htdocs" "C:\Users\n.osennij\OneDrive\Develop\xampp\htdocs"
After that correct apache vhosts, windows hosts. And try to view my local sites. Site withowt php has no problemp. But if try to open site with php, I have next error
Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0
Fatal error: Unknown: Failed opening required 'C:/xampp/htdocs/db/index.php' (include_path='C:/xampp/php/PEAR') in Unknown on line 0
What can I do?