LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Enable PHP in ~user Directories (https://www.linuxquestions.org/questions/linux-software-2/enable-php-in-%7Euser-directories-156179/)

user1234 03-11-2004 02:57 AM

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!

user1234 03-11-2004 03:18 AM

Nevermind.

Sorry for the confusion.

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

Thanks anyway :)


All times are GMT -5. The time now is 05:14 AM.