Re: Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1
От | chris smith |
---|---|
Тема | Re: Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1 |
Дата | |
Msg-id | 3c1395330603042225x54336003rded9dce3d74df80c@mail.gmail.com обсуждение исходный текст |
Ответ на | Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1 (Stuart <sfbarbee@yahoo.com>) |
Ответы |
Re: Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1
Re: SOLVED Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1 |
Список | pgsql-php |
On 3/5/06, Stuart <sfbarbee@yahoo.com> wrote: > Folks, > > I recently upgraded to Apache 2.2 w/ PHP 5.1.2 to connect to my PostGreSQL > 8.1 databases on a SuSE 10.0 system. I used the rpm's provided by SuSE to > install the Apache and PHP packages . Apache works fine and phpinfo() shows > all the normal info except the section on additional modules is empty. I am > not sure if this is normal. > > I get the following error and cannot figure out why pgsql module is not > loading. > > PHP Fatal error: Call to undefined function pg_connect() That means php doesn't know what pg_connect is. See if you need to install a php-pgsql rpm, then restart apache (it should show "postgresql" in the phpinfo page now). -- Postgresql & php tutorials http://www.designmagick.com/
В списке pgsql-php по дате отправления: