[gentoo-user] apache2+php

2006-09-15 Thread Martins Steinbergs
Hi,

I'm trying to setup sql-ledger but i'm struck at apache, it gives 500 error to 
browser. Logs shows this:


 Warning:  PHP Startup: Unable to load dynamic 
library '/usr/lib64/php5/lib/php/extensions/no-debug-non-zts-20050922/pdo.so' - 
/usr/lib64/php5/lib/php/extensions/no-debug-non-zts-20050922/pdo.so: 
cannot open shared object file: No such file or directory in Unknown on line 
0

 Warning:  Cannot load module 'pdo_pgsql' because required module 'pdo' is not 
loaded in Unknown on line 0

 Warning:  Cannot load module 'pdo_mysql' because required module 'pdo' is not 
loaded in Unknown on line 0


I cant figure out what to do, is it bug or just me.

martins

-- 
Linux 2.6.17-gentoo-r8 AMD Athlon(tm) 64 Processor 3200+
 11:51:19 up 13:00,  5 users,  load average: 0.15, 0.21, 0.18
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] apache2+php

2006-09-15 Thread Alexander Kirillov
 Warning:  Cannot load module 'pdo_pgsql' because required module 'pdo' is not 
loaded in Unknown on line 0


I'm not using pdo, but do you have dev-php5/pecl-pdo installed?
Should be pulled in as a dependency of dev-php5/pecl-pdo-pgsql.
You may also try to rebuild pecl-pdo with postgres flag.
Do you sometimes emerge --update --newuse --deep world?
HTH,
Sasha

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] apache2+php

2006-09-15 Thread Martins Steinbergs
On Friday 15 September 2006 12:23, Alexander Kirillov wrote:
 I'm not using pdo, but do you have dev-php5/pecl-pdo installed?
 Should be pulled in as a dependency of dev-php5/pecl-pdo-pgsql.
 You may also try to rebuild pecl-pdo with postgres flag.
 Do you sometimes emerge --update --newuse --deep world?
 HTH,
 Sasha


thank you, your advice helped.

now turns out actual problem is here:

Can't locate bin/mozilla/admin.pl in @INC (@INC 
contains: /home/httpd/perl /etc/perl 
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux 
/usr/lib64/perl5/vendor_perl/5.8.8 
/usr/lib64/perl5/vendor_perl/5.8.7/x86_64-linux 
/usr/lib64/perl5/vendor_perl/5.8.7 /usr/lib64/perl5/vendor_perl 
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux /usr/lib64/perl5/site_perl/5.8.8 
/usr/lib64/perl5/site_perl/5.8.7/x86_64-linux /usr/lib64/perl5/site_perl/5.8.7 
/usr/lib64/perl5/site_perl /usr/lib64/perl5/5.8.8/x86_64-linux 
/usr/lib64/perl5/5.8.8 /usr/local/lib/site_perl . /usr/lib64/apache2) 
at /var/www/localhost/htdocs/sql-ledger/admin.pl line 120.\n

-- 
Linux 2.6.17-gentoo-r8 AMD Athlon(tm) 64 Processor 3200+
 12:42:41 up 13:52,  5 users,  load average: 0.13, 0.33, 0.29
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Apache2 + PHP

2005-04-29 Thread William Meertens
Hi all,

For some time now I'm struggling with Apache and PHP. After an upgrade from 
Apache, the one that changed all the locations of the config-files, I can't get 
PHP to work.

My first problem was that with every .php file I got the download request. I 
already did and tried so many that I'm now stuck on this one.

Apache2 has detected a syntax error in your configuration files:
Syntax error on line 6 of /usr/lib/apache2/conf/modules.d/70_mod_php5.conf:
Cannot load /usr/lib/apache2/modules/libphp5.so into server: 
/usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such 
file or directory

When looking at that directory and file I see that the file does not exist, but 
70_mod_php4.conf does. Strange thing about it is, I can't remember to have 
emerged php4. Only every existing version of php5.

When doing an etcat I get this :

[ Results for search key   : php ]
[ Candidate applications found :  12 ]

 Only printing found installed programs.

*  dev-php/php :
[   ] 4.3.8 (0)
[ ~ ] 4.3.9_rc1 (0)
[   ] 4.3.9 (0)
[   ] 4.3.10 (0)
[   ] 4.3.11 (0)
[M  ] 5.0.0 (0)
[ ~ ] 5.0.0-r1 (0)
[ ~ ] 5.0.1 (0)
[ ~ ] 5.0.2 (0)
[ ~ ] 5.0.2-r1 (0)
[ ~ ] 5.0.3 (0)
[  I] 5.0.3-r1 (0)

Where to go from here. Any help would be very welcome and appreciated.

Thanks in advance,
William.

-- 
   \|/  \|/_ _ `  _  '
    @~/ ,. \~@   o' \,=./ `o  -  (_)  -
(o -)  /_( \__/ )_\ (o o)   '   `
+---ooO--(_)--Ooo-\__U_/ooO--(_)--Ooo--+
http://www.meewi.be   SMILE
http://www.ladiescycling.net   it cost nothing and
http://www.domainslc.net   it's beyond price !



pgpBMVgGGiZxs.pgp
Description: PGP signature