| View previous topic :: View next topic |
| Author |
Message |
dargosch Tux's lil' helper


Joined: 21 Aug 2003 Posts: 101
|
Posted: Tue Feb 26, 2008 8:28 pm Post subject: [SOLVED] Apache + PHP -- How???? |
|
|
Hi,
I just want a simple setup with Apache + PHP. How do I do this????
I install it all, and I get this:
| Code: |
no listening sockets available, shutting down
Unable to open logs
Syntax OK
no listening sockets available, shutting down
Unable to open logs
Syntax OK
no listening sockets available, shutting down
Unable to open logs
Syntax OK
no listening sockets available, shutting down
Unable to open logs
Syntax OK
no listening sockets available, shutting down
Unable to open logs
Syntax OK
no listening sockets available, shutting down
Unable to open logs
Syntax OK
no listening sockets available, shutting down
Unable to open logs
Syntax OK
no listening sockets available, shutting down
Unable to open logs
|
in /var/log/apache2/startuperror.log when i start the server.
How do I fix this??
/Fredrik _________________ Registered Linux user #163029 http://counter.li.org/
My Gentoo + PVR-350 + IVTV + MythTV blog is on
http://gentoomythtv.blogspot.com/
Last edited by dargosch on Fri Feb 29, 2008 6:54 am; edited 1 time in total |
|
| Back to top |
|
 |
bytenirvana Apprentice


Joined: 10 Jun 2006 Posts: 218 Location: Volksstaat Hessen
|
Posted: Tue Feb 26, 2008 9:53 pm Post subject: |
|
|
did you
? _________________ Linux User #422770 |
|
| Back to top |
|
 |
timbo Apprentice


Joined: 29 Jul 2002 Posts: 231 Location: New Zealand
|
Posted: Wed Feb 27, 2008 2:11 am Post subject: |
|
|
I too have a problem with apache, I can get it to start from the command line but it does not serve php pages locally or over my wee network. If I try to start apache via the init.d script nothing, no errors no [OK] nothing.
I've read through the upgrade guide and even removed it all and started again, rebuild php/apache apache/php everything but still pounding my head.
Biggest problem I have is mythweb I use a lot to schedule recordings.
Regards
Tim
 _________________ Linux User: 303160 |
|
| Back to top |
|
 |
JC99 l33t


Joined: 06 Aug 2003 Posts: 709 Location: Toronto
|
Posted: Wed Feb 27, 2008 2:37 am Post subject: |
|
|
| Make sure you have the "apache2" USE flag set when you compile PHP or else your server will just serve up the code when you visit a .php file via your browser. |
|
| Back to top |
|
 |
jtp755 l33t


Joined: 01 Sep 2003 Posts: 691 Location: USA
|
|
| Back to top |
|
 |
dargosch Tux's lil' helper


Joined: 21 Aug 2003 Posts: 101
|
Posted: Fri Feb 29, 2008 6:53 am Post subject: |
|
|
| jtp755 wrote: | also make sure that in your /etc/conf.d/apache2 you have added the PHP5 tag.
whats the output of emerge -av php apache2? |
Thank you alll!
It seems that it was the mod_unique_id that failed to resolve my hostname. Uncommenting it made it all work.
What that has to do with being able to write to logs, I don't know.. but hey.. it works
Thanks! _________________ Registered Linux user #163029 http://counter.li.org/
My Gentoo + PVR-350 + IVTV + MythTV blog is on
http://gentoomythtv.blogspot.com/ |
|
| Back to top |
|
 |
|