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

Posted on 2007-03-31
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?
Question by:detox1978
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Accepted Solution

mukhtar2t earned 500 total points
ID: 18828350

This function is only supported when PHP is installed as an Apache module

Author Comment

ID: 18828357
how does it differ from include()

Expert Comment

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

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MySQL 6 48
Form not executing correctly 1 28
Why is my select returning NaN 23 43
Mysql Add index if not exits problem 1 15
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

752 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