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
Solved

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

Posted on 2006-11-06
11
538 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

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 fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
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.

808 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