Solved

how do i configure php so it can run alongside with apache and posgresql?

Posted on 2006-11-06
11
539 Views
Last Modified: 2013-12-06
same as question.
0
Comment
Question by:micromarch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 7

Expert Comment

by:jalilthe1
ID: 17886917
0
 
LVL 2

Author Comment

by:micromarch
ID: 17886921
i am using red hat linux. not windows.
0
 
LVL 7

Expert Comment

by:jalilthe1
ID: 17886982
Others Related PHP


http://email.about.com/cs/phpemailtips/qt/et022802.htm
PHP Coding Ground Free php scripts, mySQL, tutorials, Shared Codes ...
http://www.php-editors.com/links/
http://coding.phpground.net/article-topic-3.html
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 7

Expert Comment

by:jalilthe1
ID: 17887012
Try These links for Linux PHP installation and configuration

Apache 2 and PHP 5 (mod_php) on Linux
http://dan.drydog.com/apache2php.html
----------------------------------------------------------------------------------
PHP installation and PHP Configuration on redhad website
http://www.redhat.com/docs/manuals/database/RHDB-2.1-Manual/prog/c7773.html
-----------------------------------------------------------------------------------
Configure PHP on Linux Red Hat
http://webdesign.ittoolbox.com/groups/technical-functional/php-l/configure-php-on-linux-red-hat-federo-1219073
http://www.web-tech-india.com/articles/php/compiling_php_apache/


0
 
LVL 7

Accepted Solution

by:
jalilthe1 earned 500 total points
ID: 17887057
Articles and Tutorials - Apache, PHP, and PostgreSQL on RedHat Linux
http://www.weberdev.com/ViewArticle-98.html
0
 
LVL 2

Author Comment

by:micromarch
ID: 17887108
what do they mean by --with-pgsql=share
what does share signify?
0
 
LVL 6

Expert Comment

by:_iskywalker_
ID: 17887783
important is the apache configuration file, it must know that it must handle .php as php files.
It would be helpful if you name the php version and the apache version, and your linux installation, since most linux can do it automatically.
0
 
LVL 1

Expert Comment

by:aniesm
ID: 17893128
Probably xammp can resolve your problems.

http://www.apachefriends.org/en/xampp-windows.html
0
 
LVL 2

Author Comment

by:micromarch
ID: 17894601
ok. i compiled php with this option.
./configure --with-apxs=/usr/local/apache/bin/apxs --with-pgsql=/usr/local/pgsql/bin
it compiles fine but when i give the make command i get error 1
ext/pgsql/pgsql.lo file not recognized: file truncated
make ** [libphp4.la] error 1
0
 
LVL 2

Expert Comment

by:amitojduggal
ID: 17895233
hello micromarch,

I also had same problem with configuring php on apache with sql,
Its tedious to do,
then i found this sweet application, that do everything for u without any configuration needed,

Try this, download is about 17 Mb, and is a sure solution to your problems
http://www.wampserver.com/en/download.php

Just start all the services by rightclick on tray bar icon for wamp

Good Luck!!
I am sure you will get it right
Amitoj
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question