Share » Forums » Install & configuration » file_get_contents() for Apache 2

file_get_contents() for Apache 2

file_get_contents() for Apache 2

Friday 21 January 2005 1:16:46 am - 2 replies

Author Message

Hans Melis

Friday 21 January 2005 4:12:28 am

Hi Paul,

Apache2 and eZ publish do work together (btw, it's actually PHP and Apache2 and not an eZ publish issue). We have Apache2 serving several eZ publish sites, and all my test installs use Apache2 as well.

PHP 4.3.10 indeed has the file_get_contents() function, but are you 100% sure that your eZ publish pages are served by PHP 4.3.10? What I do to verify the PHP Apache is using, is:
- edit index.php
- Make the first line of code: phpinfo(); exit();
- Access any page.

If that page also says PHP 4.3.10 then you have a really weird problem.

Hans
http://blog.hansmelis.be

Paul Thomas

Friday 21 January 2005 4:26:39 pm

Hi,

Its definetly 4.3.10.

However, I did notice Virtual Directory support is disabled....????

Anyway, I tried installing WebGUI as an alternative. In doing the install, ezp has started working!
Obviously I had screwed up one of the files... but questioning what I had done got it working for me ~ cheers!

Paul.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu