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.
Xamp Php extension.***SOLVED***
Xamp Php extension.***SOLVED***
Last edited by Morayweb on Mon Jan 08, 2024 4:54 pm, edited 1 time in total.
Re: Xamp Php extension.
I'm sorry, we cannot help you with server configuration.
Re: Xamp Php extension.
ok no problem thanks anyway.
*SOLVED* Xamp Php extension.
Its was the php code that wysiwyg generates I never saw you had to preview on a web server.
- BaconFries
-
- Posts: 5914
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Xamp Php extension.
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.Its was the php code that wysiwyg generates
Re: Xamp Php extension.
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.
Thanks again.
Re: Xamp Php extension.
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
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.
I'm sure that's what I'm doing will check to make sure tonight. Thanks again.
*Solved*Re: Xamp Php extension.
Ok so it was the preview that was wrong it wasnt pointing to localhost/testsite
Thanks for all the tips.
Thanks for all the tips.