Apache, PHP, & MySQL

Apache, PHP, & MySQL

Post by Israel Alvarez - is at isaka dot n » Tue, 11 Apr 2000 04:00:00



I want to have LinuxPPC on my Lombard mirror my FreeBSD web installation
so that I can develop on the road. I installed LinuxPPC 2k, and got up and
running fine. Now I want to install Apache, MySQL, and PHP.

Currently, I have Apache running with PHP  support. However, I didn't see
an rpm of PHP with MySQL and/or ODBC support enabled. When I do a
phpinfo(), I can see that the install of PHP doesn't support either MySQL
or ODBC. I've downloaded the tarballs of Apache and PHP, but neither will
compile - they die on config while looking for a compiler in my path.

Any ideas on how to accomplish this? Does LinuxPPC not support/install
gcc? Alternately, how can I create my own configs for Apache and PHP so
that I can set the options I need at compile time?

Thanks in advance,

--
Israel Alvarez - Propellerhead Without Portfolio
is at isaka dot net - The amazingly heavy lifeless dog
"The crimes of eBay are a disgrace to its Pig Latin heritage."   - TheOnion.com

 
 
 

Apache, PHP, & MySQL

Post by Sander Temm » Wed, 12 Apr 2000 04:00:00




That's funny: exactly my situation at one point.

Quote:> Any ideas on how to accomplish this? Does LinuxPPC not support/install
> gcc? Alternately, how can I create my own configs for Apache and PHP so
> that I can set the options I need at compile time?

You probably installed from the downloadable image. I did that too at
first, and it doesn't contain any of the development goodies. There are
two ways to solve this problem:

1) use the install CD from linuxppc.com wich does have all the good stuff
2) run xinstaller (as root) and choose ftp install. Tune in with your
   favorite mirror and install the 'development' section. If you're short
   on disk space (and if you have a stock Lombard, you are short on disk
   space) you can prune some stuff like the kernel source or binaries
   which you don't need for this.

Once you have the development stuff installed, you can go ahead. MySQL
is available from the download sites as PPC rpm and installs without any
problem. For PHP and Apache I followed the instructions on
<http://www.php.net/manual/html/install-unix.html> with one
modification: for the Apache configure command I used (both times) the
--with-layout=RedHat directive instead of the prefix.

S.                                               Sander de Sybersurfer



 
 
 

Apache, PHP, & MySQL

Post by is » Thu, 13 Apr 2000 04:00:00


Actually, I did install from the LinuxPPC CD-ROM, but I didn't see and still
don't see the source files for Apache or PHP, either on my hard drive or on
the install or sources cd. I'd rather not install the entire tree, since
I've only devoted 1.2 gigs to LinuxPPC. Can I get this stuff from the CD?

On a related note - do you know if there's anything weird about the rpms at
ftp.linuxppc.com? Are they beta rpms? 1I installed Apache, PHP, and loadable
PHP modules for imap, ldap, and MySQL, but when I enable the MySQL module,
things get *really* freaky.



> That's funny: exactly my situation at one point.

>> Any ideas on how to accomplish this? Does LinuxPPC not support/install
>> gcc? Alternately, how can I create my own configs for Apache and PHP so
>> that I can set the options I need at compile time?

> You probably installed from the downloadable image. I did that too at
> first, and it doesn't contain any of the development goodies. There are
> two ways to solve this problem:

> 1) use the install CD from linuxppc.com wich does have all the good stuff
> 2) run xinstaller (as root) and choose ftp install. Tune in with your
> favorite mirror and install the 'development' section. If you're short
> on disk space (and if you have a stock Lombard, you are short on disk
> space) you can prune some stuff like the kernel source or binaries
> which you don't need for this.

> Once you have the development stuff installed, you can go ahead. MySQL
> is available from the download sites as PPC rpm and installs without any
> problem. For PHP and Apache I followed the instructions on
> <http://www.php.net/manual/html/install-unix.html> with one
> modification: for the Apache configure command I used (both times) the
> --with-layout=RedHat directive instead of the prefix.

