How to integrate Eciplse (PDK) to Apache

General discussions related to php

Moderators: macek, egami, gesf

maziyarkhorrami
New php-forum User
New php-forum User
Posts: 1
Joined: Fri Jul 13, 2012 7:58 am

How to integrate Eciplse (PDK) to Apache

Postby maziyarkhorrami » Fri Jul 13, 2012 8:15 am

Hi,
I am working in Kubuntu 11.4 and I am new in PHP , I just want to use eclipse because I use it for java and c++ , so I found it easier to work in Eclipse INDIGO and add PDK. I installed Apache on my system and tried to change .configure file to add /home directory to it (Because I can not use www directroy as workspace in Eclipse - if i try to do that I'll get error) . Because of documentation mentioned that I have to restart Apache, I tried " apachectl -k restart " under the following directory : /usr/local/apache2/bin .

But I get the following error:
/usr/sbin/apachectl: 146: /usr/sbin/apachectl: /usr/sbin/apache2: not found
Action '-k restart' failed.
The Apache error log may have more information.

I just tried to make simple php file and the go to my workspace and then dubble click to open it in mozilla but nothing happenes. Just not found error.

here is my error_log content :
[Mon Jul 09 22:45:27.917803 2012] [mpm_event:notice] [pid 26793:tid 3075425984] AH00489: Apache/2.4.2 (Unix) configured -- resuming normal operations
[Mon Jul 09 22:45:27.918045 2012] [core:notice] [pid 26793:tid 3075425984] AH00094: Command line: '/usr/local/apache2/bin/httpd'
[Mon Jul 09 23:17:40.421142 2012] [mpm_event:notice] [pid 26793:tid 3075425984] AH00491: caught SIGTERM, shutting down

I wonder if someone can help me .

Return to “PHP General”

Who is online

Users browsing this forum: No registered users and 3 guests