Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2005 16:04:19 -0400
From:      "Jeffrey C. Webb" <webbj2@Scranton.edu>
To:        ports@FreeBSD.org
Subject:   php / pg question
Message-ID:  <f01baf0981.f0981f01ba@asteroid.scranton.edu>

next in thread | raw e-mail | index | archive | help
After reading around the net for 2 days I finally found your entry in the Porters Handbook that states "ask us questions if you have any trouble! Do not just beat your head against a wall!". OK, so it is too late for the beating my head part, but here goes.

Yes, I am new to FreeBSD. I have installed apache 2.0, php5.0 and PortgreSQL 8.0 using the following ports:
postgresql80-server
apache20
php5

I can run php script via the web, so I think that  php and apache are ok. Problem is, that I can not figure out how to get php configured to use postgresql. PHP does not know where any of the pg files are and either do I :o) ie. I put a reference to a php pg command in a script and php has no idea what it is for.
Am I supposed to run lang/php5-extensions?
Do I need to install databases/php5-pgsql?
Do I have to do it over? Any particular order?

Where can I find clear information about what is required for what when using ports? I am having a hard time finding relevant documentation.

Thanks for the help, my head is getting sore....

Jeff Webb
University of Scranton
webbj2@uofs.edu






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f01baf0981.f0981f01ba>