LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-03-2008, 11:22 AM   #1
ranjitcool
LQ Newbie
 
Registered: Dec 2006
Posts: 11

Rep: Reputation: 0
Red face server php issues


Hey Guys,

We have a red hat prod server and the admin had installed a latest version of php in /usr/local/apache/php/ .. (i am a newbie but the compliation path indicates this)

we have a dev server of the above prod server with the same settings and is a mirror.

Now when i put in php -i in the prod server i can the settings listed but then i type in the same php -i on dev server i can the settings in html format listed instead of the listed format as seen on the prod server.

why the difference. also on prod server a sample phpinfo() file out puts server complied on nov 25th 2008 but php -i says it complied on nov 10th 2007 !!

do u guys know whats going on?

please assist

thanks
rj
 
Old 12-03-2008, 01:38 PM   #2
sfjoe
Member
 
Registered: Jun 2007
Location: San Francisco
Distribution: Centos 4, Debian
Posts: 55

Rep: Reputation: 16
For a start, type `which php` and make sure that the php you're using is actually the correct one. You might also check the phpinfo and make sure you're using the correct php.ini file.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
php issues nathacof Programming 4 10-31-2006 06:47 AM
PHP-GD Issues rsvirani Programming 6 08-17-2006 05:59 PM
php issues rrlevron Linux - Newbie 1 02-17-2006 12:24 PM
php: different mail server from php.ini rayds Programming 0 09-14-2004 03:48 AM
php issues sheryco Linux - Software 4 03-30-2003 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration