Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

On Windows #1

Open
wadmiraal opened this issue Apr 22, 2011 · 8 comments
Open

On Windows #1

wadmiraal opened this issue Apr 22, 2011 · 8 comments

Comments

@wadmiraal
Copy link

Hi,

First, very interesting project. I'm sure going to give it a try. But I'm on a Windows machine, and phr init creates a .phrozn directory at the root of the current drive (C:/.phrozn) and not in the currently active directory. Any way around this problem ?

Calling phr directly didn't work from the command line by the way. I had to call php -f phr init, so I guess the problem is there ?

Cheers,

Wouter

@farazdagi
Copy link
Collaborator

Hi, Wouter.
Windows is unsupported platform at the moment (there couple of other things that will cause problems on Wins). I will make sure that WIns compatibility comes in 0.2-0.4, once general API stabilizes a bit.

@wadmiraal
Copy link
Author

Too bad.
But I do understand why :-). I'll have to give it a shot at work then one of
these days.
Bye,
Wouter

Le 2011 4 22 15:16, "farazdagi" <
reply@reply.github.com> a
crit :
Hi, Wouter.
Windows is unsupported platform at the moment (there couple of other things
that will cause problems on Wins). I will make sure that WIns compatibility
comes in 0.2-0.4, once general API stabilizes a bit.

Reply to this email directly or view it on GitHub:
#1 (comment)

@thaberkern
Copy link
Contributor

+1 for Windows-Support

@Spone
Copy link

Spone commented Apr 10, 2012

Hi,
how is Windows support, now?

@wadmiraal
Copy link
Author

Using "php -f phr init / up / etc" works fine now. Still can't use phr directly though.

@Spone
Copy link

Spone commented Apr 11, 2012

I'm in my project folder, php -f phr init throws the following error: Could not open input file: phr
I use XAMPP on Windows 7 and I installed Phrozn using PEAR.
Any idea?

@wadmiraal
Copy link
Author

Yep, sorry. You must type "php -f C:\path\to\phr init" for it to work. I put mine in C:\php\phr,so I don't have to type much ;-).

@momuskk
Copy link

momuskk commented Sep 23, 2013

In phrozn\bin directory there is phr.bat file, but it not wokr for me on Windows7. I edit this file, and put only one line to it :)
php "%~dp0phr.php" %*

I also created second file: phrozn.bat, with one line:
php "%~dp0phrozn.php" %*

Then I added full path to phrozn bin dir (for me this is: F:\xampp\phrozn\bin). Now I can type in command line simply: phr up :)

P.S. I installed phrozn in my windows 7 using composer :)

Edited:
Well I can run phr, but it has big problem to work, in init I must always type path. Up not find destination dir (even when I type it)
I use php 5.5.3.

Phrozn not work too much better even when you use php -f C:\path\to\phr up

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants