GIDForums  

Go Back   GIDForums > Computer Forums > Computer Software Forum - Windows
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 20-May-2002, 04:39
Kplonk Kplonk is offline
New Member
 
Join Date: May 2002
Posts: 1
Kplonk is an unknown quantity at this point

Problems with apache win 98 php and vhosts


I have been testing my set up for the last few days and have come the the following
conclusion, the problem is with the v/hosts on apache, if i call the script by following links form
the doc root, ie http://192.168.0.4/charisma/web/test.php there is no proble the script runs fine, wather browsing uing the server machine
or some othere machine on the network. if i re-enable v/hosts i am unable to run the script with the
following error

Warning: Failed opening '/home/charisma/web/test.php' for inclusion (include_path='.;c:\php') in Unknown
on line 0

the vhost set up is as follows

<VirtualHost *>
ServerName www.charismafashions.com
ServerAdmin webmaster@charismafashions.com
DocumentRoot /home/charisma/web/
ErrorLog logs/charismafashions.com-error_log
CustomLog logs/charismafashions.com-access_log common
DirectoryIndex index.html index.shtml index.php

<Directory "/home/charisma/web/">
Options Indexes MultiViews SymLinksIfOwnerMatch Includes
AllowOverride None
Order allow,deny
Allow from all
</Directory>

</VirtualHost>

what am i doing wrong??

any ideas kieran
  #2  
Old 20-May-2002, 04:50
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
did u try commenting that line out in your php.ini file?

sorry, what i actually meant to say is that either u can try commenting out your php.ini in C:\windows

for the line where it says :

Code:
;include_path = ".;c:\php\includes"
note the semicolon at the beginning

OR IF THAT DOESN'T work... try editing it to

Code:
include_path = ".;c:\"

and let us know if that solved ur problem. I assume u're using php 4.2.1?
  #3  
Old 22-May-2002, 10:06
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 749
admin will become famous soon enough
[gid=http://www.desilva.biz/php/installphp.html]Installing PHP 4.2.1[/gid] on Windows ME / Win 32.
 
 

Recent GIDBlogToyota - 2008 July Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 23:42.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.