Solved

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

Posted on 2006-11-06
11
544 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 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
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

 
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

WordPress Tutorial 1: Installation & Setup

WordPress is a very popular option for running your web site and can be used to get your content online quickly for the world to see. This guide will walk you through installing the WordPress server software and the initial setup process.

Question has a verified solution.

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

Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

630 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