Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Newbie - Where to put PHP files

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Need a Firewall to Work with my Web Server  
Author Message
fblair5mine

External


Since: Dec 29, 2003
Posts: 2



(Msg. 1) Posted: Wed Dec 31, 2003 3:18 pm
Post subject: Newbie - Where to put PHP files
Archived from groups: alt>apache>configuration (more info?)

I downloaded the IBserver package that has Apache, MySql and PHP all
together. Everything installed fine.

But, where do I save the .PHP files so that the Apache server with find them
and parse them?

I was thinking that one time when I downloaded an Apache version that it
created a sub-directory "httpds" or something like that. This package
installation did create that directory.

If I execute http://localhost, it does find the document that is created by
the installation that displays links to all the part of the installation,
but http://localhost/anything.php does nothing. The file is

<?php
echo 'Hello World';
?>

Any help would be appreciated.

Fred Blair

 >> Stay informed about: Newbie - Where to put PHP files 
Back to top
Login to vote
spam_mich_voll

External


Since: Jan 01, 2004
Posts: 4



(Msg. 2) Posted: Thu Jan 01, 2004 11:09 pm
Post subject: Re: Newbie - Where to put PHP files [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

there must be a directory named "htdocs" somewhere. You can put your php
files in there and then they should be interpreted.

Regards

Klaus

 >> Stay informed about: Newbie - Where to put PHP files 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
newbie vhost - Hi I was wondering if anyone can help me, Im trying to setup virtualhost my config is <VirtualHost 192.168.1.2> DocumentRoot /www/domain1.com ServerName domain1.com ErrorLog /www/logs/domain1.com-error_log CustomLog /www/logs/domain1.com-access_lo...

Newbie - Virtualhosts - My setup Latest ver of apache for Windows (2000), firewall forwarding TCP:80 to 192.168.0.50 (my apache server) When I goto www.domain1.com I get my test page, but if I goto domain2.net I also get domain1's test page and vice-versa with other test..

[newbie]apache2.0 and PHP - hi all, red hat9 comes with apache2.0 pre-installed. I've just read at http://php.planetmirror.com/manual/en/install.apache2.php the following msg: "Do not use Apache 2.0 and PHP in a production environment neither on Unix nor on Windows." can...

Pre-Newbie Question - Hello Thanks for considering this question, and thanks in advance for redirection if this is an inappropriate forum. I'm seriously considering dropping my hosting service in favor of hosting my site on my own through my Red Hat Linux desktop. I have a...

newbie questions! - if u want to set some password for different users to access some protected subdirectories which under public_html, is it putting something into .htaccess and how, or which part of doc do i have to read for this? thanks :)
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]