>That's more like what I'd expect. What is still puzzling, then, is how
>midgard.so got in the directory you used earlier. php4-module uses
>php-config to determine where to install the extension.
I didn't know what i was doing, and copied it over there...
> >So what does the error message say?
>
> PHP Warning: Unable to load dynamic library './midgard.so' -
./midgard.so:
> cannot open shared object file: No such file or directory in Unknown on
line
> 0
>I've done some checking -- 'Unkown' means the extension_dir is not
>set. If it is set, it may be that php is reading a different php.ini.
>phpinfo will tell you what file php tries to read.
I've now changed extension_dir to: /usr/local/lib/php/20001222
>That's a different problem that we'll solve separately. Comment
>out php4 in httpd.conf, and put mod_midgard in. Kill apache, one way
>or the other, if the regular stop script doesn't work, killall is your
>friend. Unless you're running Solaris, in which case it's your worst
>enemy.
>Start apache by hand (would be /usr/sbin/apache -X for me) and tell me
>what it does/says in the console, and the error log.
after commenting out all php4 stuff, and adding midgard stuff back in
(including the Include midgard-data.conf, i get the following error when
starting apache:
[root@oddjob /]# /usr/sbin/httpd start
Syntax error on line 20 of /etc/httpd/conf/midgard-data.conf:
Invalid command 'php_value', perhaps mis-spelled or defined by a module not
included in the server configuration
I would think this is expected, since php is commented out.
If i comment out the midgard-data.conf , it get no errors/output from
httpd....it starts fine. using ./httpd status, get:httpd (pid 2335 2334
2333 2332 2331 2330 2329 2328 2327) is running...
(/etc/rc.d/init.d/httpd script seemst to be working again...)
here is the bit from my error_log: (I don't know how much is usefull)
[Mon Jul 9 21:16:19 2001] [notice] child pid 29429 exit signal Segmentation
fau
lt (11)
[Mon Jul 9 21:16:21 2001] [notice] caught SIGTERM, shutting down
[Mon Jul 9 21:17:23 2001] [notice] Apache/1.3.12 (Unix) (Red Hat/Linux)
PHP/4.
0.6 configured -- resuming normal operations
[Mon Jul 9 21:17:24 2001] [crit] (98)Address already in use: make_sock:
could n
ot bind to port 80
[Mon Jul 9 21:38:47 2001] [crit] (98)Address already in use: make_sock:
could n
ot bind to port 80
[Mon Jul 9 21:38:49 2001] [crit] (98)Address already in use: make_sock:
could n
ot bind to port 80
[Mon Jul 9 21:41:46 2001] [notice] caught SIGTERM, shutting down
[Mon Jul 9 21:55:16 2001] [notice] Apache/1.3.12 (Unix) (Red Hat/Linux)
PHP/4.
0.6 configured -- resuming normal operations
[Mon Jul 9 21:58:31 2001] [notice] caught SIGTERM, shutting down
[Mon Jul 9 22:02:59 2001] [notice] Apache/1.3.12 (Unix) (Red Hat/Linux)
PHP/4.
0.6 configured -- resuming normal operations
[Mon Jul 9 22:12:29 2001] [notice] caught SIGTERM, shutting down
[Mon Jul 9 22:18:53 2001] [notice] Apache/1.3.12 (Unix) (Red Hat/Linux)
PHP/4.
0.6 configured -- resuming normal operations
[Mon Jul 9 22:18:56 2001] [crit] (98)Address already in use: make_sock:
could n
ot bind to port 80
[Mon Jul 9 22:19:16 2001] [notice] caught SIGTERM, shutting down
[Mon Jul 9 22:20:59 2001] [notice] Apache/1.3.12 (Unix) (Red Hat/Linux)
mod_ss
l/2.6.6 OpenSSL/0.9.5a DAV/1.0.1 PHP/4.0.6 mod_perl/1.24 configured --
resuming
normal operations
[Mon Jul 9 22:33:45 2001] [crit] (98)Address already in use: make_sock:
could n
ot bind to port 80
[Mon Jul 9 22:33:47 2001] [crit] (98)Address already in use: make_sock:
could n
ot bind to port 80
[Mon Jul 9 22:34:36 2001] [notice] caught SIGTERM, shutting down
[Mon Jul 9 22:37:14 2001] [notice] Apache/1.3.12 (Unix) (Red Hat/Linux)
mod_ss
l/2.6.6 OpenSSL/0.9.5a DAV/1.0.1 PHP/4.0.6 mod_perl/1.24 configured --
resuming
normal operations
[Tue Jul 10 14:14:11 2001] [crit] (98)Address already in use: make_sock:
could n
ot bind to port 80
[Tue Jul 10 14:22:37 2001] [crit] (98)Address already in use: make_sock:
could n
ot bind to port 80
[Tue Jul 10 14:23:03 2001] [crit] (98)Address already in use: make_sock:
could n
ot bind to port 80
[Tue Jul 10 14:25:39 2001] [crit] (98)Address already in use: make_sock:
could n
ot bind to port 80
PHP Warning: Unable to load dynamic library
'/usr/local/lib/php/20001222/midgar
d.so' - undefined symbol: midgard_user_call_func in Unknown on line 0
[Tue Jul 10 14:28:18 2001] [crit] (98)Address already in use: make_sock:
could n
ot bind to port 80
PHP Warning: Unable to load dynamic library
'/usr/local/lib/php/20001222/midgar
d.so' - undefined symbol: midgard_user_call_func in Unknown on line 0
[Tue Jul 10 14:28:28 2001] [crit] (98)Address already in use: make_sock:
could n
ot bind to port 80
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]