Piotras wrote:
Samuel Liddicott <[EMAIL PROTECTED]> wrote:


I'm running debian testing/unstable based on mepis.
I downloaded the pre-built .deb files, but have also built from source.
My apache2 server reports:
Apache/2.0.52 (Debian GNU/Linux) PHP/4.3.10-2 Midgard/1.6.2/Repository/MultiLang


When the midgard-apache2.so module is loaded, php seems to die when it does a mysql_pconnect. When I don't load unload midhard-apache2.so my php sites work fine.

phpinfo(); works ok, it's just mysql_connect that fails.


Sarge and Sid have MySQL 3.x, 4.0 and 4.1.
midgard-php4 compiled against 4.1 was running fine but I decided to compile 
against 4.0.
php4-mysql is compiled against 3.x cause of some licences issue.

Follow my blog to solve the problem.
http://www.nemein.com/people/piotras/php4_and_mysql_extension.html

Thanks; I'll try this.
Wouldn't it also have been enough to rebuild the debs from your source against my currently installed mysql stuff (which I did) or do I need to edit your source to explicitly use the right version of mysql client libs?


Sam


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



Reply via email to