LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-04-2007, 05:46 PM   #1
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
apache php syntax highlighting not working.


I have:

AddType application/x-httpd-php-source .phps

in my httpd.conf file, but when I load up a .phps file, it displays the code but no syntax highlighting. Any idea why?

edit... This does work if the file is in the root of the webserver, but it does not if it's in a subdir. I'd like it to work in a subdir. ideas?


argh... nevermind. I was looking at a file that didn't yet have any php in it.

::sigh::

Last edited by BrianK; 12-04-2007 at 05:51 PM.
 
Old 12-05-2007, 11:38 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
super. removing from zero posts...
 
  


Reply



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
syntax highlighting for php in emacs bm1 Linux - Software 2 04-15-2017 04:29 AM
syntax highlighting in vi mehrots Linux - Software 10 07-16-2007 08:50 AM
C++ syntax highlighting with PHP ckoniecny Programming 1 08-11-2006 07:09 AM
syntax highlighting rohr Programming 3 07-06-2005 06:07 AM
Screem syntax highlighting not working stanley90 Linux - Software 0 03-29-2004 06:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:43 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
Open Source Consulting | Domain Registration