By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,521 Members | 1,460 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,521 IT Pros & Developers. It's quick & easy.

PHP not working with XAMPP (possible Virus Scan issue?)

P: n/a
Hello,

Recently, my PHP (5, as installed by the XAMPP package) stopped
working, and won't let me run locally-served PHP files in my web
browsers.

I think (but I'm not sure) that the Apache web server is running
properly, but whenever I try to open a PHP file (for instance, by
opening http://localhost, which should take me to the XAMPP start/
admin page, index.php), my browsers are unable to run it, and only
prompt me to open or save it. If I chose open, the same prompt
repeats.

Any ideas? I thought one possibility might be that I upgraded my
installation of McAfee Virus Scan recently, which I've heard can cause
problems with Apache.

Does this seem to be a problem with PHP, Apache, or both? Does this
sound like a possible symptom of the VirusScan issue?

Thanks very much for any insight you can provide.

May 11 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
On 11 May, 17:37, "r.g." <rohi...@gmail.comwrote:
Hello,

Recently, my PHP (5, as installed by the XAMPP package) stopped
working, and won't let me run locally-served PHP files in my web
browsers.

I think (but I'm not sure) that the Apache web server is running
properly, but whenever I try to open a PHP file (for instance, by
openinghttp://localhost, which should take me to the XAMPP start/
admin page, index.php), my browsers are unable to run it, and only
prompt me to open or save it. If I chose open, the same prompt
repeats.

Any ideas? I thought one possibility might be that I upgraded my
installation of McAfee Virus Scan recently, which I've heard can cause
problems with Apache.

Does this seem to be a problem with PHP, Apache, or both? Does this
sound like a possible symptom of the VirusScan issue?

Thanks very much for any insight you can provide.
what have you done to try to get it working?
turn off the likely suspects: firewall/anti-v
check your xampp install, upgrade/reinstall it
post back

May 11 '07 #2

P: n/a
On May 11, 9:50 am, shimmyshack <matt.fa...@gmail.comwrote:
On 11 May, 17:37, "r.g." <rohi...@gmail.comwrote:
Hello,
Recently, my PHP (5, as installed by the XAMPP package) stopped
working, and won't let me run locally-served PHP files in my web
browsers.
I think (but I'm not sure) that the Apache web server is running
properly, but whenever I try to open a PHP file (for instance, by
openinghttp://localhost, which should take me to the XAMPP start/
admin page, index.php), my browsers are unable to run it, and only
prompt me to open or save it. If I chose open, the same prompt
repeats.
Any ideas? I thought one possibility might be that I upgraded my
installation of McAfee Virus Scan recently, which I've heard can cause
problems with Apache.
Does this seem to be a problem with PHP, Apache, or both? Does this
sound like a possible symptom of the VirusScan issue?
Thanks very much for any insight you can provide.

what have you done to try to get it working?
turn off the likely suspects: firewall/anti-v
check your xampp install, upgrade/reinstall it
post back
I have tried turning off the VirusScan firewall, and upgrading to the
latest XAMPP version, 1.6.1, I believe.

May 11 '07 #3

P: n/a
On May 11, 9:57 am, "r.g." <rohi...@gmail.comwrote:
On May 11, 9:50 am, shimmyshack <matt.fa...@gmail.comwrote:
On 11 May, 17:37, "r.g." <rohi...@gmail.comwrote:
Hello,
Recently, my PHP (5, as installed by the XAMPP package) stopped
working, and won't let me run locally-served PHP files in my web
browsers.
I think (but I'm not sure) that the Apache web server is running
properly, but whenever I try to open a PHP file (for instance, by
openinghttp://localhost, which should take me to the XAMPP start/
admin page, index.php), my browsers are unable to run it, and only
prompt me to open or save it. If I chose open, the same prompt
repeats.
Any ideas? I thought one possibility might be that I upgraded my
installation of McAfee Virus Scan recently, which I've heard can cause
problems with Apache.
Does this seem to be a problem with PHP, Apache, or both? Does this
sound like a possible symptom of the VirusScan issue?
Thanks very much for any insight you can provide.
what have you done to try to get it working?
turn off the likely suspects: firewall/anti-v
check your xampp install, upgrade/reinstall it
post back

I have tried turning off the VirusScan firewall, and upgrading to the
latest XAMPP version, 1.6.1, I believe.
I have not tried looking at my httpd.conf/php.ini files. What might I
need to do with these? Thanks.

May 11 '07 #4

P: n/a
On 11 May, 18:00, "r.g." <rohi...@gmail.comwrote:
On May 11, 9:57 am, "r.g." <rohi...@gmail.comwrote:
On May 11, 9:50 am, shimmyshack <matt.fa...@gmail.comwrote:
On 11 May, 17:37, "r.g." <rohi...@gmail.comwrote:
Hello,
Recently, my PHP (5, as installed by the XAMPP package) stopped
working, and won't let me run locally-served PHP files in my web
browsers.
I think (but I'm not sure) that the Apache web server is running
properly, but whenever I try to open a PHP file (for instance, by
openinghttp://localhost, which should take me to the XAMPP start/
admin page, index.php), my browsers are unable to run it, and only
prompt me to open or save it. If I chose open, the same prompt
repeats.
Any ideas? I thought one possibility might be that I upgraded my
installation of McAfee Virus Scan recently, which I've heard can cause
problems with Apache.
Does this seem to be a problem with PHP, Apache, or both? Does this
sound like a possible symptom of the VirusScan issue?
Thanks very much for any insight you can provide.
what have you done to try to get it working?
turn off the likely suspects: firewall/anti-v
check your xampp install, upgrade/reinstall it
post back
I have tried turning off the VirusScan firewall, and upgrading to the
latest XAMPP version, 1.6.1, I believe.

I have not tried looking at my httpd.conf/php.ini files. What might I
need to do with these? Thanks.
well I wouldnt run antivirus and a webserver. (In fact no antiv or
firewall at all)
because it "suddenly" stopped working it could be anything quite
frankly.
you are looking to make sure the line (in httpd-*.conf - *=xampp?)
loadmodule php5_module "/path/to/php5apache2_2.dll"
AddType application/x-httpd-php .php

look in the eventvwr, in the error.log and see if there are any
hints.

May 11 '07 #5

P: n/a
Reinstalling appeared to have done the trick. Thanks again for the
help.

On May 11, 10:10 am, shimmyshack <matt.fa...@gmail.comwrote:
On 11 May, 18:00, "r.g." <rohi...@gmail.comwrote:
On May 11, 9:57 am, "r.g." <rohi...@gmail.comwrote:
On May 11, 9:50 am, shimmyshack <matt.fa...@gmail.comwrote:
On 11 May, 17:37, "r.g." <rohi...@gmail.comwrote:
Hello,
Recently, my PHP (5, as installed by the XAMPP package) stopped
working, and won't let me run locally-served PHP files in my web
browsers.
I think (but I'm not sure) that the Apache web server is running
properly, but whenever I try to open a PHP file (for instance, by
openinghttp://localhost, which should take me to the XAMPP start/
admin page, index.php), my browsers are unable to run it, and only
prompt me to open or save it. If I chose open, the same prompt
repeats.
Any ideas? I thought one possibility might be that I upgraded my
installation of McAfee Virus Scan recently, which I've heard can cause
problems with Apache.
Does this seem to be a problem with PHP, Apache, or both? Does this
sound like a possible symptom of the VirusScan issue?
Thanks very much for any insight you can provide.
what have you done to try to get it working?
turn off the likely suspects: firewall/anti-v
check your xampp install, upgrade/reinstall it
post back
I have tried turning off the VirusScan firewall, and upgrading to the
latest XAMPP version, 1.6.1, I believe.
I have not tried looking at my httpd.conf/php.ini files. What might I
need to do with these? Thanks.

well I wouldnt run antivirus and a webserver. (In fact no antiv or
firewall at all)
because it "suddenly" stopped working it could be anything quite
frankly.
you are looking to make sure the line (in httpd-*.conf - *=xampp?)
loadmodule php5_module "/path/to/php5apache2_2.dll"
AddType application/x-httpd-php .php

look in the eventvwr, in the error.log and see if there are any
hints.

May 12 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.