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. Thank for simple and nice code. Pls,
1. li

View Tutorial          By: Sherif at 2011-12-26 14:12:12

2. Thanks a lot for valuable program.


View Tutorial          By: Kailash at 2012-07-30 10:09:12

3. Is site ki badolat main C++ mein paas ho gya !
View Tutorial          By: sharif at 2011-08-06 10:06:31

4. thank you, this best for student like us,
View Tutorial          By: Srinath at 2012-05-12 15:04:03

5. Hey thanks for your tutorial. But i'm getting an e
View Tutorial          By: acc at 2013-07-25 14:30:50

6. hi i need moving clock javascript code...please se
View Tutorial          By: madhavan at 2008-10-19 21:59:45

7. Nice its very good starter
View Tutorial          By: Gajula Mahesh at 2012-10-28 13:33:06

8. This program is faulty .

Check for

View Tutorial          By: Shrikant Kale at 2014-09-09 07:31:04

9. i didnot get the answer
View Tutorial          By: ramana at 2013-02-04 06:36:37

10. In your example http://twitter.com/statuses/updat
View Tutorial          By: thomas wilkinson at 2012-11-02 01:03:45