Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.