I want to install PHP as Apache module in RedHat 6.2.
I've tried compile PHP using apxs like this:
./configure --with-apxs=/usr/sbin/apxs \
--with-mysql
make
make install
and I also added AddType application/x-httpd .php in httpd.conf
I have created a .php file contained
<?php phpinfo() ?>
But the problem is the PHP cannot run in browser.
Anybody can help me to solve this problem.
Thanks.