Jump to content

php file are not being read...


Recommended Posts

Hi guys, I'm having a bit of a trouble in freebsd running php files.

 

heres the view of a php file from the browser:

 

tdmLs.png

 

Heres my httpd.conf:

<IfModule dir_module>
<IfModule php5_module>
DirectoryIndex index.php index.html
</IfModule>
<IfModule !php5_module>
<IfModule php4_module>
DirectoryIndex index.php index.html
</IfModule>
<IfModule !php4_module>
DirectoryIndex index.php index.html
</IfModule>
</IfModule>
</IfModule>

php.conf:

<IfModule mime_module>
<IfModule php4_module>
AddType application/x-httpd-php .php
</IfModule>
<IfModule php5_module>
AddType application/x-httpd-php .php
</IfModule>
</IfModule>

apache is already running...

 

mJ9FS.png

 

How can I fix this?

 

Thx in advance.

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 5 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.