Pretokenized files
| From: | Ermelindo Mauriello | Date: | Tue, 27 Jun 2000 11:00:56 +0000 |
| Subject: | Pretokenized files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-3307@lists.php.net to get a copy of this message | ||
I've compiled PHP3-0-12 as built-in apache module, then I've compiled
a CGI version.
Using the CGI version I've pretokenized all my PHP3 files (php -p
filename)
and obtained PHP3P files.
Then I've added the line:
AddType application/x-httpd-php3-preprocessed .php3p
in httpd.conf to make the built-in module parse the pretokenized files.
All works fine ... but I've a strange problem with include and require:
require doesn't work at all.
include "filename.php3p" works but doesn't parse the php3p file, it
include the
binary file in the HTML page
include "filename.php3" works but the file to be included must not be
pretokenized.
Is it right or there is a configuration error ?
Thanks.
--
E.Mauriello <inmaer@inteltec.it>
Network Engineer
In.Tel.Tec. SpA
Networked Applications Division
Salita Scudillo, 20
80131 Napoli (Italia)
Tel.+39081-5921418
Fax +39081-5922026