Path configuration
| From: | Alejandro Crosa | Date: | Sat, 22 Oct 2011 16:06:29 +0000 |
| Subject: | Path configuration | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-31286@lists.php.net to get a copy of this message | ||
Hello...all
I followed the steps for configurate PEAR to remote host from
http://pear.php.net/manual/en/installation.shared.php
Now I want to use the PEAR package Image_Barcode by using this
ini_set(
"include_path", (
"/pear/" .
PATH_SEPERATOR .
ini_get("include_path")
)
);
header ("Content-type: Image/png");
require_once 'Image/Barcode.php';
$img=@Image_Barcode::draw($string, "code128", "png",false);
imagepng($img,$archbar);
imagedestroy($img);
.
.
.
.
but the web site can not show the page (HTTP 500)
This tools are ok?
I believe that the problem is in the include_path setting ...
how should set the include_path here?
Thanks
Alejandro