can't run php script

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

can't run php script

Postby sstpierre68 » 08. June 2011 03:04

Hi! Can someone tell me how to install in XAMPP and run locally a php script.
The script is online at : http://labs.brotherli.ch/vcfconvert/. It's an online converter. There is a local version that I downloaded but I don't know where to put it into XAMPP and,
if so, to enable it.

Thank you.
sstpierre68
 
Posts: 1
Joined: 08. June 2011 02:59

Re: can't run php script

Postby Nobbie » 09. June 2011 15:02

a) Put the Archive vcfconvert-0.8.6.tar.gz into the "htdocs" folder of your Xampp Installation (i.e. /Applications/Xampp/htdocs or similar, i dont have OSX here).

b) Unpack the Archive. It should result in a new subfolder, i.e. /Applications/Xampp/htdocs/vcfconvert-0.8.6 (or similar, see above).

c) Start Apache

d) Open a browser (Safari) and enter http://127.0.0.1/vcfconvert-0.8.6/index.php (or simply click on the link)

For your convenience, you may rename the folder from vcfconvert-0.8.6 into vcfconvert (or any other name), then you may also enter only http://127.0.0.1/vcfconvert/index.php

That's it.

You also my try to enter "localhost" instead of 127.0.0.1 (this *should* work as well, but some computers are not configured sufficiently): http://localhost/vcfconvert-0.8.6/index.php
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04


Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 7 guests