LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 08-28-2009, 10:07 AM   #1
hbbtstar
Member
 
Registered: Aug 2003
Posts: 74

Rep: Reputation: 15
weird PHP compile issue- module shows in "php -m" but not in phpinfo call


Hey all-

I have a really weird error that I was hoping someone might be able to help me resolve. My developers asked me to compile php 5.2.8 on their RHEL system, and so I did so happily- they required mysqli and gd support. I ran it with the configure switch "--with-mysqli" and "--with-gd" and it configured fine and make'd and make install'd fine. I ran "php -m", saw both mysqli and gd in the output, and went on my merry way.

The developers just called me complaining that it does not appear in phpinfo(); when they run it. gd, however, does appear in phpinfo() so I don't really know how to resolve this. Thanks in advance for any input!
 
Old 08-28-2009, 03:14 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,909

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
What is that it doesn't show in phpinfo()?
If it's mysqli, you have to use "--with-mysqli=/path/to/mysql_config" pointing to mysql_config binary.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Urgent PHP problem with "undefined function: domxml_open_mem()"! Recomplie php? Oskare100 Linux - Server 0 12-27-2006 12:28 PM
I need help on this PHP error -- "Call to undefined function: mysql_connect()" yzh999 Linux - Software 1 08-12-2006 03:14 AM
PHP header("Location: xxx.php") not working? baddah Programming 7 05-10-2006 09:00 AM
PHP / VideoLAN / Fedora Core Question - how can I get the PHP "exec" function to work gtrawoger Linux - Software 3 12-21-2005 06:51 AM
NVidia GeForce 4 on Mandrake 10.1 shows "Generic" module... SAFX Mandriva 12 10-16-2004 12:36 PM


All times are GMT -5. The time now is 03:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration