Aditya Dhekney <[EMAIL PROTECTED]> Forwarded From: 

> ok...i think i figured out what is happening...wow!! i hope i explain it
> properly..here goes! 
> 
> 
> > >Comment out the midgard bits and try again. Also check if your apache
> > >error log has any mention of a problem.
> > 
> > did this, and now i'm back to the original problem of not being able to
> >load midgard.so
> 
> >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
> 
> >If you comment out midgard.so from php.ini, does everything work as usual?
> 
> When midgard.so is commented out, and midgard info in httpd.conf is inactive
> (commented out) everything works the same.
> 
> >If you comment out midgard.so from php.ini, but leave mod_midgard active
> >in httpd.conf, does apache work as usual (except midgard requests)?
> 
> NO!!NO!!!!!!  IF midgard.so is commented out from php.ini, mod_midgard is
> active, apache does not work at all!!! even the httpd stops working!  If i
> comment out mod_midgard, then apache starts working again...but, if i go and
> add mod_midgard again, httpd stops working!! ie.  after adding mod_midgard,
> httpd stop, httpd start don't work anymore!!  The process stays alive even
> if i do httpd stop (checked with ./httpd status).  Starting/stopping with
> /etc/rc.d/init.d/httpd start/stop is hopeless...i just use the binary all
> the time now!
> 


have you got any other php modules installed? eg. ldap?

mod_midgard is known to conflict with php_ldap+(some openldap binaries)


> 
> >> Yup...upgraded from 4.0.1 rpm (uninistalled it now) to 4.0.6 (from
> source).
> 
> >I assume midgard-php4 was recompiled since the rpm version was
> >uninstalled?
> Hundreds of times!
> 
> > I don't think that the changes in the php.ini file are being recognized
> when
> > i restart apache (using from binary: httpd stop/httpd start) because i'm
> > still getting that loading error for midgard.so.
> 
> >Exactly what error are you getting? 
> ERROR AGAIN:
> 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


try putting the full path to the midgard.so extension.
try ldd midgard.so - and send that info..



>
> >Is the updated extension_dir being recognized? Try setting it to a bogus
> value and 
> >check that it is trying to load midgard from there.
> Updated extension_dir is being recognized, but again, nothing works if i add
> the mod_midgard stuff in the httpd.conf file.
> 
> 
> >You can also change a setting like
> >allow_url_fopen or whatnot and see if it changes if you call phpinfo.
> 
> 
> >Apache is from rpm, right? If so, the script in /etc/rc.d/init.d/ is
> >the right script to stop and start apache.
> Apache is from rpm.
> 
> P.S. Thanks for the help, and patience so far...but looks like i still need
> more..:(
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to