LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-18-2012, 09:50 AM   #1
plisken
Member
 
Registered: Dec 2001
Location: Scotland
Distribution: Slackware 9.1-15 RH 6.2/7, RHEL 6.5 SuSE 8.2/11.1, Debian 10.5
Posts: 516

Rep: Reputation: 32
A little help upgrading php on slack 9.1


I'm looking for a little help guys, on my webserver, which is still running slack 9.1 I have:
apache 1.3.28
php 4.3.3

However I wish to use wordpress and this needs php 5.2.4

My current setup was stock from the slackware installation if I mid correctly, as in I would not have compiled from source either apache or php.

So, what are my options?

I've already tried to compile from source and get the following from:

./configure --with-mysql --with-apxs=/www/bin/apxs



checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for cc... cc
checking whether the C compiler works... no
configure: error: in `/root/php-5.4.0':
configure: error: C compiler cannot create executables
See `config.log' for more details.

I'm thinking I need a newer version of C to compile this, any thoughts?

I've compiled things on this old box a million times, where am I going wrong or is there indeed a better/easier way to move forward here?

Thanks in advance...
 
Old 03-18-2012, 08:00 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
See the PHP SlackBuilds on -Current or newer version than Slack 9.1
You can use that to build your own PHP package
 
  


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 Warning after upgrading from PHP 5.2.1 to 5.3.1 on CentOS rossie Linux - Newbie 4 12-20-2009 02:18 PM
upgrading from 2.4.31 to 2.6.20 on slack 10.2 sharathg786 Linux - Kernel 13 02-20-2007 10:41 AM
Upgrading to new pc with Slack linuxhippy Slackware 4 07-08-2006 12:22 PM
Upgrading to Slack 9.0 NSKL Slackware 3 02-02-2003 10:16 PM
upgrading slack syouth333 Slackware 5 06-20-2002 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:05 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