470,811 Members | 1,154 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,811 developers. It's quick & easy.

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

Jan 15 '06 #1
5 1324
Ksu
>>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?

Jan 15 '06 #2
Ksu,

Thanks for you reply.

1. Regarding the first question, everything was working before I
installed PHPEclipse. It's like PHPEclipse "disconnected" 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

Jan 15 '06 #3
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

Jan 15 '06 #4
Following on from Michael's message. . .
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


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
pe******@eminent.demon.co.uk.not.this.bit.no.html
2 Tees Close, Witham, Essex.
Gravity beer in Essex <http://www.eminent.demon.co.uk>
Jan 16 '06 #5
Ksu
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?

Jan 16 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Generale Cluster | last post: by
15 posts views Thread by Geoff Cox | last post: by
40 posts views Thread by Geoff Cox | last post: by
reply views Thread by Paul Dodowa | last post: by
4 posts views Thread by Robert Miller | last post: by
2 posts views Thread by www.gerardvignes.com | last post: by
2 posts views Thread by Christoph Burschka | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.