Xamp Php extension.

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
User avatar
Morayweb
 
 
Posts: 16
Joined: Fri Aug 29, 2014 7:11 pm
Location: Scotland

Xamp Php extension.

Post by Morayweb » Mon Sep 03, 2018 5:07 am

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.

User avatar
Pablo
 
Posts: 13514
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Xamp Php extension.

Post by Pablo » Mon Sep 03, 2018 7:06 am

I'm sorry, we cannot help you with server configuration.

User avatar
Morayweb
 
 
Posts: 16
Joined: Fri Aug 29, 2014 7:11 pm
Location: Scotland

Re: Xamp Php extension.

Post by Morayweb » Mon Sep 03, 2018 7:39 am

ok no problem thanks anyway.

User avatar
Morayweb
 
 
Posts: 16
Joined: Fri Aug 29, 2014 7:11 pm
Location: Scotland

*SOLVED* Xamp Php extension.

Post by Morayweb » Tue Sep 04, 2018 9:49 am

Its was the php code that wysiwyg generates I never saw you had to preview on a web server.

User avatar
BaconFries
 
 
Posts: 4120
Joined: Thu Aug 16, 2007 7:32 pm

Re: Xamp Php extension.

Post by BaconFries » Tue Sep 04, 2018 10:05 am

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.

User avatar
Morayweb
 
 
Posts: 16
Joined: Fri Aug 29, 2014 7:11 pm
Location: Scotland

Re: Xamp Php extension.

Post by Morayweb » Tue Sep 04, 2018 10:51 am

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.

WWBman
 
 
Posts: 595
Joined: Fri Jan 08, 2010 6:10 pm

Re: Xamp Php extension.

Post by WWBman » Tue Sep 04, 2018 11:20 am

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

User avatar
Morayweb
 
 
Posts: 16
Joined: Fri Aug 29, 2014 7:11 pm
Location: Scotland

Re: Xamp Php extension.

Post by Morayweb » Tue Sep 04, 2018 12:15 pm

I'm sure that's what I'm doing will check to make sure tonight. Thanks again.

User avatar
Morayweb
 
 
Posts: 16
Joined: Fri Aug 29, 2014 7:11 pm
Location: Scotland

*Solved*Re: Xamp Php extension.

Post by Morayweb » Tue Sep 04, 2018 7:58 pm

Ok so it was the preview that was wrong it wasnt pointing to localhost/testsite
Thanks for all the tips.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests