Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
squirrelmail stopped working [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
gmtl3
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jan 2004
Posts: 135

PostPosted: Mon Jul 11, 2005 3:23 am    Post subject: squirrelmail stopped working [SOLVED] Reply with quote

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
View user's profile Send private message
Praxxus
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 193
Location: Indiana, US

PostPosted: Mon Jul 11, 2005 12:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
gmtl3
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jan 2004
Posts: 135

PostPosted: Mon Jul 11, 2005 11:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
gmtl3
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jan 2004
Posts: 135

PostPosted: Wed Jul 13, 2005 2:51 am    Post subject: Reply with quote

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
View user's profile Send private message
gmtl3
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jan 2004
Posts: 135

PostPosted: Wed Jul 13, 2005 4:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
gmtl3
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jan 2004
Posts: 135

PostPosted: Fri Jul 15, 2005 10:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum