LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-23-2006, 08:47 AM   #1
1kyle
Member
 
Registered: Feb 2004
Location: 'Ol Blighty
Distribution: SLED 10, SUSE 10.3
Posts: 722

Rep: Reputation: 32
Php5 and SUSE 10.0


Trying to update to php5 with SUSE 10.0

I've updated MySQL to 5.0 and apache to 2.0 but would now like to install the latest version of php.

What "extension" modules do I need - I'm confused here --been reading the manuals and getting more confused by the minute.

I essentially just want to run MySql via a L.A.M.P type server. I mainly want Php to create MySQL queries which will retrieve essentially simple data from the MySQL database system. No really complicated stuff here.

I don't need a whole slew of "specialized" functions.

I'd also like to install MyPhpAdmin as well.

If I compile this stuff from scratch is there any reasonable documentation on what I actually need (from the PHP side).

(Dare I say it but this was a Breeze to install on Windows - perhaps I should just use the same extension modules as I used for Windows (the Linux equivalents of course).

Thanks.

-K
 
Old 04-25-2006, 01:12 AM   #2
JrLz
Member
 
Registered: Mar 2004
Location: Jakarta
Posts: 164

Rep: Reputation: 30
I once had this problem,and looked a lot at mysql,php sites
I'd suggest building those things from scratch/source.

php5 doesn't bundle mysql stuffs anymore,so you need those things in your own system
you need to build php5 with --with-mysql option (when configuring)
and as my experience,you need to install the mysql-devel package to build php
with --with-mysql option(you don't get it in the suse10 CD/DVD free download version)
you need to get it in the suse mirrors

something like this, building php.with apache2 and mysql
Code:
cd /path/to/php5sourcedir
./configure --with-apxs2=/path/to/apache/bin/apxs --with-mysql
take a look at configure options, ./configure --help
 
  


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
Need Some Help With PHP5 mtndew Linux - Software 3 01-30-2006 10:07 PM
Suse 9.3 vs PHP5 vs GD vs gdImageCreateFromGif stefanlasiewski SUSE / openSUSE 0 01-24-2006 08:27 PM
Php5 Thanotos Linux - Newbie 2 12-07-2005 10:39 AM
replacing PHP4 with PHP5 in SuSE 9.2? paganprogrammer Linux - Software 3 07-03-2005 01:25 AM
PHP5 for Suse 9.1? gordingin Linux - Software 0 10-20-2004 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:11 AM.

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