![]() |
|
#1
|
|||
|
|||
Problems with apache win 98 php and vhostsI 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
|
||||
|
||||
|
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:
OR IF THAT DOESN'T work... try editing it to Code:
and let us know if that solved ur problem. I assume u're using php 4.2.1? __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
||||
|
||||
|
[gid=http://www.desilva.biz/php/installphp.html]Installing PHP 4.2.1[/gid] on Windows ME / Win 32.
|
Recent GIDBlog
Toyota - 2008 July Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The