Re: [SLE] SOLVED Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1
- From: Stuart <sfbarbee@xxxxxxxxx>
- Date: Tue, 7 Mar 2006 14:54:53 -0500
Folks,
After looking through the log files, I found that Novell's Apparmor (using
the SubDomain package) was rejecting Apache's requests to access the
directory where php stores its shared modules. These errors showed up
in /var/log/messages, but not in the php or apache log.
kernel: SubDomain: REJECTING r access to /etc/php5/conf.d
(httpd2-prefork(7576) profile /usr/sbin/httpd2-prefork
active /usr/sbin/httpd2-prefork)
...
kernel: SubDomain: REJECTING r access to /usr/lib64/php5/extensions/pgsql.so
(httpd2-prefork(10857) profile /usr/sbin/httpd2-prefork
active /usr/sbin/httpd2-prefork)
...
kernel: SubDomain: REJECTING w access to /tmp/.s.PGSQL.5432
(httpd2-prefork(11309) profile /usr/sbin/httpd2-prefork
active /usr/sbin/httpd2-prefork)
Once I authorized the application to access those directories and files, all
worked well.
Thanks for the help,
Stuart
SOLVED On Saturday 04 March 2006 20:35, Carl Hartung wrote:
On Saturday 04 March 2006 20:22, Stuart wrote:
Can anyone help with this?
Hi Stuart,
A brief visit to Google leads me to believe that PostGreSQL support isn't
enabled in your setup.
It seems the most common response to 'What does "PHP Fatal error: Call to
undefined function pg_connect()" mean?" is "It means your PHP doesn't have
PostgreSQL support."
Between that and the missing modules section, I'd say you're not done
installing ;-)
regards,
Carl
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
- References:
- [SLE] Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1
- From: Stuart
- Re: [SLE] Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1
- From: Carl Hartung
- [SLE] Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1
- Prev by Date: [SLE] Samba in 10.0
- Next by Date: Re: [SLE] Samba in 10.0
- Previous by thread: Re: [SLE] Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1
- Next by thread: Re: [SLE] Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1
- Index(es):
Relevant Pages
|