PHP+Apache==trouble

Arthur

Good Member
PHP+Apache==trouble

PHP скрипт вместо того чтобы выполняться читается в брузер как текст.
В апаче прописано:
LoadModule php4_module libexec/apache/libphp4.so
AddModule mod_php4.c
<IfModule mod_dir.c>
<IfModule mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.php index.php3 index.html
</IfModule>
<IfModule !mod_php4.c>
DirectoryIndex index.php3 index.html
</IfModule>
</IfModule>
<IfModule !mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.php index.html
</IfModule>
<IfModule !mod_php4.c>
DirectoryIndex index.html
</IfModule>
</IfModule>
</IfModule>

<IfModule mod_php4.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
</IfModule>

<VirtualHost --- >
----
----
AddHandler cgi-script .cgi .pl .php
AddHandler server-parsed .shtml .html
Options +ExecCGI +Includes
DirectoryIndex index.php index.html

</VirtualHost>
P.S. FreeBSD 4.5 Apache 1.3
 
Сверху