ID: 34047 Comment by: neo at clover dot co dot za Reported By: calvinscy at hotmail dot com Status: No Feedback Bug Type: Compile Failure Operating System: Solaris 8 PHP Version: 5.0.4 New Comment:
OK. With Apache 2.0.58 it compiled both Apache and PHP without any errors, as before. But this time the libphp5.so seems to be loaded just fine. "Apache/2.0.58 (Unix) PHP/5.1.4 Server at localhost Port 80" The issue that I have now is that the .php pages are not parsed, the source is just displayed in plane text ...? The other funny thing that I picked up, the requests to any of the pages hosted by Apache are not reflected in the access_log ...? Previous Comments: ------------------------------------------------------------------------ [2006-07-21 12:50:20] neo at clover dot co dot za I've got a similar problem with Apache 2.2.2 and PHP 5.1.4. Compiling of Apache and PHP goes through smooth. On their own Apache and PHP work perfect (without the libphp5.so declared in httpd.conf). Once I try to load PHP module in Apache I get 'libphp5.so is garbled' message, although Apache still starts. This is running on SLED 10. Apache 2.0.58 with PHP 5.1.4 worked fine on SUSE 9.3. So busy downloading Apache 2.0.58 ... ------------------------------------------------------------------------ [2006-05-25 11:18:30] smirko at poczta dot onet dot pl I'm pleased to say - it was rather an Apache issue than that of PHP. I've just installed Apache 2.2.2 and voila. Works like a charm! No garbled libphp... ------------------------------------------------------------------------ [2006-05-25 10:13:10] smirko at poczta dot onet dot pl Just compiled PHP-5.1.4. Same issue - Apache not starting with message "libphp5.so is garbled". Hope it's resolved soon... ------------------------------------------------------------------------ [2006-05-10 06:44:45] info at urs-martini dot de I have apache2.2.2 on my debian box and tried to install php5 (5.1.2 and 5.1.4 don't work!). Compiling is without problems but apache does not start anymore: httpd: Syntax error on line 128 of /usr/local/apache2/conf/httpd.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: API module structure `php5_module' in file /usr/local/apache2/modules/libphp5.so is garbled - perhaps this is not an Apache module DSO? I did not find anything helpful on the net... ------------------------------------------------------------------------ [2005-12-31 05:38:10] ian at manageads dot com httpd-2.2.0 MySQL-5.0.18-0 PHP-5.1.1 Same stinking message! httpd failed. The error was: Starting httpd: Syntax error on line 33 of /etc/httpd/conf/httpd.conf: API module structure `php5_module' in file /usr/local/apache2/modules/libphp5.so is garbled - perhaps this is not an Apache module DSO? [FAILED] ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/34047 -- Edit this bug report at http://bugs.php.net/?id=34047&edit=1