Page 1 of 1

Xamp Php extension.***SOLVED***

Posted: Mon Sep 03, 2018 5:07 am
by Morayweb
Good morning.
I was wondering what I’m doing wrong. When I publish a php file to xamp with the MySQL connector the page opens as a text file rather than in a browser. Thanks for any help.

Re: Xamp Php extension.

Posted: Mon Sep 03, 2018 7:06 am
by Pablo
I'm sorry, we cannot help you with server configuration.

Re: Xamp Php extension.

Posted: Mon Sep 03, 2018 7:39 am
by Morayweb
ok no problem thanks anyway.

*SOLVED* Xamp Php extension.

Posted: Tue Sep 04, 2018 9:49 am
by Morayweb
Its was the php code that wysiwyg generates I never saw you had to preview on a web server.

Re: Xamp Php extension.

Posted: Tue Sep 04, 2018 10:05 am
by BaconFries
Its was the php code that wysiwyg generates
It has nothing to do with the code generated. It will work the same in xamp as it will if you uploaded to your host that supports php. It is just unfortunately we do not offer assistance with xamp (local server) or any external server configurations.

Re: Xamp Php extension.

Posted: Tue Sep 04, 2018 10:51 am
by Morayweb
OOps sorry thats what i was told over at xampp that it had to be previewed on a server I thought it should work. Will have another look. Could be xampp thats faulty.
Thanks again.

Re: Xamp Php extension.

Posted: Tue Sep 04, 2018 11:20 am
by WWBman
You should be publishing to C:\xampp\htdocs or a folder within C:\xampp\htdocs
Pointing your browser to http://localhost or a folder e.g. http://localhost/test1
I.e. assuming your homepage is index.html or index.php

Re: Xamp Php extension.

Posted: Tue Sep 04, 2018 12:15 pm
by Morayweb
I'm sure that's what I'm doing will check to make sure tonight. Thanks again.

*Solved*Re: Xamp Php extension.

Posted: Tue Sep 04, 2018 7:58 pm
by Morayweb
Ok so it was the preview that was wrong it wasnt pointing to localhost/testsite
Thanks for all the tips.