Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
php simple error message 4 23
PHP AJAX Wordpress 9 20
send post values 7 26
Upgrade MySQL 5.5 to MySQL 5.6 on Windows 13 25
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
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…
The viewer will learn how to count occurrences of each item in an array.
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.

776 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