Can't run as regular user?

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

Can't run as regular user?

Postby inetguy » 08. May 2007 20:46

I have setup Mac OSX with an admin user and a regular user (cannot admin the computer). The regular user (me) is trying to run XAMPP .6.1,. Could the fact that I have a regular user trying to run XAMPP? what can I do to stop the following errors:

Thanks!

Dennis

Code: Select all
Starting XAMPP for MacOS X 0.6.1...
/Applications/xampp/xamppfiles/share/xampp/phpstatus: line 4: /Applications/xampp/xamppfiles/bin/php: cannot execute binary file
XAMPP: Starting Apache with SSL ...
XAMPP: Error 126! Couldn't start Apache!
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP: /Applications/xampp/xamppfiles/mampp: line 221: /Applications/xampp/xamppfiles/sbin/proftpd: cannot execute binary file
XAMPP: Error 126! Couln't start ProFTPD!
XAMPP for MacOS X started.
/Applications/xampp/xamppfiles/bin/mysql.server: line 1: /Applications/xampp/xamppfiles/bin/my_print_defaults: cannot execute binary file
/Applications/xampp/xamppfiles/bin/mysql.server: line 1: /Applications/xampp/xamppfiles/bin/my_print_defaults: cannot execute binary file
inetguy
 
Posts: 2
Joined: 26. April 2006 18:15

Postby Kristian Marcroft » 10. May 2007 16:03

Hi

XAMPP can't be run as a regular User.
There is no way to fix this issue.

Regards,
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf

Postby nestro » 23. May 2007 17:36

Hi Dennis,

I circumvented this drawback using a somewhat similar product called MAMP by installing MAMP in a directory called 'Applications' in the underprivileged user's home directory and then symlinked the MAMP directory out of the system's applications folder (you can do this as the admin user in the terminal):

$ su - admin
$ cd /Applications
$ ln -s /Users/<user_name>/Applications/MAMP MAMP

Maybe this works also for XAMPP on MacOS X.

Good luck!
nestro
 
Posts: 1
Joined: 23. May 2007 17:14

Postby Kristian Marcroft » 28. May 2007 22:15

Hi,

this will not work for a very simple reason.

Ports below 1024 can only be opened by an admin/root.
Services with Ports below 1024 in XAMPP:

Apache 80/443
FTP 21

Regards,
User avatar
Kristian Marcroft
AF Moderator
 
Posts: 2962
Joined: 03. January 2003 12:08
Location: Diedorf


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 9 guests