PHP extension and the open file

From: Date: Sun, 03 Jun 2007 18:25:33 +0000
Subject: PHP extension and the open file
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-4696@lists.php.net to get a copy of this message
Hi, I've coded an extension for php in C. It's based on an other project called "redtemplate" write in C too. Redtemplate is a template system likes clearsilver. In my extension, there are the function rd_display($file) which call redtemplate_parse() which open the $file with open or fopen (lex/yacc do this job). My problem is that extension doesn't work in browser. I mean, in console, "php index.php" work but in browser, on the same php file, i have this message : Fatal error: File 'themes/lanteam/main.html' not found ! ... I think the problem is where php is executed in apache. What do i do to solve this problem ? homer242.

« previous php.pecl.dev (#4696) next »