[PHP-DEV] PHP 4.0 Bug #2404: problems with include() and include_path From: sbernard <email protected>
Date: 09/29/99

From: sbernard <email protected>
Operating system: windows 98
PHP version: 4.0 Beta 2
PHP Bug Type: Reproduceable crash
Bug description: problems with include() and include_path

i cannot include a file from a folder defined in my include_path in php.ini. it works as is in php3. it is included without any problem if I mention a complete path in my include call.
I tried everything, with or without " or ' or nothing, with or without c: ...
I posted it in php3 list ... no answer.
Thanks if you can help.

My include call:
include("class.FastTemplate.php3"); line 7

The answer of the browser:
Warning: Failed opening 'class.FastTemplate.php3' for inclusion (include_path='.\;\apache1_3_9\php3_lib;\apache1_3_9\phplib7') in \apache1_3_9\htdocs//sb//essai1//ouvrages.phtml on line 7

Fatal error: Cannot instanciate non-existant class: fasttemplate in \apache1_3_9\htdocs//sb//essai1//ouvrages.phtml on line 8

My php.ini:
;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;
;include_path = ; UNIX: "/path1:/path2" Windows: "\path1;\path2"
;doc_root = ; the root of the php pages, used only if nonempty
include_path = ".\;\apache1_3_9\php3_lib;\apache1_3_9\phplib7"
doc_root = \apache1_3_9\htdocs
user_dir = ; the directory under which php opens the script using /~username, used only if nonempty
;upload_tmp_dir = ; temporary directory for HTTP uploaded files (will use system default if not specified)
upload_max_filesize = 2097152 ; 2 Meg default limit on file uploads
extension_dir = ./ ; directory in which the loadable extensions (modules) reside
extension = Modules\php_mysql.dll

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>