Solved

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

Posted on 2007-03-31
3
1,239 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
[X]
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
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

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.
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

624 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