473,500 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Bizarre Apache/PHP startup error

I've been trying to bring up an IMP webmail server for...oh, several
days now. I've never had so much trouble bringing up any machine, and
I've beaten my forehead flat against it. Either I've been at it too
long, or I've been at it too long and there's a bug here somewhere.

Basically, I had a working machine up until yesterday, with gd.so,
imap.so, ldap.so, mbstring.so, mcrypt.so, and pgsql.so all up and
running nicely. At that point I wanted to install fileinfo, so I first
installed Christos Zoulas' File 4.17 from astron.com. I then did a
"pear install fileinfo", which I *think* relies on File 4.17 and/or its
magic.h header as a prerequisite, although it's possible that this idea
crept into my head along the way and has no basis in reality. After
"pear install fileinfo", pear exits with "Warning:
opendir(/var/tmp/pear-build-davek/install-Fileinfo-1.0.3//var/www/pear):
failed to open dir: No such file or directory in Builder.php on line
162", so I popped into pear's download directory under /tmp and ran
configure, make and make install, without any error messages. After
running "phpxs -a fileinfo" I should be done.

Except that now Apache 1.3.29 will no longer start:

/var/www/conf # httpd
Syntax error on line 267 of /var/www/conf/httpd.conf:
Cannot load /usr/lib/apache/modules/libphp5.so into server: Cannot load
specified object
/var/www/conf # httpd -u
Syntax error on line 267 of /var/www/conf/httpd.conf:
Cannot load /usr/lib/apache/modules/libphp5.so into server: Cannot load
specified object

Line 267 of httpd.conf looks as follows:

LoadModule php5_module /usr/lib/apache/modules/libphp5.so

A quick check verifies that libphp5.so is present in
/usr/lib/apache/modules. It hasn't been touched for the past several
days in between the time it loaded up just fine and the time it didn't.
Neither has httpd.conf, which was syntactically correct last week but
not this week even though it also is unchanged. If I comment out the
offending PHP5 startup line, Apache starts.

There isn't anything in either Apache's or PHP's error log. I've tried
copying the straight "php.ini-recommended" over with no luck.

I've tried running a commandline php test using fileinfo object file,
and it seems
to work great, so I don't think the problem is with fileinfo. But I'm
not positive. All I really know is that I was working on the machine
and it suddenly stopped working. I need some better ways to diagnose
the problem than what Apache and PHP provide.

So what am I missing?

Thanks in advance for any advice!
Dave Klingler

The OS is OpenBSD snapshot (3.9), although I've had the same problem
trying this in OpenBSD 3.8.

Apr 11 '06 #1
0 1676

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

Similar topics

5
3223
by: Harry | last post by:
Since yesterday, when I try and start apache, I get the following message: Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP\ext\php_mysql.dll' - the specified...
2
14141
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip...
1
2547
by: anks | last post by:
I am tring to install apache tomcat1.4 on a windows 2000 advanced server. it got installed successfully.but when i start it the command prompt(for apache tomcat) appears for a second and then just...
4
6646
by: Jon Maz | last post by:
Hi All, I'm getting to grips with PHP and Apache (on Windows for current development, production site will be on Linux), and have a simple (I hope!) request. When you change the httpd.conf...
5
5564
by: voronwae | last post by:
Hi folks. Either I'm missing something really obvious (most likely) or I'm missing something really subtle. I've been building up a machine as an IMP webmail server, with php 5.1.2, cyrus-sasl,...
18
2376
by: rfhurley | last post by:
How do I run a .php program? (I'm starting with the "hello world" script)
6
7958
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as...
0
3924
by: newdbprgmer | last post by:
I am using a business objects API that is a web service and has axis as dependency. it works fine with 1.1 version, but with 1.3 gives an error. The code is as follows: public void...
6
7579
by: josequinonesii | last post by:
I've searched, I've read, I've tested and re-read numerous post but to no avail yet... Quite simply, the settings I've applied to my httpd.conf, httpd-vhost.conf and my hosts files simply does not...
0
7136
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7182
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,...
1
6906
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7397
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4923
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4611
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3106
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
672
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
316
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.