[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

php and postges in apache



I had this working a while ago, but it was the brute force method of recompiling
everything with support for everything else.  So can anyone tell me the easy way
to get the three working together without taking three days.

I have the following packages installed from the rh7.0 cd.

apache-1.3.12-25
php-4.0.1pl2-9
php-ldap-4.0.1pl2-9
php-pgsql-4.0.1pl2-9
php-mysql-4.0.1pl2-9
php-manual-4.0.1pl2-9
mod_php-4.0.1pl2-9
php-imap-4.0.1pl2-9
postgresql-7.0.2-17
postgresql-server-7.0.2-17

How do edit /etc/httpd/conf/httpd.conf to get a simple php command like:
  <?php echo "This is a test"; ?>
to print?

once httpd.conf is edited for this is there more to do to get the postgres
functions to work or will they work as long as the packages are installed?

I apoligize because I know similar questions have been asked before.  Please
forgive me for I have forgotten!

Dirk