On Sun, 6 May 2001, Rodney Broom wrote:

> Hi all,
> 
> The other day I installed PHP4 as a DSO. No problem, it works fine. Today I was
> adding a Perl handler that needs a DB connection (MySQL). Nothing special, I
> used DBI. But at the time of the connection, the handler stops. No error, no
> message, no anything.
> 
> - I tried to get a DB handle in an Apache::Registry (mpl) script, same
>   thing.
> - I tried to get a DB handle from a CGI script, that works.
> - I turned off PHP in the conf and retried the mpl script, it connects to
>   the DB correctly.
> 
> I've searched the archives for this list, and done some searching on PHP sites
> and on the web, but haven't found anything specific. Has anybody else seen this?

I may be wrong, but isn't this the issue where you have to compile PHP4
*without* the MySQL libraries. MySQL still works from PHP4, provided you
have the MySQL libs on your machine somewhere else.

I think there's an FAQ about this on the PHP4 site.

-- 
<Matt/>

    /||    ** Founder and CTO  **  **   http://axkit.com/     **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // ** mod_perl news and resources: http://take23.org  **
     \\//
     //\\
    //  \\

Reply via email to