|  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
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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
25 - 10 = ?
Subscribe to this entry?

 [2006-08-01 15:06 UTC] egingell at sisna dot com
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


Add a Patch

Pull Requests

Add a Pull Request


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]
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

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Jan 20 09:03:33 2022 UTC