Re: [users@httpd] PHP works but not PHP pages.

2014-03-17 Thread Lester Caine
Michael Peters wrote: 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. Michael Personally I'm running SUSE Linux in various versions. I've Apache 2.2 and 2.4 runnin

RE: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Michael Peters
eciate 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 ne

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Lester Caine
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_

RE: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Michael Peters
not worked. *From:* Steven Siebert [mailto:smsi...@gmail.com] *Sent:* Sunday, March 16, 2014 10:43 AM *To:* users@httpd.apache.org *Subject:* Re: [users@httpd] PHP works but not PHP pages. And, of course, the second error is complaining that your directory permissions are incorrect. Accordi

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Steven Siebert
iled to > write session data (files). Please verify that the current setting of > session.save_path is correct (/var/lib/php/session) in Unknown on line 0 > > > > *From:* Steven Siebert [mailto:smsi...@gmail.com] > *Sent:* Sunday, March 16, 2014 9:59 AM > > *To:* users@httpd.ap

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Steven Siebert
typo: mbstring extension. On Sun, Mar 16, 2014 at 1:37 PM, Steven Siebert wrote: > Looks like that pointed you to the answeryou need to install the > non-default mstring extension. > > http://www.php.net/manual/en/mbstring.installation.php > > > > On Sun, Mar 16, 2014 at 1:16 PM, Michael P

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Steven Siebert
Looks like that pointed you to the answeryou need to install the non-default mstring extension. http://www.php.net/manual/en/mbstring.installation.php On Sun, Mar 16, 2014 at 1:16 PM, Michael Peters < michael.pet...@lazarusalliance.com> wrote: > Call to undefined function mb_detect_encodin

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Lester Caine
Michael Peters wrote: I tried this: Try error_reporting(0); to disable errors ... What version of PHP was the code originally written for? It may be something like e_strict which is crashing the other pages. Trick is to add code to a working page until things crash. I normally end up adding

RE: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Michael Peters
on line 0 *From:* Steven Siebert [mailto:smsi...@gmail.com] *Sent:* Sunday, March 16, 2014 9:59 AM *To:* users@httpd.apache.org *Subject:* Re: [users@httpd] PHP works but not PHP pages. On Sun, Mar 16, 2014 at 11:25 AM, Michael Peters < michael.pet...@lazarusalliance.com> wrote:

RE: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Michael Peters
, March 16, 2014 9:58 AM To: users@httpd.apache.org Subject: Re: [users@httpd] PHP works but not PHP pages. On Sun, Mar 16, 2014 at 12:44 PM, Michael Peters wrote: > LoadModule php5_module modules/libphp5.so Sorry, the AddHandlers/AddTypes seem to be trying to do it. Must have typoed my sea

RE: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Michael Peters
...@gmail.com] *Sent:* Sunday, March 16, 2014 9:59 AM *To:* users@httpd.apache.org *Subject:* Re: [users@httpd] PHP works but not PHP pages. On Sun, Mar 16, 2014 at 11:25 AM, Michael Peters < michael.pet...@lazarusalliance.com> wrote: y all PHP pages except for my test.php will not display? My

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Steven Siebert
On Sun, Mar 16, 2014 at 11:25 AM, Michael Peters < michael.pet...@lazarusalliance.com> wrote: > y all PHP pages except for my test.php will not display? > > > > My fresh install from source of Apache 2.4.7 and PHP 5.5.10 > So you can display your test.php in the browser and not any other page?

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Eric Covener
On Sun, Mar 16, 2014 at 12:44 PM, Michael Peters wrote: > LoadModule php5_module modules/libphp5.so Sorry, the AddHandlers/AddTypes seem to be trying to do it. Must have typoed my search. What happens when you access a php file locally? -- Eric Covener cove...@gmail.com -

RE: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Michael Peters
Isn't this doing it? LoadModule php5_module modules/libphp5.so -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Sunday, March 16, 2014 9:12 AM To: users@httpd.apache.org Subject: Re: [users@httpd] PHP works but not PHP pages. On Sun, Mar 16, 2014 at 11:

Re: [users@httpd] PHP works but not PHP pages.

2014-03-16 Thread Eric Covener
On Sun, Mar 16, 2014 at 11:25 AM, Michael Peters wrote: > What I cannot figure out is why all PHP pages except for my test.php will > not display? I didn't see anywhere in your config where you configured Apache to do anything special for PHP. Normally this would be configuring fastcgi or mod_ph