Comment on Tutorial - Getting PHP running on Mac OS 10.1 By Lanhel



Comment Added by : Sachin

Comment Added at : 2011-03-26 00:23:05

Comment on Tutorial : Getting PHP running on Mac OS 10.1 By Lanhel
I am using MacOSX 10.5.4 and only enabling the mod_php5 wasn't enough to get the PHP support. I had to add following block before I could use php on machine -

<IfModule mod_php5.c>
# If php is turned on, we respect .php and .phps files.
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

# Since most users will want index.php to work we
# also automatically enable index.php
<IfModule mod_dir.c>
DirectoryIndex index.html index.php
</IfModule>
</IfModule>


View Tutorial



Ask a Question

Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. I went befly through this, it is woderful, usefull
View Tutorial          By: Mallikarjuna.N at 2009-11-28 11:41:58

2. Helpfull!
View Tutorial          By: touraj at 2010-08-11 13:40:33

3. Can you please tell me what software to be install
View Tutorial          By: Heena Yeole at 2015-03-10 18:05:18

4. thanx mitra...it helped alot.
View Tutorial          By: psuyog at 2014-10-10 12:16:26

5. Great explanations! I looked for other guides and
View Tutorial          By: A.Lepe at 2010-09-15 21:36:42

6. Excellent article
View Tutorial          By: JJ at 2011-03-21 13:42:35

7. I want to parse a xml content some think like bel
View Tutorial          By: sagar at 2011-04-20 00:59:06

8. wow...great MAN
View Tutorial          By: Er Sounderarajan at 2013-03-13 07:29:58

9. Out of -1, 0, and 1 which one can I use as second
View Tutorial          By: Sanjay Bhosale at 2011-12-06 13:17:54

10. can u please explain java scripts for menus.
View Tutorial          By: web designers in kerala at 2011-04-16 02:08:22