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. Nice work sir... it was very easy to understand ke
View Tutorial          By: AsadUllah at 2012-11-20 19:05:29

2. Thanks for this nice comparision table for Spring
View Tutorial          By: guddu at 2009-10-17 03:08:59

3. very brief and easy to understand description of R
View Tutorial          By: moona at 2010-05-26 22:49:26

4. It is really very good good notes of Public versus
View Tutorial          By: Nitin Gavande at 2011-07-16 08:47:56

5. its really a good post... very informative..
View Tutorial          By: javagava at 2011-12-13 19:49:08

6. Nice example for FileReader and FileWriter,

View Tutorial          By: Tim at 2009-10-21 17:31:00

7. int m,m2,n,n2;
for( m=0 , m2=0 ; m<

View Tutorial          By: muhammad abdullah at 2012-10-11 05:27:02

8. very simple to understand
View Tutorial          By: chermaraja at 2010-05-26 00:00:05

9. Thanks for the info
View Tutorial          By: info at 2010-01-31 12:17:58

10. Hello,

I was able to rectify port/

View Tutorial          By: Harsh at 2011-10-09 16:54:06