Starting PHP 5 instead of PHP 4 ?

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Starting PHP 5 instead of PHP 4 ?

Postby Brake6 » 22. January 2006 08:38

Hi
When running the command to start XAMPP, it is started with PHP 4. But how do I do to have PHP 5 started instead?

//Magnus
Brake6
 
Posts: 2
Joined: 22. January 2006 08:33

Postby PF4 » 22. January 2006 10:07

/Applications/xampp/xamppfiles/mampp php5
Last edited by PF4 on 08. April 2006 21:56, edited 1 time in total.
"2 Dinge sind unendlich die Dummheit der Menschheit und das Universum , aber beim Universum bin ich mir noch nicht sicher“
Albert Einstein
PF4
 
Posts: 528
Joined: 10. March 2003 09:15

Postby Brake6 » 23. January 2006 07:58

PF4 wrote:/Applications/xampp/mampp php5


Running that in Terminal (as root) I get this:

su: /Applications/xampp/mampp: No such file or directory

Do I need to stop php4 first?

//Magnus
Brake6
 
Posts: 2
Joined: 22. January 2006 08:33

Postby xakes » 01. February 2006 22:02

Brake6 wrote:
PF4 wrote:/Applications/xampp/mampp php5


Running that in Terminal (as root) I get this:

su: /Applications/xampp/mampp: No such file or directory

Do I need to stop php4 first?

//Magnus


The correct default value in Terminal is:

Code: Select all
/Applications/xampp/xamppfiles/mampp php5


or

Code: Select all
/Applications/xampp/xamppfiles/mampp php4


and for the status (which version is running):

Code: Select all
/Applications/xampp/xamppfiles/mampp phpstatus


:D
xakes
 
Posts: 3
Joined: 01. February 2006 21:56

Postby Leon » 02. July 2006 13:27

How do I write a command as root??
Leon
 
Posts: 4
Joined: 02. July 2006 11:34

Postby speedlab » 02. July 2006 22:16

in terminal: sudo su
enter your password
speedlab
 
Posts: 13
Joined: 07. December 2005 08:15

Single command as root

Postby dmuk » 27. November 2006 18:47

You can also do it in one command line to avoid staying in root (never a good idea):

Code: Select all
sudo /Applications/xampp/xamppfiles/mampp phpstatus

You still need to give your password though.

D
dmuk
 
Posts: 3
Joined: 24. November 2006 23:30


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 6 guests