You are not logged in.

#1 2010-08-27 23:23:15

frojnd
Member
Registered: 2008-09-20
Posts: 125

eclipse-phpeclipse apache, mysql settings problem.

Hello there. Does anyone here uses eclpise-phpeclipse package for doing all the php programming? I was wondering if someone would paste the settings for starting apache, mysql?
Settings I currently have and won't work:

For Ampache:
Start Apache: start -c "DocumentRoot {0}"
Stop Apache: stop
Restart Apache: restart
Apache /etc/rc.d/httpd

For MySQL:
Start MySQL: startmxysql
MySQL: /etc/rc.d/mysqld start

When I click on a start or a restart apache button I receive following error:

:: Starting Apache Web Server    [BUSY] (13)Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
   [FAIL] 

And when I clck on a stop apache button I get this:

:: Stopping Apache Web Server    [BUSY] /bin/rm: ni mogoče odstraniti »/var/run/daemons/httpd«: Permission denied
   [DONE]

When I click on a start MySQL button I get:

Could not execute external app/etc/rc.d/mysqld start

Has anyone managed to use eclipse-phpeclipse under Arch?

Offline

#2 2010-08-29 17:29:43

jvalecillos
Member
Registered: 2009-02-25
Posts: 24

Re: eclipse-phpeclipse apache, mysql settings problem.

Hi, httpd (apache) and mysqld (MySQL) daemons are started and stopped only by root, you can't run it as normal user. I recommend to you that if you want run as user, a better option is use xammp installed in your home directory. In the other hand, you don't really need configure apache and mysql to run from eclipse, you simple deploy your project from public_html in your home directory. Please read Apache in the arch wiki

By the way, you can try with eclipse-pdt (official eclipse with php support), now has virtually mostly that a PHP programmer can need (i use it). Eclipse-PDT

Last edited by jvalecillos (2010-08-29 17:31:27)

Offline

Board footer

Powered by FluxBB