After installing the packages I edited my httpd.conf file, to load the php5 module when starting up Apache, by including this line:
LoadModule php5_module modules/libphp5.so
When running apachectl start, I am presented with the following error:
root@test-lm-1 # apachectl start
httpd: Syntax error on line 114 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1: httpd: fatal: relocation error: file /usr/local/apache2/modules/libphp5.so: symbol xmlTextReaderGetAttribute: referenced symbol not found
I have checked to see all the dependency packages are iinstalled, as well as the compatibility of the versions. I uninstalled and reinstalled the libxml package, but still no luck.
It is the fist time I use apache with php, and some assistance will be highly appreciated.
If you downloaded these packages from sunfreeware.com then please return to that site and read the list of dependencies. There is a list of 19 other packages that are required by this php package. Install them and try again.
I have installed all the dependency packages, before I installed the php. On sunfreeware website the dependency packages are listes as:
Even after trying to load the module manually, it still fails with the same error. Is there perhaps a specific order that the packages need to be installed in?? Each time I comment out the line to load the php module, Apache starts up ok.
Is there any packages that I might be missing, since the ones i installed are according to the sunfreeware website
Last edited by Neo; 05-05-2010 at 09:25 AM..
Reason: code tags
I gave it a try, and it did not seem to sort anything out. I also listed the dynamic dependencies for the libphp5.so library... and it seemed to find all the dependencies...
Is there a way to use list only the missing dynamic dependencies?? Also, is anybody aware of any dependencies for the libxml2 package, because there is none listed on the sunfreeware site.
I copied the script from an AskUbuntu post -
#!/bin/bash
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop Tomcat server
### END INIT INFO
... (14 Replies)
Hello,
I am facing an issue while starting the apache server after compiling php and curl.
Below are the versions i am using.
php-5.2.17
httpd-2.2.17
curl-7.16.0
CentOS5.5x64
Compiling above packages without curl working very fine but when trying to compile php with curl below error is... (1 Reply)
Hi all, im pretty new to unit/redhat 6.2
I am trying to load a script upon startup of my redhat 6.2
(instance in ec2 AWS if someone cares)
I want everytime when instance starts (after stop/reboot) a script i build to launch. when i run the script ./scriptname the script runs and everything is... (4 Replies)
Hi,
I have apache ,jboss and jon instances on various linux boxes.I need to create a generic startup script to restart those instances on server reboot.The script requirement is :
It should take the name of instances from one text file named active-servers and recycle those instances.
1.... (6 Replies)
Hi,
Greetings to all :),
I am using Solaris 5.10 on a HP xw6600 workstation with 2 Intel Xeon processors.
System works fine. But during startup the below WARNINGS occur.
WARNING:CPU 1 feature mismatch
WARNING:There will be no MCA support on chip 0 core 0 strand 2(cmd_hdl_create returned... (1 Reply)
Hi
I have SVM on my Solaris 10 5/08 SPARC with the following configuration:
d1: Mirror
Submirror 0: d11
State: Okay
Submirror 1: d12
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size:... (2 Replies)
I have a machine running HP-UX 11.23 (PARISC) and APA startup fails on boot. This is found in /etc/rc.log:
Configure Auto-Port Aggregation(LAN Monitor) interfaces
Output from "/sbin/rc2.d/S343hplm start":
----------------------------
get_start_dlpi_version: failed, errno is 22
ERROR: ... (1 Reply)
I'm running Solaris 5.9 and Apache 2....
I've created a startup script for Apache....but it doesn't work!!!
it resides in /etc/init.d and has a link to /etc/rc3.d
and if it run it as /etc/init.d/apache_start stop it stops the httpd services and /etc/init.d/apache_start start starts the... (3 Replies)
hi, i'm compiling apache with php module after i finish compile mysql-4.0.0-alpha.
i do it as the follow steps after untar'ed them in the same directory,
1) cd apache_1.3.22
./configure
2) cd php-4.0.6
./configure --with-mysql=/usr/local/mysql \
--with-apache=../apache_1.3.22 \... (2 Replies)