I want to run my first php project in eclipse(with help of pet package). When I run my project (index.php) eclipse show an error with below message :
Page Login failed with error. Could not connect to the server.
More information :
I think my local server didn't start or I haven't local server. How can I solve this error? How can run local php server in mac ?
Best Regards
You need to install a server package, something like MAMP. Then you need to configure it in order to be driven by Eclipse, using Xdebug, which is a module for Apache. In order to set up your configuration with Xdebug, take a look here: http://wiki.eclipse.org/Debugging_using_XDebug