PHP functions normally from the command line, but is missing features when running from Apache
Both tests use this code (hello_gd.php): <?php var_dump(gd_info()); ?> php ./hello_gd.php => Dumps the expected diagnostics out to the terminal. When I do this: firefox http://localhost/~dlmarti/hello_gd.php => I get a blank screen. The "/var/log/apache2/errorlog" shows this: [Sun Jan 20 16:34:47 2008] [error] [client XXX.XXX.XXX.XXX] PHP Fatal error: Call to undefined function gd_info() in /home/dlmarti/public_html/hello.php on line 2 I am running a fresh install of SUSE 10.3, with all the patches. Previously I was running SUSE 10.1, and I've compared the setup and I don't see any major differences. Anyone have any idea where to continue looking? Its like PHP can't find its libraries when running from Apache? -- David L. Martin <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
