PHP5 and Apache2
Posted: Wed Oct 26, 2005 4:25 am
Hi!
I want to compile PHP5 (with MySQL) for Apache2 on my Mac OS X. I've
compiled everything now. But I can't find any info on what to print in
my httpd.conf.
Dirs:
/usr/local/mysql
/usr/local/php5
/usr/local/apache2
In my /usr/local/apache2/conf/httpd.conf I added:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
But I guess I need to add something to load php5. I tried:
LoadModule php5_module /etc/httpd/libexec/httpd/libphp5.so
But it didn't load successfully..
Thanks in advance
Sebastian Dahlgren, Sweden
I want to compile PHP5 (with MySQL) for Apache2 on my Mac OS X. I've
compiled everything now. But I can't find any info on what to print in
my httpd.conf.
Dirs:
/usr/local/mysql
/usr/local/php5
/usr/local/apache2
In my /usr/local/apache2/conf/httpd.conf I added:
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
But I guess I need to add something to load php5. I tried:
LoadModule php5_module /etc/httpd/libexec/httpd/libphp5.so
But it didn't load successfully..
Thanks in advance
Sebastian Dahlgren, Sweden