I rebuilt PHP with "./configure --with-apxs2=/opt/httpd/bin/apxs
--with-mysql --enable-mbstring --with-pdo-mysql --enable-pdo" which seems
to have solved the remaining issue.

I had come from a fully functional Apache 2.2 environment to the 2.4 and
everything seemed to go to pot.

I appreciate you guys working on a solution a lot! Thank you very much.

-----Original Message-----
From: Lester Caine [mailto:les...@lsces.co.uk]
Sent: Sunday, March 16, 2014 12:22 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] PHP works but not PHP pages.

Michael Peters wrote:
> Now a new error comes up on the other: "Fatal error: Undefined class
> constant 'MYSQL_ATTR_USE_BUFFERED_QUERY' in
> /www/html/auditprotocol/includes/db-core.php
> on line 13" Which looks like a PDO problem and so far rebuilding PHP
> with PDO support has not worked.

You need PDO_MYSQL as well as the base PDO ...


--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve -
http://enquirysolve.com/ Model Engineers Digital Workshop -
http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to