View previous topic :: View next topic |
Author |
Message |
gmtl3 Tux's lil' helper
Joined: 03 Jan 2004 Posts: 135
|
Posted: Mon Jul 11, 2005 3:23 am Post subject: squirrelmail stopped working [SOLVED] |
|
|
Recently my squirrelmail setup just quit working. Actually, I'm pretty sure it's a PHP problem, as I have a little php file called hello.php that looks like this: Code: | <html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html> |
... and it doesn't work either. Perhaps I need to change a config file to get more information, but all I find of interest in log files is this after I restart apache: Code: | PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/extensions/no-debug-zts-20020429/java.so' - /usr/lib/php/extensions/no-debug-zts-20020429/java.so: cannot open shared object file: No such file or directory in Unknown on line 0 |
Where should I look next?
Thanks,
Last edited by gmtl3 on Fri Jul 15, 2005 10:54 pm; edited 1 time in total |
|
Back to top |
|
|
Praxxus Apprentice
Joined: 26 Nov 2002 Posts: 193 Location: Indiana, US
|
Posted: Mon Jul 11, 2005 12:03 pm Post subject: |
|
|
Do you need java support in your PHP?
I have all kinds of problems compiling PHP with java support, especially on Opteron systems. I would recommend: Code: | USE="-java" emerge mod_php | and see if that helps. If it does, and you decide you can live with out java-fied PHP, don't forget to update your /etc/portage/package.use file! _________________ My glaucoma just got worse! |
|
Back to top |
|
|
gmtl3 Tux's lil' helper
Joined: 03 Jan 2004 Posts: 135
|
Posted: Mon Jul 11, 2005 11:59 pm Post subject: |
|
|
Great question! I was thinking about that at work today and had to chuckle. A lot of Free Software purists out there can't stand Java and it's non "free" licensing, so I'm somewhat surprised that anyone put java support in php.
I'll recompile php without java support, and see if the problem goes away. |
|
Back to top |
|
|
gmtl3 Tux's lil' helper
Joined: 03 Jan 2004 Posts: 135
|
Posted: Wed Jul 13, 2005 2:51 am Post subject: |
|
|
So, just to confirm: Code: | emerge -pv php mod_php
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] dev-php/php-4.3.11 +X +berkdb +crypt +curl -debug -doc -fdftk -firebird -flash -freetds -gd -gd-external +gdbm -gmp +hardenedphp +imap -informix +ipv6 -java +jpeg +kerberos -ldap -mcal -memlimit -mssql -mysql +ncurses +nls -oci8 -odbc +pam +png -postgres +readline -snmp +spell +ssl +tiff +truetype +xml2 -yaz 0 kB
[ebuild R ] dev-php/mod_php-4.3.11 +X +apache2 +berkdb +crypt +curl -debug -doc -fdftk -firebird -flash -freetds -gd -gd-external +gdbm -gmp +hardenedphp +imap -informix +ipv6 -java +jpeg +kerberos -ldap -mcal -memlimit -mssql -mysql +nls -oci8 -odbc +pam +png -postgres -snmp +spell +ssl +tiff +truetype +xml2 -yaz 0 kB
Total size of downloads: 0 kB
| That is a "-java" right?
Recompiling didn't seem to help (although I'm in the midst of a revdep-rebuild, so that may help). I still get that java.so error I mentioned in my first post. Now I'm also getting this, which I think is new: Code: | inked list canary was overwritten (attacker '192.168.73.1', file '/var/www/localhost/htdocs/hello.php')
[client 192.168.73.1] ALERT - linked list canary was overwritten (attacker '192.168.73.1', file '/var/www/localhost/htdocs/hello.php')
[client 192.168.73.1] ALERT - linked list canary was overwritten (attacker '192.168.73.1', file '/var/www/localhost/htdocs/hello.php')
|
I do have hardened and hardenedphp in my USE variable. Could that be the problem? I had to turn these variables off on another system to get mythweb to work. |
|
Back to top |
|
|
gmtl3 Tux's lil' helper
Joined: 03 Jan 2004 Posts: 135
|
Posted: Wed Jul 13, 2005 4:53 pm Post subject: |
|
|
Looks like I'm possibly being affected by this bug https://bugs.gentoo.org/show_bug.cgi?id=92724
I see 4.4.0 is available today for php and mod_php, so I'll see if that helps. Otherwise, I'll be forced to remove hardenedphp from my USE variable. |
|
Back to top |
|
|
gmtl3 Tux's lil' helper
Joined: 03 Jan 2004 Posts: 135
|
Posted: Fri Jul 15, 2005 10:53 pm Post subject: |
|
|
well, I had to remove hardenedphp from my USE variable. Seems nothing I want to use will work with that anymore. Not sure whether it's PHP's fault, or the aplications using PHP, but I sure wished I could get php app's that would run securely. |
|
Back to top |
|
|
|