LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-11-2004, 02:57 AM   #1
user1234
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Rep: Reputation: 0
Enable PHP in ~user Directories


I just have a simple question.

I was wondering how I could enable PHP to be utilized in ~user directories.

Currently, php scripts work in the "htdocs" directory but not the "~user" directories.

The apache directives look exactly the same.

If i try localhost/phptest.php then it works fine
If i try localhost/~user/phptest.php nothing displays and the source shows php code

I never really got the hang of using apache directives, Any help would be appreciated

Thank you!
 
Old 03-11-2004, 03:18 AM   #2
user1234
LQ Newbie
 
Registered: Feb 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Nevermind.

Sorry for the confusion.

My browser was picking it up as a local file instead of making a web server request.

Thanks anyway
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to Enable User or Add New User omeryasin Linux - Software 3 10-29-2005 05:16 AM
Enable PHP ProTrooper Linux - Software 1 08-24-2005 03:26 PM
cannot re-enable konqueror automatic updating of directories (file-size) Emmanuel_uk Linux - Newbie 3 06-28-2005 02:01 AM
Slackware 8: How do I enable PHP? dimmu Linux - Software 1 11-15-2004 12:00 PM
Enable session on PHP 4.4.3 robertoneto123 Linux - Newbie 1 04-13-2004 01:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:20 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration