@clarry100 wrote:

I already have XAMP installed and running in LocalHost mode on my Windows 10 PC.

 

I have been tinkering with learning to develop my own eCommerce website using WordPress and WooCommerce which I also have installed and running. I'm unsure if this is any different to, or some kind of extension to, WAMP you are talking of.

 

Can XAMP be setup to perform the functionality I would need to tinker with ebay APIs?


Hi Clarry:

 

Short answer? Yes you can but (and isn't there always):

 

Quote from xampp home page:

"The default configuration is not good from a securtiy point of view and it's not secure enough for a production environment - please don't use XAMPP in such environment".

 

This doesn't mean you can't do it but you'll need to be opening and closing your external port before and after executing requests (and there is still no guarantee you won't be "sniffed" during the brief periods you are exposed).

 

Website security is a whole different and lengthy discussion which we won't be able to cover here.

 

There are quite a few tutorials available about how to take Xampp "live" and it will depend on your modem as to how you do it but you should look up "port forwarding" on your particular hardware make/model.

 

Essentially, you want to provide an open port (usually port 80) which is linked to your Xampp computer's internal network ip addy so calls to your web IP will be directed to your server.

 

If you are running dynamic name server in your router's network config you should at least change the Xampp device to static as you will be putting an IP addy into PHP and Apache hosts files etc.

 

Here's a link on the topic that also contains a link to Apache setup parameters:

 

SitePoint discussion

 

In essence; your speed will be very slow and your security will be highly suspect.

 

You'd probably do well to just get an initial elCheapo hosting account to test calls as all the security will be handled at the ISP's end and you will have sufficient bandwidth to play with your API calls.

 

I think there are even a few around that offer free wordpress blogging accounts that should work.

 

You might want to have a look at this guy in Adelaide:

 

Profound Hosting

 

He's on a christian mission with a smallish free plan available that looks good on spec and may suit (Wordpress is OK).

He'll only report you to the AFP if you're naughty lol.

As you'll see, he uses CentOS as do most hosts.

I strongly suggest you look at setting up a linux dev environment on your computer which you could make dual boot using Grub Loader.

 

This is a good topic you've started and I'm learning a few new things myself