🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.pl.comp.os.linux.debian
1 messages
1 total messages Started by Łukasz Szmit Fri, 12 Oct 2001 09:01
PHP nadal nie działa... ale...
#406
Author: Łukasz Szmit
Date: Fri, 12 Oct 2001 09:01
63 lines
3113 bytes
Witam,

aktualna konfiguracja (Debian Potato):

apache-common  1.3.9-13.2
apache-ssl          1.3.9.13-2
libssl09               0.9.6a-3
openssl               0.9.6a-3
php4                  4.0.3pl1
libpgsql2             6.5.3-26
postgresql           6.5.3-26
postgresql-client  6.5.3-26

Całość instalowana z paczek *.deb w dystrybucji stabilnej.

Apache działa.
Postgres działa (z konsoli bez problemu).
PHP działa ale...

<?php

    $con = pg_connect("dbname=moja_baza")
    if $con {
        bla..bla..bla
    }

?>

Kończy się wkurzającym: Fatal error: Call to undefined function:
pg_connect() in test.php on line 3

phpinfo() zwraca:

PHP Version 4.0.3pl1

Configure Command '../configure' '--prefix=/usr' '--with-apxs=/usr/bin/apxs'
'--with-regex=system' '--with-config-file-path=/etc/php4/apache'
'--enable-calendar' '--with-db' '--without-dom' '--enable-filepro'
'--enable-ftp' '--with-gettext' '--enable-sysvsem' '--enable-sysvshm'
'--enable-track-vars' '--enable-trans-sid' '--disable-debug'
'--disable-static' '--with-gd=shared' '--with-imap=shared'
'--with-ldap=shared,/usr' '--with-mm' '--with-mhash=shared'
'--with-mysql=shared,/usr' '--with-regex=system' '--with-pcre-regex=/usr'
'--with-pgsql=shared,/usr' '--with-snmp=shared' '--enable-sockets'
'--with-ttf' '--enable-freetype-4bit-antialias-hack' '--with-t1lib'
'--with-xml=shared,/usr' '--with-yp' '--with-zlib


'--with-pgsql=shared,/usr'  ---> wskazuje, że postgres jest wkompilowany.
Ale PHP "nie kumajet".

No i co tym razem go boli?
Ja rozumiem, że boje z kompilacją własnych paczek są czasami bolesne ;-))
Dlatego w końcu wziąłem to co debian uznaje za "stabilne"... no i klops.

Czy kolejność instalowania paczek ma znaczenie?
Ja robiłem tak: openssl, postgres, apache, php

To już chyba mój ostatni akt desperacji w tej kwestii (stąd ten crosspost).
Co najdziwniejsze... cały ten zestaw pod Windows'ami śmiga aż dym z kabli
leci... ale ja chce to mieć na ziemniaku, bo się uparłem :-D
--
Ptashek
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads