PHP connection to apache

Dear, tell me. How to connect php to apache as a module. It used to work, now it doesn’t. Apparently I forgot. I remember somehow… LoadModule… php5_module… It’s like I messed something up…


Answer 1, authority 100%

Installing Apache + Mysql + Php. There is always an instruction in ReadME php.


Answer 2, authority 100%

apt-get install libapache2-mod-php5 libapache2-mod-ruby php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl

In general, you need to specify under which OS we put it!