Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 4th, 2007, 01:52 AM
Registered User
 
Join Date: Nov 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to NoPantsJim
Default Severe beginner question, can't install PHP

I'm running Ubuntu 7.10 with the latest version of Apache. I'm using the Wrox book Beginning PHP5.

When I try to install PHP, I'm using the following commands as described in the book:

~$ tar -xvzf '/home/nopantsjim/Desktop/php-5.2.4.tar.gz'
~$ cd php-5.2.4
~/php-5.2.4$ ./configure --with-mysql --with-apxs2

which gives me the following result:

creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

I have the latest version of gcc installed, so I'm not sure what the problem is there. According to what I've just read, Cygwin is a windows program that emulates a Linux environment, so I'm not sure why I would need that. I also have mingw32 installed so I don't know why it says I don't

Help?

 
Old November 15th, 2007, 02:03 AM
Registered User
 
Join Date: Nov 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try to install php using
sudo apt-get install php5








Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginner in PHP vinu123 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 April 18th, 2007 09:23 AM
PHP Beginner Adam H-W PHP How-To 3 August 29th, 2006 11:24 PM
Beginner Question dkr72 Excel VBA 1 January 18th, 2005 09:37 AM
beginner question saudyonline General .NET 2 September 21st, 2004 01:56 AM
Stupid Question from a BEGINNER Shappy Access VBA 1 May 11th, 2004 03:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.