From: <no...@so...> - 2002-11-16 00:28:41
|
Bugs item #639178, was opened at 2002-11-15 18:28 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=639178&group_id=8956 Category: Admin Group: v1.5 Status: Open Resolution: None Priority: 5 Submitted By: James P. Dugal (jpd2) Assigned to: Nobody/Anonymous (nobody) Summary: Solaris 8 gettext test problem Initial Comment: I just installed phpESP v1.5 under Apache 2.0.43, PHP 4.2.3 and I invoke manage.php ... I get nothing but a browser error message about no data being sent. I did some exploring and found that the test in phpESP.ini for the gettext module being loaded or available, is causing the problem here. I did not install GNU gettext when I built PHP. Apparently an error occurs when the .ini code attempts to @dl( 'gettext.so') ... and never returns to take alternative action. My work-around was to not attempt to load gettext.so when PHP_OS reported SunOS. So I have this code change: 148c148 < if (!ini_get('safe_mode')) { --- > if (!ini_get('safe_mode') && (substr(PHP_OS, 0, 3) != 'Sun')) { which results in an English-only environment, which is acceptable. When I run your status.php script, I got: php version: 4.2.3 cwd: /web/docs/InfoTech/UCSS/phpESP-1.5/admin register_globals: off magic_quotes_gpc: off magic_quotes_runtime: off safe_mode: off open_basedir: mysql: loaded gettext: not loaded ... trying to load Regards. -- James Dugal jp...@lo... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=639178&group_id=8956 |