php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38284 user_dir Does not work
Submitted: 2006-08-01 15:06 UTC Modified: 2008-07-11 21:18 UTC
Votes:2
Avg. Score:1.5 ± 0.5
Reproduced:1 of 2 (50.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: egingell at sisna dot com Assigned:
Status: Wont fix Package: IIS related
PHP Version: 4.4.2 OS: Windows XP Pro
Private report: No CVE-ID: None
 [2006-08-01 15:06 UTC] egingell at sisna dot com
Description:
------------
Setting the user_dir directive in php.ini has no affect. When attempting to go to http://localhost/~user/ a 404 Not Found error occurs. I can't find *any* documentation on what to set that directive to. I've tried "public_html", "C:\Documents and Settings", and "C:\Documents and Settings\*\public_html". None of which produced the desired results. I'm using IIS 6 to serve PHP 4.4.2 files.

Expected result:
----------------
A web page.

Actual result:
--------------
404 File Not Found

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-28 22:23 UTC] xeo2001 at yahoo dot com
Not to be a asshole, but a userdir is something your webserver (in this case IIS6) has to support. 

Php is just a parser of code to be executed on the server and _NOT_ a webserver it self.

Ether install Apache 1.x or 2.x on your windows machine to support userdirs (read the docs about it) or use google on how to get userdir's on IIS6.
 [2007-05-29 06:58 UTC] egingell at sisna dot com
Ok, but just two questions: Why is there an option to set it up in php.ini? Why is there no comment that says it only works in Apache? I know it works in Apache, I have set it up many times. Also, if I change it in php.ini, Apache will override it and use its setting. Seems abit redundant to have that in PHP's settings when it doesn't even get used. As for Google searches, I did much searching with no useful results.
 [2008-07-11 21:18 UTC] jani@php.net
We are sorry, but we can not support PHP 4 related problems anymore.
Momentum is gathering for PHP 6, and we think supporting PHP 4 will
lead to a waste of resources which we want to put into getting PHP 6
ready.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC