php / pg question

Jeffrey C. Webb webbj2 at Scranton.edu
Wed Jul 20 20:04:25 GMT 2005


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 at uofs.edu





More information about the freebsd-ports mailing list