[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.phoenix] Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing

Have you tested if your xampp installation actually works? Start your xampp and point your browser at http://localhost/ it should display some sort of welcome page. If it does not than your xampp is misconfigured. Several issues could be the case:
1. Does document root point at the correct location
2. Does your xampp user have full access to that directory? If not then you might get the access forbidden error.


What script is loaded when you start the phpeclipse browser? Maybe it's mysql that gives you the error. What user are you using to access the db?

Hope that helps

Regards
Stefan

Beth Tibbitts wrote:
Well I changed httpd.conf to point to the project directory of my eclipse project website files, but it still doesn't work.
If I click on a php file, it shows in the editor but in the PHP browser
I get "this page cannot be displayed."


If I click on the Xampp button it appears to start apache and mySQL.
http://localhost in a web browser gives me "access forbidden"
(as opposed to can't display page, so the web server is running)
as does double-clicking on a php file - what shows in the
PHP browser is also "access forbidden".  PHP editor looks okay.
I get syntax highlighting, etc. which is helpful but i need rendering
to see if all those DIV tags etc. match up!

If I stop xampp (stops apache & MySql) and click on "start apache" only,
I get a popup "Apache has encountered an error and needs to close."

What *should* I do when bringing up a phoenix (php) website in eclipse?
Thanks!


Beth Tibbitts wrote:
I don't particularly care about xampp, i just want to be able to see the php pages before i check them in, so if you don't use them, then maybe i don't need to.
Yes I changed the apache doc root. The apache that got installed with xamp. I probalby have ibm http server (aka apache) also installed on this laptop. Would that make a difference?
Hmmm... my doc root points to my workspace. Maybe it needs to point
to the *project* folder in the workspace?


...Beth
Eclipse WebMaster (Denis Roy) wrote:
Beth,  I don't use Xampp, so I'll try to help you with my eyes closed.

I believe your Apache DocumentRoot folder doesn't match the folder where your project lies.

Apache maintains a file called "httpd.conf", but the DocumentRoot setting may be a setting inside Xampp.

Can you look to see if you can find this DocumentRoot setting and/or the httpd file?

Thanks


Beth Tibbitts wrote:
I'm working on converting the PTP pages http://eclipse.org/ptp to Phoenix.

I downloaded Eclipse 3.1.2, WTP and its prereqs (the convenient all-in-one download), PHPEclipse, and XAMPP.
I configured PhpEclipse and XAMPP like the instructions said, more or less (instructions were in a backlevel of some of the parts.)


While the editor does have nice colors of keywords etc.
I cannot get the PHP Browser to work.
I can start XAMPP with the button in the toolbar and it reports
### APACHE + MYSQL IS STARTING NOW ###

If I double-click on a php file I get it in the editor,
but the PHP Browser reports "Access Forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server."


I've gotten a few pages done at http://eclipse.org/ptp/index2.php
by checking them in and testing there, but I'd prefer to remove
more bugs *before* checking them in.

What am I doing wrong?

Thanks.

...Beth