Xamp Php extension.***SOLVED***

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: 57
Joined: Fri Aug 29, 2014 7:11 pm
Location: Scotland
Contact:

Xamp Php extension.***SOLVED***

Post 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.
Last edited by Morayweb on Mon Jan 08, 2024 4:54 pm, edited 1 time in total.
User avatar
Pablo
 
Posts: 21577
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Xamp Php extension.

Post by Pablo »

I'm sorry, we cannot help you with server configuration.
User avatar
Morayweb
 
 
Posts: 57
Joined: Fri Aug 29, 2014 7:11 pm
Location: Scotland
Contact:

Re: Xamp Php extension.

Post by Morayweb »

ok no problem thanks anyway.
User avatar
Morayweb
 
 
Posts: 57
Joined: Fri Aug 29, 2014 7:11 pm
Location: Scotland
Contact:

*SOLVED* Xamp Php extension.

Post by Morayweb »

Its was the php code that wysiwyg generates I never saw you had to preview on a web server.
User avatar
BaconFries
 
 
Posts: 5327
Joined: Thu Aug 16, 2007 7:32 pm

Re: Xamp Php extension.

Post 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.
User avatar
Morayweb
 
 
Posts: 57
Joined: Fri Aug 29, 2014 7:11 pm
Location: Scotland
Contact:

Re: Xamp Php extension.

Post 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.
WWBman
 
 
Posts: 916
Joined: Fri Jan 08, 2010 6:10 pm

Re: Xamp Php extension.

Post 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
User avatar
Morayweb
 
 
Posts: 57
Joined: Fri Aug 29, 2014 7:11 pm
Location: Scotland
Contact:

Re: Xamp Php extension.

Post by Morayweb »

I'm sure that's what I'm doing will check to make sure tonight. Thanks again.
User avatar
Morayweb
 
 
Posts: 57
Joined: Fri Aug 29, 2014 7:11 pm
Location: Scotland
Contact:

*Solved*Re: Xamp Php extension.

Post by Morayweb »

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