Solved

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

Posted on 2007-03-31
3
1,205 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

828 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