Apache/MySQL/PHP does not compile :-(

Apache/MySQL/PHP does not compile :-(

Post by Matt Jurcic » Sun, 16 Jul 2000 04:00:00



Hey,

FWIW, I found Apache 1.3.9 to be a nightmare to install, and never got
it installed with PHP 4.x.  I ended up going to Apache 1.3.11 and php 3.
 I'm running SGI Irix, but I think PHP 4 is a difficult install on any
box.  I'd recommend trying PHP 3 and/or an older apache...

-m


> Hi,

> I know this is really a newbie question but Im stuck with this.

> I bought MacOS X Server update 1.2 and wanted to install all the nice
> stuff again that I had on the old (1.0) machine. But:

> - The modules for MySQL and esp. PHP that I downloaded from Xclave dont
> work with the "new" apache 1.3.9 that comes with MXS 1.2.
> - I tried to follow the guidelines to compile them by myself but I got
> to many errors and the "configure" process aborted. It complained about
> not finding a compiler in the search path so I tried to find one: GCC.
> - I followed the guidelines in the GCC readme to compile it but it
> failed in recognizing the platform.
> - Finally I decided to live with the "old" version of apache, 1.3.6, but
> now it doesnt accept the apache modules.
> - I exchanged the modules with the old ones, but now Apple FileSharing
> only starts up after one "trigger" with the web-browser-based Remote
> Admin Service.

> Can anyone tell me how I can do the first step into the right direction?
> How can I compile something that I need to compile something?

> Thanks for your answers...

> Tino

 
 
 

Apache/MySQL/PHP does not compile :-(

Post by roo » Mon, 09 Oct 2000 12:01:52


I have set up apache 1.3.12 and PHP4.0 no prob.  might want to tyr
that.



>Hey,

>FWIW, I found Apache 1.3.9 to be a nightmare to install, and never got
>it installed with PHP 4.x.  I ended up going to Apache 1.3.11 and php 3.
> I'm running SGI Irix, but I think PHP 4 is a difficult install on any
>box.  I'd recommend trying PHP 3 and/or an older apache...

>-m


>> Hi,

>> I know this is really a newbie question but Im stuck with this.

>> I bought MacOS X Server update 1.2 and wanted to install all the nice
>> stuff again that I had on the old (1.0) machine. But:

>> - The modules for MySQL and esp. PHP that I downloaded from Xclave dont
>> work with the "new" apache 1.3.9 that comes with MXS 1.2.
>> - I tried to follow the guidelines to compile them by myself but I got
>> to many errors and the "configure" process aborted. It complained about
>> not finding a compiler in the search path so I tried to find one: GCC.
>> - I followed the guidelines in the GCC readme to compile it but it
>> failed in recognizing the platform.
>> - Finally I decided to live with the "old" version of apache, 1.3.6, but
>> now it doesnt accept the apache modules.
>> - I exchanged the modules with the old ones, but now Apple FileSharing
>> only starts up after one "trigger" with the web-browser-based Remote
>> Admin Service.

>> Can anyone tell me how I can do the first step into the right direction?
>> How can I compile something that I need to compile something?

>> Thanks for your answers...

>> Tino


 
 
 

Apache/MySQL/PHP does not compile :-(

Post by bschm.. » Tue, 10 Oct 2000 04:00:00




> I have set up apache 1.3.12 and PHP4.0 no prob.  might want to tyr
> that.



> >> - I tried to follow the guidelines to compile them by myself but I got
> >> to many errors and the "configure" process aborted. It complained about
> >> not finding a compiler in the search path so I tried to find one: GCC.

As far as a C compiler, there's one on the Web Objects CD that comes
with OSX 1.2 server.

I feel your frustration. We've got apache 1.3.12 and PHP4 compiled but
we can't get PHP4 to compile with the gd module option. And if we get
that working I'd like to get the PHP LDAP module compiled, and then the
MING shockwave module too.

It's frustrating using Open Source s/w with OSX - it's hard to find any
documentation (MySQL is an obvious exception!) It's not clear to me
that there's any advantage provided by OSX server over using LINUX (on
the same h/w).

If others know of support strategies to get by with OSX until the open
source floodgates open (he hopes), please share them!

--

 
 
 

Apache/MySQL/PHP does not compile :-(

Post by Werner Poppel » Sat, 14 Oct 2000 04:00:00





> > I have set up apache 1.3.12 and PHP4.0 no prob.  might want to tyr
> > that.



> > >> - I tried to follow the guidelines to compile them by myself but I got
> > >> to many errors and the "configure" process aborted. It complained about
> > >> not finding a compiler in the search path so I tried to find one: GCC.

> As far as a C compiler, there's one on the Web Objects CD that comes
> with OSX 1.2 server.

> I feel your frustration. We've got apache 1.3.12 and PHP4 compiled but
> we can't get PHP4 to compile with the gd module option. And if we get
> that working I'd like to get the PHP LDAP module compiled, and then the
> MING shockwave module too.

> It's frustrating using Open Source s/w with OSX - it's hard to find any
> documentation (MySQL is an obvious exception!) It's not clear to me
> that there's any advantage provided by OSX server over using LINUX (on
> the same h/w).

> If others know of support strategies to get by with OSX until the open
> source floodgates open (he hopes), please share them!

> --


I have problems compiling apache 1.3.12 and php4 on my sgi with irix
6.5.9. i get the following error messages:

ld32: ERROR   33 : Unresolved text symbol "php_register_variable" -- 1st
referenced by modules/php4/libphp4.a(mod_php4.o).
        Use linker option -v to see when and which objects, archives and dsos
are loaded.  
ld32: ERROR   33 : Unresolved text symbol
"php_import_environment_variables" -- 1st referenced by
modules/php4/libphp4.a(main.o).
        Use linker option -v to see when and which objects, archives and dsos
are loaded.  
ld32: ERROR   33 : Unresolved text symbol "php_treat_data" -- 1st
referenced by modules/php4/libphp4.a(main.o).
        Use linker option -v to see when and which objects, archives and dsos
are loaded.  
ld32: ERROR   33 : Unresolved text symbol "php_register_variable_ex" --
1st referenced by modules/php4/libphp4.a(rfc1867.o).
        Use linker option -v to see when and which objects, archives and dsos
are loaded.  
ld32: ERROR   33 : Unresolved text symbol "php_std_post_handler" -- 1st
referenced by modules/php4/libphp4.a(php_content_types.o).
        Use linker option -v to see when and which objects, archives and dsos
are loaded.  
ld32: INFO    152: Output file removed because of error.

I'm not an experienced c programmer but i think that the library is
not complete (?). On my linux box with suse linux 6.x everything works
fine.

--
Werner Poppele, Fachhochschule Muenchen, Dachauer Str. 98b, D - 80335
Muenchen

--------------------------------------------------------------------------------

 
 
 

Apache/MySQL/PHP does not compile :-(

Post by Bobby needs a zimmer fram » Sat, 10 Feb 2001 18:01:15


Apache 1.3.14, PHP4 and MySQL are a piece of*to set up, have a look on
devshed.com for a tutorial


> I have set up apache 1.3.12 and PHP4.0 no prob.  might want to tyr
> that.



> >Hey,

> >FWIW, I found Apache 1.3.9 to be a nightmare to install, and never got
> >it installed with PHP 4.x.  I ended up going to Apache 1.3.11 and php 3.
> > I'm running SGI Irix, but I think PHP 4 is a difficult install on any
> >box.  I'd recommend trying PHP 3 and/or an older apache...

> >-m


> >> Hi,

> >> I know this is really a newbie question but Im stuck with this.

> >> I bought MacOS X Server update 1.2 and wanted to install all the nice
> >> stuff again that I had on the old (1.0) machine. But:

> >> - The modules for MySQL and esp. PHP that I downloaded from Xclave
dont
> >> work with the "new" apache 1.3.9 that comes with MXS 1.2.
> >> - I tried to follow the guidelines to compile them by myself but I got
> >> to many errors and the "configure" process aborted. It complained about
> >> not finding a compiler in the search path so I tried to find one: GCC.
> >> - I followed the guidelines in the GCC readme to compile it but it
> >> failed in recognizing the platform.
> >> - Finally I decided to live with the "old" version of apache, 1.3.6,
but
> >> now it doesnt accept the apache modules.
> >> - I exchanged the modules with the old ones, but now Apple FileSharing
> >> only starts up after one "trigger" with the web-browser-based Remote
> >> Admin Service.

> >> Can anyone tell me how I can do the first step into the right
direction?
> >> How can I compile something that I need to compile something?

> >> Thanks for your answers...

> >> Tino

 
 
 

Apache/MySQL/PHP does not compile :-(

Post by Mufas » Fri, 16 Feb 2001 05:49:22


Actually, I just got Apache 1.3.17, PHP4, and OpenSSL to compile. It took me
awhile, but I followed the instructions for installing PHP4 as a module in
Apache and had the Apache 1.3.17 source. I didn't have the mod_ssl source
specifically, but I think it's either included with Apache, or it used the
OpenSSL libraries I've had installed for sometime. However, MySQL wouldn't
go for me compiled in. Even though I had all the headers and pointed it to
the right place, it still couldn't find them. Oh well, just get the DBI
module for Perl and use that to connect to a separately installed MySQL
server. That's what I do.

The big problem for me in the above setup was the modules and DSO mod for
Apache. Play around with the Apache configuration settings to get those
right. (The PHP4 installation instructions worked fine except for the Apache
configuration command line.) I got all the settings I needed from the Apache
INSTALL file.

./configure --prefix=/usr/local/apache --activate-module=modules/php4/libphp
4.a --enable-rule=SHARED_CORE --enable-module=most --enable-module=so --enab
le-shared=remain --DEAPI

Ended up being the configure command line I used. However, that compiles in
almost every mod; you may want to individually specify the ones you want.

Mufasa



> Apache 1.3.14, PHP4 and MySQL are a piece of*to set up, have a look
on
> devshed.com for a tutorial



> > I have set up apache 1.3.12 and PHP4.0 no prob.  might want to tyr
> > that.



> > >Hey,

> > >FWIW, I found Apache 1.3.9 to be a nightmare to install, and never got
> > >it installed with PHP 4.x.  I ended up going to Apache 1.3.11 and php
3.
> > > I'm running SGI Irix, but I think PHP 4 is a difficult install on any
> > >box.  I'd recommend trying PHP 3 and/or an older apache...

> > >-m


> > >> Hi,

> > >> I know this is really a newbie question but Im stuck with this.

> > >> I bought MacOS X Server update 1.2 and wanted to install all the nice
> > >> stuff again that I had on the old (1.0) machine. But:

> > >> - The modules for MySQL and esp. PHP that I downloaded from Xclave
> dont
> > >> work with the "new" apache 1.3.9 that comes with MXS 1.2.
> > >> - I tried to follow the guidelines to compile them by myself but I
got
> > >> to many errors and the "configure" process aborted. It complained
about
> > >> not finding a compiler in the search path so I tried to find one:
GCC.
> > >> - I followed the guidelines in the GCC readme to compile it but it
> > >> failed in recognizing the platform.
> > >> - Finally I decided to live with the "old" version of apache, 1.3.6,
> but
> > >> now it doesnt accept the apache modules.
> > >> - I exchanged the modules with the old ones, but now Apple
FileSharing
> > >> only starts up after one "trigger" with the web-browser-based Remote
> > >> Admin Service.

> > >> Can anyone tell me how I can do the first step into the right
> direction?
> > >> How can I compile something that I need to compile something?

> > >> Thanks for your answers...

> > >> Tino

 
 
 

Apache/MySQL/PHP does not compile :-(

Post by Chris Gauthie » Sat, 17 Feb 2001 03:39:36


Wow.  Struggling here, help appreciated.
Apache version 1.3.17
php4.04pl1

Trying to marry above with following magic:
 php> ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/mysql --enable-force-cgi-redirect

apache> ./configure --prefix=[path] --enable-module=so

apache config:
     LoadModule php4_module        libexec/libphp4.so
     AddType application/x-httpd-php .php .phtml
     AddType application/x-httpd-php-source .phps

I start and stop apache and the following error occurs:

Syntax error on line 208 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:      undefined symbol: uncompress

This error alone tells me nothing, I have added the above directory into /etc/ld.so.conf so it shouldn't be a problem.  Anybody run into this and how did you solve it?

==================================
Posted via http://nodevice.com
Linux Programmer's Site

 
 
 

Apache/MySQL/PHP does not compile :-(

Post by John P. Dod » Thu, 22 Feb 2001 01:17:10


: Wow.  Struggling here, help appreciated.
: Apache version 1.3.17
: php4.04pl1
:
:      
: Syntax error on line 208 of /usr/local/apache/conf/httpd.conf:
: Cannot load /usr/local/apache/libexec/libphp4.so into server:      undefined symbol: uncompress
:

I don't know about Linux but on a Solaris system you will need to link with the
libz.so.1 library. Add -lz to the apxs build statement.

------------------------------------------------
"Mon aeroglisseur est plein d'anguilles"

John P. Dodge
Boeing Shared Services Group

 
 
 

1. Apache/MySQL/PHP does not compile :-(



Errors about not being able to find a compiler (like gcc) point to missing
developer tools.  The default install (for 1.0x at least) did not include the
developer tools, which were located on the WebObjects CD (IIRC).

Find out which CD your developer tools are on, install them, and try again.  
That should get you to at least step 2.

Let us know how you go - I, for one, am interested in a Apache2/PHP4 combo on
MOSXS, and want to know how you go.

Henry.

2. Can't access my file [Amiga version]

3. Compiling Apache, PHP and Mysql on AIX 4.3.2

4. commands w/o logging in

5. Apache-php-mysql compile error.

6. X11R5 libraries for Linux - Help!

7. Apache compile & Php & mysql

8. kernel rebuild - which one?

9. Problem compiling Apache, MySql and Php

10. Looking for ISP with Apache/PHP/Mysql compiled in one unit

11. PHP/MySQL "mysql.sock" not found ???

12. compiling apache, php, mysql for 2 processors

13. Php not working with Apache, mySQL on Linux, save as dialog box comes up