LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 04-19-2012, 10:23 AM   #1
Mark_667
Member
 
Registered: Aug 2005
Location: Manchester, England
Distribution: Ubuntu 17.04
Posts: 319

Rep: Reputation: 25
Apache PHPIniDir config issues


Edit: I've found that the PHPIniDir option isn't used in Apache 2.4 so I commented out the last line of the attached file. Unfortunately I can't change the thread title or delete the post.

Current Problem:
I'm using Apache 2.4 but when I try to view a page in a browser I see the page source. I've attached the conf file I'm using, can anyone provide any insights?
Attached Files
File Type: txt httpdconf.txt (19.1 KB, 83 views)

Last edited by Mark_667; 04-19-2012 at 11:03 AM.
 
Old 01-01-2018, 12:53 PM   #2
TBotNik
Member
 
Registered: May 2016
Posts: 210

Rep: Reputation: Disabled
Similar Problem

All,

Hey! All was working fine, till I had to resolve a MySQL issue which required clearing and reloading LAMP stack on my machine. Now PHP code works fine until it find a '>' in the code instead of '?>' and so thinks PHP processing has ended, then throws all code from that point on into display on the browser. Craziest thing the '>' can even be in a comment block, but still thinks you told PHP to stop processing.

The irc.freenode.net ##php guru's told me I had a PHP config issue with PHP5, and since things had been working thought they were wrong, but running back through some code under dev, and for testing I always echo out vars like so:
echo "1stVar=> $var1 2ndVar $var2 3rdVar $var3";
Now the '>' in these echo lines are stopping the processing! What do I look for to make PHP it can never stop processing without '?>'?

TBNK
 
  


Reply

Tags
apache, configuration, php


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache qpid-config issues c0mrade Fedora 1 06-30-2010 11:11 PM
apache: Is apache config accepting shell env vars ? breeze99 Linux - Networking 2 08-30-2009 04:28 PM
Xubuntu 7.10 config issues pjo Ubuntu 2 01-07-2008 05:59 PM
Sendmail - Config for IP Block's & Config Issues Thom_Redhat Linux - Software 1 04-07-2006 01:29 PM
several config issues admbig Slackware 8 02-20-2005 06:15 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 07:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration