Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-11-2004, 03:57 AM   #1
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, 04:18 AM   #2
LQ Newbie
Registered: Feb 2004
Posts: 4

Original Poster
Rep: Reputation: 0

Sorry for the confusion.

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

Thanks anyway


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

All times are GMT -5. The time now is 12:01 PM.

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