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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • r.g.

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

    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.

  • shimmyshack

    #2
    Re: PHP not working with XAMPP (possible Virus Scan issue?)

    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

    Comment

    • r.g.

      #3
      Re: PHP not working with XAMPP (possible Virus Scan issue?)

      On May 11, 9:50 am, shimmyshack <matt.fa...@gma il.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.

      Comment

      • r.g.

        #4
        Re: PHP not working with XAMPP (possible Virus Scan issue?)

        On May 11, 9:57 am, "r.g." <rohi...@gmail. comwrote:
        On May 11, 9:50 am, shimmyshack <matt.fa...@gma il.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.

        Comment

        • shimmyshack

          #5
          Re: PHP not working with XAMPP (possible Virus Scan issue?)

          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...@gma il.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.d ll"
          AddType application/x-httpd-php .php

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

          Comment

          • r.g.

            #6
            Re: PHP not working with XAMPP (possible Virus Scan issue?)

            Reinstalling appeared to have done the trick. Thanks again for the
            help.

            On May 11, 10:10 am, shimmyshack <matt.fa...@gma il.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...@gma il.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.d ll"
            AddType application/x-httpd-php .php
            >
            look in the eventvwr, in the error.log and see if there are any
            hints.

            Comment

            Working...