[PHP] ODBC in PHP4.3.4 crashes when used with Mysql 4

2004-01-14 Thread Nico Sabbi
Hi, I have Mysql-4.0-14, MyODBC 3.51.06 and unixODBC 2.2.0. They are working perfectly together (isql works correctly) but php-4.3.x always crashes when I try odbc_connect() on the same DSN I use with isql (env vars are correctly set). Is this a known bug? This is a bt of a simplified example th

[PHP] Shared mod_php doesn't always load php.ini

2004-01-23 Thread Nico Sabbi
Hi, I noticed that often mod_php loaded as a shared library by apache doesn't load php.ini, and I have to restart apache to make it work. Apache version is 1.3.28 and Php is 4.3.4, all compiled by me. They are running on an updated RedHat 7.3. Is it a known (and solved) problem? Thanks.

[PHP] safe_mode and inclusion of files don't work as documented

2009-08-28 Thread Nico Sabbi
Hi, I'm testing one of my sites in safe_mode, but I'm experiencing some strangeness that is not documented. The settings are: in php.ini: include_path = ".:/server/home/apache/php4/:/var/php/5.2/pear/:/usr/php/lib/ezcomponents-2008.2.2/" in the virtualhost config: php_admin_value safe_mod

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-28 Thread Nico Sabbi
hack988 hack988 ha scritto: > add this > php_admin_value open_basedir > > done, but it doesn't make a difference: php_admin_value open_basedir "/server/home/nsabbi:/server/home/apache/php4:.:.." *Fatal error*: require_once() [function.require ]: Failed ope

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-31 Thread Nico Sabbi
Lars Torben Wilson ha scritto: > Hi Nico, > > First the obligatory "safe_mode is deprecated and not recommended" > speech. . .but I guess you've already seen that in the docs and > decided to use it anyway. > I read it, but I don't know if I have to interpret it as "php6 wil only work in safe m

Re: [PHP] safe_mode and inclusion of files don't work as documented

2009-08-31 Thread Nico Sabbi
Lars Torben Wilson ha scritto: > 2009/8/28 Nico Sabbi : > >> Hi, >> I'm testing one of my sites in safe_mode, but I'm experiencing some >> strangeness that is not documented. >> >> The settings are: >> in php.ini: >> include_path = >&

[PHP] How to force mod_php to load php.ini ?

2004-06-25 Thread Nico Sabbi
, so I have to execute /etc/init.d/httpd restart Thanks, Nico Sabbi - Officine Digitali - Bologna Tel. 051 - 4187565 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php