Lineman Posted April 26, 2008 Share Posted April 26, 2008 Have got XAMPP up and running and LAMPP is stored in the /opt directory so could someone tell me when i make an html page with a php extension how would i call it please. Quote Link to comment Share on other sites More sharing options...
AV1611 Posted April 26, 2008 Share Posted April 26, 2008 If you create a file called index.php xampp should load that file by default if it's in the web root folder (/htdocs?) Anyways, if you make myfile.php you can only load it as a url in the browser or by another script with header() or whatever... mysite.com/myfile.php mysite.com will load default doc type (usually index.php, then index.html, etc...) depending on your install Quote Link to comment Share on other sites More sharing options...
DarkWater Posted April 26, 2008 Share Posted April 26, 2008 I *think* the directory on linux by default is /var/www/, or it as on my system at least. >_> Check that directory and read the Apache documentation for your system. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.