-2008 buggy to configure webmin Solaris 10 + 1310 + Apache 2.0.59 + php 5.2.0 Access classic mistake when configuring php5 + apache 2.0.59.
When attempting to start apache from webmin, usually receive the following error: Error 1
:
Failed to start apache: Syntax error on line 231 of / usr/local/apache2/conf/httpd.conf:
Can not load / usr/local/apache2/modules/libphp5.so Into server: ld.so.1: httpd: fatal: relocation error: file / usr/local/apache2/modules/libphp5.so: xmlParserInputBufferCreateFilenameDefault symbol: referenced symbol not found
If this happens there are 2 solutions.
1. The machine has no or a very old version "libxml2" in any case replace or install.
2. Webmin is not aimed at the libraries listed .., for this access:
Webmin-> Webmin Configuration-> operating system and environment
,
there are the paths that webmin uses to look for certain programs and libraries. Initially are more or less as follows ... Program
search path:
/ bin
/ usr / bin
/ sbin
/ usr / sbin
/ usr / sfw / bin ....
... etc
Add (or move)
"the beginning" of the list
"Program search path" following directions.
/ usr / local / bin
/ usr / ccs / bin
/ usr / ucb
/ usr / local / ssl / bin
/ bin
/ usr / bin
....
and add (or move) at the start of "library search path" the following addresses:
/ usr / local / lib
/ opt / csw / bin
/ usr / local / ssl / bin
/ lib
/ usr / lib
Record and initialize apache .. and the error will not go above.
Error2:
Failed to start apache: no listening sockets available, shutting down Unable to open logs
This is the (very clear ...) for Apache that you need to be declared a default listening port ...
You only need to declare on the httpd.conf as follows:
# Change this to Listen on specific IP addresses as Shown Below to
# Prevent Apache from glomming onto all bound IP addresses (0.0.0.0) #
12.34.56.78:80 # Listen Listen 100.1.60.1:80
<-- colocar la dir ip de la maquina Initialize apache (and not go the same error ...).
Error 3:
[warn] VirtualHost overlaps with VirtualHost 100.1.60.1:80 100.1.60.1:80, the first has precedence, Perhaps you need a NameVirtualHost directive
For this problem, we must place httpd.conf file the following:
# # Use name-based virtual hosting.
# NameVirtualHost *: 80
each virtual host and it should be defined as follows way:
Eg:
DocumentRoot / / export / home / web / ServerName xyz.com
prueba.dyser.net
allow from all Options +
Indexes
All other virtual servers must have the same format. Restart Apache
... no longer will leave the same error ... (Perhaps another ..). ********************************************** ******************
hope and these notes are helpful.
A greeting. Oscar.