Hi,
I have eclipse installed. Can someone pls help me what else do i need to play with the php code?
Please reply.
Thanks.
Safi
PHP / eclipse Installation
Moderator: General Moderators
Re: PHP / eclipse Installation
Hi,
1. When i type http://localhost, i get the XAMPP page.
2. I started eclipse.exe. Created a new php project(workspace- C:\Program Files). also create a simple hello world php file.
3. eclipse and xampp both saved in c/program files.
4. opened up C:\Program Files\xampp\apache\conf\httpd.conf. In the httpd.conf file, i put - DocumentRoot "C:/Program Files".
5. Then i am not sure what to put in browser to see my page.
6. in httpd.conf, i also put alias /safi/ "C:\Program Files", then when i run it i get error 204 message.
I am new to this. I am really lost. I am not sure of the relation ship between eclipse, php, php.ini, xampp, documentroot. someone pls help me how i can view my page in browser. thanks.
Safi
1. When i type http://localhost, i get the XAMPP page.
2. I started eclipse.exe. Created a new php project(workspace- C:\Program Files). also create a simple hello world php file.
3. eclipse and xampp both saved in c/program files.
4. opened up C:\Program Files\xampp\apache\conf\httpd.conf. In the httpd.conf file, i put - DocumentRoot "C:/Program Files".
5. Then i am not sure what to put in browser to see my page.
6. in httpd.conf, i also put alias /safi/ "C:\Program Files", then when i run it i get error 204 message.
I am new to this. I am really lost. I am not sure of the relation ship between eclipse, php, php.ini, xampp, documentroot. someone pls help me how i can view my page in browser. thanks.
Safi
Re: PHP / eclipse Installation
On a linux computer here's more or less what I do to get eclipse working with PHP and debugging on my web server. From memory, I don't think I forgot any major steps:
Install the eclipse pdt all-in-one download from zend
Download the proper zend debugger binary from zend and unpack to a directory
Download jdbc drivers from mysql and unpack to a directory (for use later)
Create a workspace directory for eclipse
Create a virtual directory and alias in apache for the eclipse workspace directory
Edit php.ini and add the necessary debug settings for the zend debugger. Copy dummy.php to the workspace directory
Edit configuration settings in eclipse for php debugger and php servers. Test the debugger
Enjoy
I also add subversive plugin to eclipse.
Install the eclipse pdt all-in-one download from zend
Download the proper zend debugger binary from zend and unpack to a directory
Download jdbc drivers from mysql and unpack to a directory (for use later)
Create a workspace directory for eclipse
Create a virtual directory and alias in apache for the eclipse workspace directory
Edit php.ini and add the necessary debug settings for the zend debugger. Copy dummy.php to the workspace directory
Edit configuration settings in eclipse for php debugger and php servers. Test the debugger
Enjoy
I also add subversive plugin to eclipse.
Re: PHP / eclipse Installation
Thanks. But i am using windows.
You provided me a new steps to follow. I will check later. Since I already spent lot of time installing other programs, can you pls tell me why i am getting local host page but i am not getting localhost/mypage.php based on my previous email? Should i changed any settings anywhere?
Thanks.
Safi
You provided me a new steps to follow. I will check later. Since I already spent lot of time installing other programs, can you pls tell me why i am getting local host page but i am not getting localhost/mypage.php based on my previous email? Should i changed any settings anywhere?
Thanks.
Safi