GIDForums  

Go Back   GIDForums > Computer Forums > Computer Software Forum - Linux
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 12-Jul-2003, 09:15
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
Question

[Linux] - Installing PHP 4.3.2


I have just compiled and installed PHP v.4.3.2 on Apache 2 (Linux RedHat 9). I have also set up MySQL v.4.0.13.

Now when I configure PHP, I used this:
Code:
./configure --with-mysql --with-apxs2=/usr/local/apache/bin/apxs

Everything worked fine but I found on PHPINFO; under MySQL:
Code:
Client API version 3.23.49 MYSQL_MODULE_TYPE builtin

I don't think that's exactly right so I am hoping someone here has an idea what I should change?
  #2  
Old 14-Jul-2003, 05:50
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough

MySQL Client API 4.0.13 installed!


It just took me the whole weekend to figure it out but I finally did it....

Now I have this in my phpinfo() (Linux RedHat 9):

MySQL
Code:
Client API version 4.0.13 MYSQL_MODULE_TYPE external MYSQL_SOCKET /var/lib/mysql/mysql.sock

You just need to install the following MySQL rpms:
Code:
$ rpm -i MySQL-server* MySQL-client* MySQL-shared-compat* MySQL-devel*

I missed the devel install in my earlier attempts!

Then when compiling PHP, just configure with:
Code:
$ ./configure --with-mysql=/usr \ ...
 
 

Recent GIDBlogMore photos on Flickr by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Optimizing your web server with Turck MMCache for PHP JdS Web Hosting Forum 2 07-Jan-2004 07:48
apache2 - php cgi fehler - schleife inna Apache Web Server Forum 8 27-Nov-2003 09:55
Automate a data change php form mjfmn MySQL / PHP Forum 4 20-Oct-2003 09:37
[Linux] Installing PHP --with-mcrypt JdS Web Hosting Forum 0 20-Aug-2003 08:40
All the big PHP script collections that matter jrobbio MySQL / PHP Forum 5 06-Jun-2003 16:14

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:08.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.