Solved

Fatal error: Call to undefined function virtual() in C:\Inetpub\wwwroot\login.php on line 5

Posted on 2007-03-31
3
1,190 Views
Last Modified: 2013-12-13
Hi All,

I've just installed php/MySQL on home XP machine and copied my compaies website there for testing, but it doesn't appear to know what to do with the virtual() function.  I recieve this error;


Fatal error: Call to undefined function virtual() in C:\Inetpub\wwwroot\login.php on line 5



Any ideas?
0
Comment
Question by:detox1978
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
mukhtar2t earned 500 total points
ID: 18828350

This function is only supported when PHP is installed as an Apache module
http://www.php.net/manual/en/function.virtual.php
0
 
LVL 2

Author Comment

by:detox1978
ID: 18828357
how does it differ from include()
0
 
LVL 4

Expert Comment

by:mukhtar2t
ID: 18828365
You can use include or require for your php files
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now