Require_once problem

From: Date: Mon, 17 Oct 2011 13:33:27 +0000
Subject: Require_once problem
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-31265@lists.php.net to get a copy of this message
Hello my name is Paul Stevenson and I have just started to learn about the pear framework (sitepoint books), but I have had a problem with the installation, well I say problem it is working but not as I want it to. I have searched high and low for an answer and cannot get it anywhere but recently I bought another book on Pear hoping it would answer my question but still nothing. If I include the files of Pear library to my document_root (public_html) it works fine on the set paths. I wanted to create a subfolder in the root for a contact page using html_quickform, but I always get an include failure for the relative path. So my question is how can I configure Pear to work in all directories/folders so I can include the files upon request as I wish. The instalation is done through command terminal on centos 5...7 and all installations are correct. I have also used php to determin the path of my pear installation and have tried the include with that path but still no joy. heres the path: ..:/usr/lib/php:/usr/local/lib/php Please help I'm now on day 5 trying to get this to work and it is driving me insane. A big thank you, Paul Stevenson

« previous php.pear.general (#31265) next »