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



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. A very good demonstration o Vector!!
View Tutorial          By: Pankaj Kumar Mishra at 2010-12-09 01:35:06

2. Thank you very much!!!

But I have t

View Tutorial          By: Gemis at 2009-04-14 02:37:08

3. FINALLY! A place that gives complete examples (wi
View Tutorial          By: bminton at 2013-03-19 00:15:55

4. Thanks for make me understand about the keyword St
View Tutorial          By: Soumya at 2012-09-18 03:30:01

5. What is the difference between an Interface and an
View Tutorial          By: RAJA at 2015-06-26 17:28:31

6. Its working ,but it overwrite the old one when run
View Tutorial          By: venkat at 2012-09-17 09:38:53

7. good explanation.
View Tutorial          By: praneeth at 2011-06-20 23:28:00

8. its really helpful.thanks a lot
View Tutorial          By: bena at 2015-03-04 10:39:46

9. nice example..
View Tutorial          By: righana at 2011-07-19 08:46:50

10. It's very helpful to me... Thanks...
View Tutorial          By: Nicks Patel at 2010-03-24 23:37:04