Hi everyone, I think im still recovering from my upgrade from etch to lenny. I have two gallery2 installs and both fail to work.
Both sites output "Error" to the browser.
If I run them from the shell like so:
Quote:# php5-cgi -f main.php
...
outputs correct html!
however, it fails if i do this:
Quote:# php4 -f main.php
PHP Warning: mime_magic: type search/400 \\input text/x-tex invalid in Unknown on line 0
PHP Warning: mime_magic: type search/400 \\section text/x-tex invalid in Unknown on line 0
PHP Warning: mime_magic: type search/400 \\setlength text/x-tex invalid in Unknown on line 0
PHP Warning: mime_magic: type search/400 \\documentstyle text/x-tex invalid in Unknown on line 0
PHP Warning: mime_magic: type search/400 \\chapter text/x-tex invalid in Unknown on line 0
PHP Warning: mime_magic: type search/400 \\documentclass text/x-tex invalid in Unknown on line 0
PHP Warning: mime_magic: type regex [Cc]onstant[[:space:]]+[Ss]tory text/x-inform invalid in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/20050606+lfs/mysql.so' - /usr/lib/php4/20050606+lfs/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
I am guessing that apache for the gallery folder is trying to use php4 and the mysql extension is no longer found.
I am wondering if it is possible to have the whole system just use php5, rather than having both php4 and php5. Some how i think my system is confused with which php version to use.
Any ideas? Thanks!
James