> S.                                               Sander de Sybersurfer



 
 
 

Apache, PHP, & MySQL

Post by Sander Temm » Fri, 14 Apr 2000 04:00:00



> Actually, I did install from the LinuxPPC CD-ROM, but I didn't see and
> still
> don't see the source files for Apache or PHP, either on my hard drive or

Well, I must have added a little chlorine to the gene pool. Welcome to
linux, the platform that occasionally offers the opportunity to
excercise one's own brain.

The linuxppc CD only contains RPM's, and those are for a specific
configuration that the ppl who made your distribution liked. Download
the sources from:

<http://www.apache.org/>
<http://www.php.net/>

The  MySQL RPM's are at

<http://www.mysql.com/>

Or one of its mirrors.

S.                                               Sander de Sybersurfer


 
 
 

Apache, PHP, & MySQL

Post by Israel Alvare » Fri, 14 Apr 2000 04:00:00


<sigh>

Welcome to Linux, the platform that often allows folks to insert their foot
in their mouth.

Try this - download the Apache source and try to compile it under LinuxPPC.
Do the same for PHP. Fortunately, MySQL provides ppc rpms of its software,
so that's up and running. And I downloaded rpms from ftp.linux.com for the
latest apache and the latest php, along with some loadable modules for php,
but everything dies once you load the MySQL mod for PHP. Looks like that mod
is broken.

As far as the source RPMs (the ones on the source CD included with a
purchased distrib) maybe it's just my ignorance but I can't find *any*
source files for apache or php on my linux drive after doing an rpm -i on
the src rpms.

Let me also point out that I've been able - with little problem - to get all
of this working on my FreeBSD boxes. This points to one of the major probs
with LinuxPPC - not only does it not seem as strong as FreeBSD for server
tasks, but many in the community surrounding it seems to delight in passing
off stupid comments like "must have added some chlorine to the gene pool" at
every opportunity, thereby confirming their obnoxiousness.

I'm heading back to FreeBSD, where the OS is solid, the people are friendly,
and all the children are above average.

Next on the list -




>> Actually, I did install from the LinuxPPC CD-ROM, but I didn't see and
>> still
>> don't see the source files for Apache or PHP, either on my hard drive or

> Well, I must have added a little chlorine to the gene pool. Welcome to
> linux, the platform that occasionally offers the opportunity to
> excercise one's own brain.

> The linuxppc CD only contains RPM's, and those are for a specific
> configuration that the ppl who made your distribution liked. Download
> the sources from:

> <http://www.apache.org/>
> <http://www.php.net/>

> The  MySQL RPM's are at

> <http://www.mysql.com/>

> Or one of its mirrors.

> S.              

--

is at isaka dot net
propellerhead without portfolio
isaka studio
"The crimes of eBay are a disgrace to its pig latin heritage"

 
 
 

1. BULL's apache, php & mysql,How to incorporate them

A while ago, i downloaded the AIX 4.3.x binaries of
Apache 1.3.19 and PHP 4.0.4 from freeware.bull.net
At that time, we had no need for php to call mysql
Now we have this request from users.
But from the phpinfo.php, i see that mysql is not yet
incorporated into the thing yet.
So i'll download the mysql binaries (btw, do i need both the
client and server?) from BULL    
But how do i make my already-installed apache and php
recognise the existence of mysql and also make it usable by them.
Do i need to reinstall the apache and php bianries again?
Would someone who has got these from BULL ,Pls tell me the detailed steps

2. X-terminal

3. Apache, PHP & MySQL Requirements

4. getty_ps-2.0.7e outputs DEL

5. Apache compile & Php & mysql

6. For a small gateway/firewall

7. Apache & mysql & php not working

8. symmetrix into E4500? what do I need?

9. FreeBSD 4.4 w/ apache/mysql/php & no joy

10. Apache, MySQL & PHP - Oh My!

11. What rpms to load so php & mysql will work with Apache?

12. PHP & MySQL & root

13. Apach&mysql&php install