Re: [users@httpd] can php module be compiled like this

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 15 August 2006 03:28, Joshua Slive wrote:

> >	 and when I tried to start apache, it says
> > can't load php4.so?
>
> If your apache httpd was not originally compiled with mod_so included,
> then there is no way to load dso modules.  You will need to recompile
> apache httpd, either to add mod_so, or to simply change your php
> module.

Um, surely that's a red herring (notwithstanding the rest of the question).
If it had been built without DSO support, then the LoadModule/LoadFile
directives are unrecognised, and the error message would have been a
syntax error at the LoadModule directive in httpd.conf.  A "can't load"
message implies that DSO support *is* available, but this particular
DSO has a problem.

The likeliest problem is a failed dependency.  You can diagnose those
by running ldd on the module, and fix them with LoadFile or by
hacking library paths in apachectl.

[ posted as a followup to Joshua because the question is self-
contradictory, and this reply would be incomplete and possibly
misleading without the other answer he has given ]

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux