Re: PHP testing - problem with php libraries loading

2005-11-30 Thread Chris Shiflett
Filin A. wrote: But after I read your question I made an experiment whith my system httpd.conf and php.ini and checked phpinfo() output. I've set the extension_dir in php.ini to the wrong directory and assigned correct value in the httpd.conf. It's strange but though phpinfo() acknowledges my

Re: PHP testing - problem with php libraries loading

2005-11-28 Thread Geoffrey Young
Chris Shiflett wrote: Hi Filin, I've tride a lot of variants and I even think that IfModule @PHP_MODULE@ php_admin_value extension_dir /usr/lib/php4/ /IfModule _should_ work - but it doesn't! I don't know why :( (I tried both t/extra.conf.in and t/conf/extra.conf.in) The

Re: PHP testing - problem with php libraries loading

2005-11-27 Thread Chris Shiflett
Hi Filin, I've tride a lot of variants and I even think that IfModule @PHP_MODULE@ php_admin_value extension_dir /usr/lib/php4/ /IfModule _should_ work - but it doesn't! I don't know why :( (I tried both t/extra.conf.in and t/conf/extra.conf.in) The latter is the correct place. You might

Re: PHP testing - problem with php libraries loading

2005-11-25 Thread Filin A.
Hi. Sorry for not writing sooner and thanks for your quick responce. 1) Why it is necessary to have a special php.ini for testing? say you have code that works one system and doesn't work on another. the problem turns out to be that your php.ini file contains a crucial difference, but

PHP testing - problem with php libraries loading

2005-11-19 Thread Filin A.
Hi all. I'm trying to use Apache::Test module for testing my php driven site (Linux, Apache 2.0, PHP 4.3). Everything works pretty good, but when I try to test a php page which uses any of mysql functions - the test fails and the error_log contains these lines: ...

Re: PHP testing - problem with php libraries loading

2005-11-19 Thread Geoffrey Young
cc'ing chris :) I think a line in the t/conf/php.ini: extension_dir = ./ means that php seeks libraries in the current directory, while those libraries are in the /usr/lib/php4/. hmm, could be. chris would know better. Thereby I have 2 questions: 1) Why it is necessary to