Page 1 of 1

XAMPP does't set the right Path

PostPosted: 17. April 2014 19:40
by Pictor
Hi,

I have problem with the XAMPP paths, Installing the Windows version of XAMPP (1.8.2)

XAMPP is in: D:\_Server\xampp\

and running the setup_xampp.bat sets all the paths to: \_Server\xampp\

and I get problems with PHP and PEAR, untill I don't manually start settings the paths to D:\_Server\xampp\etc..etc in the php.ini and everywhere else (but there are too many place, under XAMPP dir, where to set paths).

Why XAMPP cannot set correctly all the paths by itself?
Is it supposed to work with relative paths? (that would make it REALLY portable, and not dependant on Drive Letter)
Should I also add some Windows Enviroment Variable?

Re: XAMPP does't set the right Path

PostPosted: 17. April 2014 21:19
by Pictor
After hours and hours and hours and hours I gave up...

I just renounced to the embedded PEAR and started from the beginning:
- taken the "go-pear.phar" from the official website and putted in "D:\_Server\xampp\php"
- executed it via "php go-pear.phar" (after a "cd D:\_Server\xampp\php")
- confirmed all the default choices
- DONE

avoided thousand of headaches. So sorry that the package cannot provide a working version of PEAR.

Same thing with the other included packages... installed Phing from scratch cause the included one was not recognized.


Anyway I'm still curious if there is a "normal" way to make it work.
Someone has more info?

Re: XAMPP does't set the right Path

PostPosted: 18. April 2014 00:00
by Altrea
Did you ever tried to use pear from inside the XAMPP Shell (Shell button in your xampp control panel)?
XAMPP dont sets registry keys or system variables, so some mappings and configurations are made only there (including some of the very important pear configs)

Re: XAMPP does't set the right Path

PostPosted: 21. April 2014 11:06
by Pictor
Nope, honestly.
I was not able to find some indication/documentation about it.
And I just discovered the shell button -__-'
Don't know why the XAMPP window was resized, hiding all the Config,Netstat,Shell,Etc buttons column !