XAMPP does't set the right Path

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP does't set the right Path

Postby Pictor » 17. April 2014 19:40

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?
Pictor
 
Posts: 5
Joined: 17. April 2014 19:11
Operating System: Windows 8 OEM

Re: XAMPP does't set the right Path

Postby Pictor » 17. April 2014 21:19

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?
Pictor
 
Posts: 5
Joined: 17. April 2014 19:11
Operating System: Windows 8 OEM

Re: XAMPP does't set the right Path

Postby Altrea » 18. April 2014 00:00

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)
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8299
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: XAMPP does't set the right Path

Postby Pictor » 21. April 2014 11:06

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 !
Pictor
 
Posts: 5
Joined: 17. April 2014 19:11
Operating System: Windows 8 OEM


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 51 guests