I recently updated my server to run Ubuntu 10.04 and installed PHP Version 5.3.2-1ubuntu4.5 with apache.
My website used the include statement which no longer seems to work.
The index.php is in the www folder where as the include in located in the design folder on the server.
<?php include("/var/www/design/topbar/topbar.inc/"); ?>
I have seen a lot of posts regarding this problem however, they all seem to indicate that the include function is disabled by default and that the php.ini needs to be edited in order to activate this function. They all suggest that allow_url_fopen should be 'On' & allow_url_include should be 'On'.
Firstly: I have seen that there are 2 php.ini files on my server, which one needs to be changed?
Secondly: When I look at phpinfo this is what I see.
Directive Local Value Master Value
allow_url_fopen On On
allow_url_include On On
Any help would be appreciated on this as I really like this function. Does anyone know why there is a security issue with using it?