Jump to content

Php files aren't load in Apache


Recommended Posts

Hi,

 

I try to configure Apache to load Php. Everything works for Php4, but I upgrade to Php5.

 

I compile Php5 with apxs2 path, and it configures me the file:

 

LoadModule php4_module        /usr/lib/apache2/libphp4.so
LoadModule php5_module        /usr/lib/apache2/libphp5.so

AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

 

When I try to load html files, it works.

 

When I hit in the console: php -f /path/to/file , it works.

 

But no php files are load in .Apache

 

I also restart it.

Link to comment
https://forums.phpfreaks.com/topic/148590-php-files-arent-load-in-apache/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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.