LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2004, 08:42 PM   #1
hus
Member
 
Registered: Dec 2003
Location: Bangkok- Thailand
Distribution: Mandriva 10.0,Fedora Core 4
Posts: 79

Rep: Reputation: 15
Where should I place my php source?


I use Slackware9.1 and it come with apache server
I can use " apachectl start" command to start server
Everything is work! I can browse my http://localhost
but I don't know where I should place PhP files
In windows I place it in folder c:/apache/htdocs/
 
Old 04-14-2004, 09:10 PM   #2
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
/var/www/html/
 
Old 04-14-2004, 09:13 PM   #3
hus
Member
 
Registered: Dec 2003
Location: Bangkok- Thailand
Distribution: Mandriva 10.0,Fedora Core 4
Posts: 79

Original Poster
Rep: Reputation: 15
Thanks! I'll try it!
 
Old 04-16-2004, 01:51 PM   #4
hus
Member
 
Registered: Dec 2003
Location: Bangkok- Thailand
Distribution: Mandriva 10.0,Fedora Core 4
Posts: 79

Original Poster
Rep: Reputation: 15
Oh it my fault I test it on Redhat 8 not Slack 9
So I use "locate" to find htdocs and I found it on Slack
"/var/www/htdocs"
It's work! Just place in it.
But in Redhat 8 I found /var/www but it did't have
"htdocs" like Slack I copy source to /var/www and
it make me unhappy becuase it's not work
How to solve the problem I 've found?
Thanks!
 
Old 04-16-2004, 04:54 PM   #5
markj
LQ Newbie
 
Registered: Jul 2003
Location: Wales, UK
Distribution: Arch, Red Hat 9
Posts: 2

Rep: Reputation: 0
make a directory called html and place them in there
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where is the "proper"(TM) place to install programs from source? Kaamoss Linux - General 12 10-04-2005 07:48 AM
Where does apt place kernel-source? Mondus Linux - Hardware 5 07-30-2005 11:29 AM
PHP recompiling ( without source ) TheSpy Slackware 2 02-21-2005 01:43 PM
building PHP 4.3.4-11 from source michaelbhahn Linux - Software 0 09-21-2004 05:55 PM
Prevent others from reading php source? Mikessu Linux - Networking 2 01-04-2004 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration