Solved

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

Posted on 2006-11-06
11
536 Views
Last Modified: 2013-12-06
same as question.
0
Comment
Question by:micromarch
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
 
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

864 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now