httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Peters <michael.pet...@lazarusalliance.com>
Subject RE: [users@httpd] PHP works but not PHP pages.
Date Sun, 16 Mar 2014 19:29:05 GMT
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:lester@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-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

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


Mime
View raw message