PHP was working, now after loading PHPEclipse, it doesn't

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

    PHP was working, now after loading PHPEclipse, it doesn't

    After installing PHPEclipse, I can no longer open php files in the
    browser - I simply get a white page - no errors. The funny thing is
    that php files CAN be opened in the embedded browser that is contained
    within the Eclipse IDE.

    I'd really appreciate any help you all can offer on this; I'm out of
    ideas.

    Thanks,
    Michael McDonnell

  • Ksu

    #2
    Re: PHP was working, now after loading PHPEclipse, it doesn't

    >>I can no longer open php files in the browser
    so you have installed php + server ?
    do you look for errors in your server config file?

    Comment

    • Michael

      #3
      Re: PHP was working, now after loading PHPEclipse, it doesn't

      Ksu,

      Thanks for you reply.

      1. Regarding the first question, everything was working before I
      installed PHPEclipse. It's like PHPEclipse "disconnect ed" the browser
      from the PHP world.

      2. I looked in the error log file and there were no relevant errors.

      Any help would be greatly appreciated.

      Thanks,
      M. McDonnell

      Comment

      • Michael

        #4
        Re: PHP was working, now after loading PHPEclipse, it doesn't

        Ksu,

        I realized I answered the second question incorrectly. I have not
        checked the server config file. Can you tell me what the name of the
        config file is?

        Thanks,
        M. McDonnell

        Comment

        • Peter Fox

          #5
          Re: PHP was working, now after loading PHPEclipse, it doesn't

          Following on from Michael's message. . .[color=blue]
          >After installing PHPEclipse, I can no longer open php files in the
          >browser - I simply get a white page - no errors. The funny thing is
          >that php files CAN be opened in the embedded browser that is contained
          >within the Eclipse IDE.
          >
          >I'd really appreciate any help you all can offer on this; I'm out of
          >ideas.
          >
          >Thanks,
          >Michael McDonnell
          >[/color]

          if(windows){

          My guess is that PHP eclipse has snaffled the ".php" extension as a file
          type so that clicking on a php file opens php-eclipse. It may have
          been (I HATE WINDOWS REGISTRY) associated as a URL before .

          Try sticking "http://localhost/" into your browser and seeing what
          happens. You should see a directory listing of the server's web root.
          A horrible but effective fix is to bookmark a good place to start
          picking files from and stuff it in a bowser tab at start-up. (Mozilla)

          }
          --
          PETER FOX Not the same since the porcelain business went down the pan
          peterfox@eminen t.demon.co.uk.n ot.this.bit.no. html
          2 Tees Close, Witham, Essex.
          Gravity beer in Essex <http://www.eminent.dem on.co.uk>

          Comment

          • Ksu

            #6
            Re: PHP was working, now after loading PHPEclipse, it doesn't

            I used to install Apache on my computer to test everything and put PHP
            over it

            so in
            httpd.conf
            ....
            ScriptAlias /php/ "C:/Server/php/"
            AddType application/x-httpd-php .php
            ....
            If you dont have something like this your php scripts dont "compile"
            What software do you use?

            Comment

            Working...