473,385 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Trouble on Solaris 8

Hi all,

I'm installing Apache 2.2, PHP 5.04, and mySQL 4.0.21 on a Solaris 8
machine using prebuilt binaries from sunfreeware.com.

My apache install went smoothly - the only thing I'm having to work
around is an inability to use /usr/local - it's an NFS mount to a
central image, so I'm installing in /opt/local.

After installing PHP and modifying httpd.conf, I get the following
error on startup:

httpd: Syntax error on line 110 of /opt/local/apache2/conf/httpd.conf:
API module structure `php5_module' in file
/opt/local/apache2/modules/libphp5.so is garbled - perhaps this is not
an Apache module DSO?

Now, I have to confess that I don't have mysql installed yet, but I
would think that simply loading the php module wouldn't require this,
would it?

A search for this message shows one other user has seen it recently,
but no resolution online.

No hint in /var/apache/logs - no mention of php at all in any of the
logs.

Any clues as to what could be causing this?

Mark Nelson - markn at i triple e dot org

Feb 21 '06 #1
3 2673
Mark Nelson wrote:
Hi all,

I'm installing Apache 2.2, PHP 5.04, and mySQL 4.0.21 on a Solaris 8
machine using prebuilt binaries from sunfreeware.com.

My apache install went smoothly - the only thing I'm having to work
around is an inability to use /usr/local - it's an NFS mount to a
central image, so I'm installing in /opt/local.

After installing PHP and modifying httpd.conf, I get the following
error on startup:

httpd: Syntax error on line 110 of /opt/local/apache2/conf/httpd.conf:
API module structure `php5_module' in file
/opt/local/apache2/modules/libphp5.so is garbled - perhaps this is not
an Apache module DSO?

Now, I have to confess that I don't have mysql installed yet, but I
would think that simply loading the php module wouldn't require this,
would it?

A search for this message shows one other user has seen it recently,
but no resolution online.

No hint in /var/apache/logs - no mention of php at all in any of the
logs.

Any clues as to what could be causing this?
I would make sure you downloaded the proper libphp5.so (and you transferred it
in a binary mode) On what platform is your Solaris running? Intel, SPARC, other?

Also there is/should be an apacheserver.log file in the top-level apache
directory /opt/local/apache2 in your case.

Mark Nelson - markn at i triple e dot org

--
Michael Austin.
DBA Consultant
Donations welcomed. Http://www.firstdbasource.com/donations.html
:)
Feb 21 '06 #2
>I would make sure you downloaded the proper libphp5.so

Thanks Michael, I checked that and it matches up with what I expect for
my SPARC system:

# file /usr/local/bin/bash modules/libphp5.so bin/httpd
/usr/local/bin/bash: ELF 32-bit MSB executable SPARC Version 1,
dynamically linked, stripped
modules/libphp5.so: ELF 32-bit MSB dynamic lib SPARC Version 1,
dynamically linked, not stripped
bin/httpd: ELF 32-bit MSB executable SPARC Version 1, dynamically
linked, not stripped

I would assume that it was transferred properly as it was installed out
of a Solaris package, not as a raw binary.
Also there is/should be an apacheserver.log file in the top-level apache
directory /opt/local/apache2 in your case.


No such log - either I'm not getting far enough in startup or it may
need a define to override the location built into httpd.

|
| Mark Nelson markn at i triple e dot org
|

Feb 21 '06 #3
I have the same problem.
Can't find any solution :-(

/kjell
Mar 23 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tony | last post by:
what package should I be downloading for solaris intel. Is there a howto on how to install it for solaris intel?
1
by: Mark Nelson | last post by:
Hi I'm trying to build Imaging 1.1.4 in Solaris 9, I get passwd the first step i.e the building of libImging. However when I execute a python setup.py build I get the following error - gcc...
0
by: Bob Swerdlow | last post by:
I'm trying to install MySQLdb 0.9.2 so I can access my MySQL database from python under Solaris 8. I found the notes on changing the include and lib paths and it seems to find them okay, but when...
0
by: Michael Iatauro | last post by:
I've been having a little trouble creating users cross-platform. I have a little script that works just fine on Solaris 8 using this command: eval "/path/to/mysql --user=root --password=*****...
1
by: Chris Todhunter | last post by:
Hi, I am responsible for a growing website. It is password protected and we collect data on everyone who logs in. Every month we produce a report on the trends of users which can result in some...
3
by: Griff | last post by:
#include <iostream> using namespace std; #include <vector> #include <string> #include <fstream> #include <algorithm> template<class C>void PrintAll(C&v) {
12
by: Winbatch | last post by:
Hi, I'm trying to learn multithreading and it doesn't seem to be working for me. I have a feeling it has to do with the fact that I'm writing to files rather than to printf, but maybe not. ...
13
by: Mary Lei | last post by:
Does anyone know the link to obtain the tarball for db2 8.1 for solaris running on AMD 64 bit ? This is the entire db2 installation on a new system that does not have db2. Thanks.
0
by: mg | last post by:
When make gets to the _ctypes section, I am getting the following in my output: building '_ctypes' extension creating build/temp.solaris-2.10-i86pc-2.5/home/ecuser/Python-2.5.1/ Modules/_ctypes...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.