I just got 4.0.2 from php.net and installed it and noticed that php is now for some reason not obeying doc_root, well I shouldn't say not obeying. it isn't working with it at all. When trying to go to a page i get:
Warning: Unable to access /usr/local/apache/httpd/usr/local/apache/httpd/htdocs/test.php in Unknown on line 0
Warning: Failed opening '/usr/local/apache/httpd/htdocs/test.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0
Whereas it used to work.
Note this is with doc_root=/usr/local/apache/httpd. If I turn off the doc_root everything works fine.
Any idea?