Any basic info on xampp for complete beginner?

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

Any basic info on xampp for complete beginner?

Postby TimesArrow » 09. January 2012 18:20

I've only coded basic html and have a bunch of basic websites. Would to try to make a oscommerce site. They told me I need xampp first. I see the install instructions are easy. But I have no idea about the big picture. How does xampp run/what does it do on my mac? If I install photoshop on my mac it doesn't open my mac to the internet. By the warning I see in xampp, I guess it's an active program that accepts commands from outside my mac? I have no idea what xampp even does. I want to install oscommerce and make a simple shopping cart but don't know what could happen while I have xampp installed. If I shut down xampp can it be activated by incoming hackers?

It would be nice to see a DFD, the kind you'd show a manager, on what xampp does especially in relation to oscommerce.

thaNks!
TimesArrow
 
Posts: 4
Joined: 09. January 2012 03:29
XAMPP Version: 5.6.3
Operating System: OSX 10.5.8

Re: Any basic info on xampp for complete beginner?

Postby TimesArrow » 09. January 2012 23:33

Last login: Sun Jan 8 14:02:14 on console
207-118-68-82:~ me$ /Applications/XAMPP/xamppfiles/xampp security
You need to be root to perform this action.
207-118-68-82:~ me$ sudo su
Password:
sh-3.2# /Applications/XAMPP/xamppfiles/xampp security
XAMPP: Quick security check...
XAMPP: Your XAMPP pages are NOT secured by a password.
XAMPP: Do you want to set a password? [ja] yes
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Password protection active. Please use 'xampp' as user name!
XAMPP: MySQL is accessable via network.
XAMPP: Normaly [ja]

this is where i'm stuck now. i've done 1000 searches all come up with
"Normally that's not recommended' none say what to do with my panel just saying Normaly...

thankS
TimesArrow
 
Posts: 4
Joined: 09. January 2012 03:29
XAMPP Version: 5.6.3
Operating System: OSX 10.5.8

Re: Any basic info on xampp for complete beginner?

Postby JonB » 10. January 2012 01:26

As long as you don't forward external ports 80, 21, 443 and 3306 (HTTP,FTP, HTTPS, and MySQL), on your router or TimeCapsule to the local IP (on local network) of your Mac, those are not problems.

The XAMPP Security Concept is designed to prevent folks from accessing your webserver's critical components from outside your local network. You might need to edit the LocationMatch statement for a Mac network, as I don't recall if it includes the 10.xx.xx.xx Range that some Apple network components want to use.

If you only want to work on 'localhost', and you don't forward external ports to the machine you install it on, there are no significant security risks in running XAMPP.

As far as what XAMPP can do? once installed its a standard Apache Server, with PHP, Perl and MySQL - plus other goodies, like an FTP server.

Good Luck with your project.
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: Any basic info on xampp for complete beginner?

Postby TimesArrow » 11. January 2012 19:10

all the demos work EXCEPT for:
CD Collection
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO) in /Applications/XAMPP/xamppfiles/htdocs/xampp/cds.php on line 64
Could not connect to database!
Is MySQL running or did you change the password?

using FIREFOX this happens -
then in phpMyAdmin i cannot create a database. cannot select option:
Create new database:
No Privileges

thank you for any advice!

Control panel has green light on
Apache
MySQL
FTP


MySQL database ACTIVATED
PHP ACTIVATED
Perl ACTIVATED
Common Gateway Interface (CGI) ACTIVATED
Server Side Includes (SSI) ACTIVATED


These XAMPP pages are no longer accessible by network for everyone SECURE
MySQL is no longer accessible over the network SECURE
The phpMyAdmin user pma has no longer no password SECURE
The MySQL user root has no longer no password SECURE
The FTP password for user nobody is no langer 'xampp' SECURE

---------------------EDIT------------------------------
i just tried using Safari and got in to be able to Create new database

at the phpMyAdmin login screen
i enter
Username: root
Password: which i set some where installing yesterday but i wrote it down

and i'm in and able to Create new database
Safari gives same mysql error above when running the CD Collection Demo




but using
Firefox the same Username and Password don't allow - No Privileges
TimesArrow
 
Posts: 4
Joined: 09. January 2012 03:29
XAMPP Version: 5.6.3
Operating System: OSX 10.5.8

Re: Any basic info on xampp for complete beginner?

Postby TimesArrow » 15. January 2012 19:38

I figured it all out. xampp on osx 10.5.8 pcc works. i've also installed oscommerce. it all works. i hope i have time to post the steps.
TimesArrow
 
Posts: 4
Joined: 09. January 2012 03:29
XAMPP Version: 5.6.3
Operating System: OSX 10.5.8


Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 9 guests