Page 1 of 1

XAMPP 1.7.2 junction fix >alias htdocs & junction mysql data

PostPosted: 19. October 2009 13:20
by mediavince
Hi all
I just wanted to share my setup experience with the new version 1.7.2 going from version 1.7.1

in 1.7.1 using junction for both htdocs and mysql/data directories worked great

however with version 1.7.2 it throws an error:
Code: Select all
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/xampp/index.php' (include_path='.;C:\xampp\php\PEAR') in Unknown on line 0


after digging and testing a little I came up to the following conclusion and solutions:

- > I use C:/HTDOCS as an alias in httpd.conf instead of C:/xampp/htdocs
- > then I set up a junction from C:/xampp/mysql/data to C:/MYSQL-DATA

This works perfect even on other hard drives
I hope that helps! :D

Re: XAMPP 1.7.2 junction fix >alias htdocs & junction mysql data

PostPosted: 19. October 2009 13:41
by Wiedmann
in 1.7.1 using junction for both htdocs ... however with version 1.7.2 it throws an error:

PHP 5.3.0 have a bug regarding junction points (see the PHP bugtracker). It's fixed in the coming 5.3.1 (or current CVS).

Re: XAMPP 1.7.2 junction fix >alias htdocs & junction mysql data

PostPosted: 19. October 2009 13:44
by mediavince
thanks for the info I'll check it out!

Re: XAMPP 1.7.2 junction fix >alias htdocs & junction mysql data

PostPosted: 21. October 2009 14:31
by mvsxyz
I've got the same problem too. Is there any way to update the XAMPP PHP manually? How do I do this?

Re: XAMPP 1.7.2 junction fix >alias htdocs & junction mysql data

PostPosted: 22. October 2009 18:48
by mvsxyz
Has anybody an idea how to update the PHP installation of XAMPP manually? Is there any reference in the documentation or forum?