php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16315 Problem with NameVirtualServer
Submitted: 2002-03-27 13:50 UTC Modified: 2002-04-28 00:00 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: Intersky at mailru dot com Assigned:
Status: No Feedback Package: Apache related
PHP Version: 4.1.2 OS: Win98+Apache
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-03-27 13:50 UTC] Intersky at mailru dot com
Hi!

In version 4.1.2 you have problem if I create VirtualNameServers in Apache. 


I copy file php4st.dll at C:\Windows and add in Apache config file strings:
----------
LoadModule php4_module "c:/www/PHP/sapi/php4apache.dll"
#AddModule mod_php4.c
AddType application/x-httpd-php .php

NameVirtualHost 217.199.106.84

<VirtualHost 217.199.106.84>
ServerName divx.lv
ServerAlias www.divx.lv
DocumentRoot c:/www/divx/
</VirtualHost>
----------

When Apache starting it write "mod_php4.c alredy excist,skipped" , becaus I coment it.


But The Bug is - if I go at my site and it is .php file , then I see ERROR string. For exsample if URL is http://www.divx.lv/i1.php
------
Warning: Failed opening 'c:/www/divx/i1.php' for inclusion (include_path='c:\php4\pear') in Unknown on line 0
------
In my disk NOT excist direcrory "c:\php4" !!!!
It NOT excist in my .ini files or in Win registry.
If I modificy variable "include_path" in php.ini - it not help me. :(

I ask help-question on russians forums - and one man say - "It , I think , is bug in version 4.1.2 , I install version 4.1.1 and it work perfectly!"

And realy , vhen I install version 4.0.6 - it free from this bug!!!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-27 17:07 UTC] sniper@php.net
Does this happen with PHP 4.2.0RC1:

http://www.php.net/~derick/

 [2002-04-28 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Nov 12 17:01:33 2019 UTC