Help - Search - Members - Calendar
Full Version: PHP Includes In Configuration
The Planet Forums > Control Panels > cPanel/WHM
peoriamodels
I got a new server and managed to get the Apache,PHP & MySQL updated and configured

However for some reason I can't use file includes in my site coding

example. just including the date.php file into the index.php

http://www.illinoisconsultants.com/


Is there a particular PHP or Apache configuration I missed to allow this?

thanks for the help!
James Jhurani
set the values in your php.ini so you can use those particular functions.

allow_url_fopen = On
allow_url_include = On

...should do it
.
markcausa
James is the PHP pro! (He saved me last week via PM on a php.ini problem.)

Thanks man! biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.