php-install Digest 13 Aug 2002 03:09:32 -0000 Issue 976

Topics (messages 8082 through 8096):

problems with gd and PHP 4.2.2 installation
        8082 by: Martin Adler

Re: php 4.2.2 on a SuSE 8 system error :(
        8083 by: Phil Driscoll
        8084 by: Peh Sek Huat

PHP 4/IIS 4 Install Question
        8085 by: Tom Skillman
        8086 by: Christoph Grottolo

Installing PHP on Windows XP Home and Apache
        8087 by: David Lees
        8088 by: Robert Walkama

Determine configuration of running php?
        8089 by: Vicki Brown
        8090 by: Rasmus Lerdorf

little problem
        8091 by: Erik
        8092 by: Robert Walkama
        8093 by: Robert Walkama
        8094 by: Jason Reid
        8095 by: Robert Walkama

Re: Garbled libphp4.so - what?
        8096 by: Bob Lockie

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Hello,

I've tried to install GD 1.8.4 with FreeType 2.1.2 and PHP 4.2.2 on FreeBSD.

first i've compiled FreeType with this options:

make CFG="--prefix=/usr/local"
./configure --prefix=/usr/local
make
make install

it worked fine "after" i've installed gnu make ;)

Ok but now the problem when i try to compile GD.
This are my Makefile configurations:

comment CFLAGS and LIBS
uncomment the alternativs

i've added to
INCLUDEDIRS:
-I/usr/local/include/freetype2
and to LIBDIRS:
-L/usr/local/lib

after editing the file, i try compile with "make" and get this output:
gcc -I. -I/usr/include/freetype2 -I/usr/include/X11
-I/usr/X11R6/includ e/X11 -I/usr/local/include
-I/usr/local/include/freetype2 -O -DHAVE_LIB XPM -DHAVE_LIBPNG
-DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -c gdft.c
In file included from gdcache.h:43,
from gdft.c:35: /usr/include/malloc.h:2:
warning: #warning "this file includes <malloc. h> which is
deprecated, use <stdlib.h> instead" In file included from
gdft.c:37: /usr/local/include/freetype2/freetype/ftglyph.h:104:
syntax error befor e `FT_Library'
/usr/local/include/freetype2/freetype/ftglyph.h:106: syntax error
befor e `FT_Glyph_Format'
/usr/local/include/freetype2/freetype/ftglyph.h:157: syntax error
befor e `FT_Int'
/usr/local/include/freetype2/freetype/ftglyph.h:205: syntax error
befor e `FT_Outline'
/usr/local/include/freetype2/freetype/ftglyph.h:228: syntax error
befor e `FT_Get_Glyph'
/usr/local/include/freetype2/freetype/ftglyph.h:228: syntax error
befor e `slot'
/usr/local/include/freetype2/freetype/ftglyph.h:229: warning:
data defi nition has no type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:251: syntax error
befor e `FT_Glyph_Copy'
/usr/local/include/freetype2/freetype/ftglyph.h:252: warning:
data defi nition has no type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:281: syntax error
befor e `FT_Glyph_Transform'
/usr/local/include/freetype2/freetype/ftglyph.h:282: syntax error
befor e `FT_Matrix'
/usr/local/include/freetype2/freetype/ftglyph.h:283: warning:
data defi nition has no type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:360: syntax error
befor e `FT_Glyph_Get_CBox'
/usr/local/include/freetype2/freetype/ftglyph.h:361: syntax error
befor e `FT_UInt'
/usr/local/include/freetype2/freetype/ftglyph.h:362: warning:
data defi nition has no type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:437: syntax error
befor e `FT_Glyph_To_Bitmap'
/usr/local/include/freetype2/freetype/ftglyph.h:438: syntax error
befor e `FT_ULong'
/usr/local/include/freetype2/freetype/ftglyph.h:440: warning:
data defi nition has no type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:455: syntax error
befor e `FT_Done_Glyph'
/usr/local/include/freetype2/freetype/ftglyph.h:455: warning:
data defi nition has no type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:486: syntax error
befor e `FT_Matrix_Multiply'
/usr/local/include/freetype2/freetype/ftglyph.h:486: syntax error
befor e `*' /usr/local/include/freetype2/freetype/ftglyph.h:487:
warning: data defi nition has no type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:506: syntax error
befor e `FT_Matrix_Invert'
/usr/local/include/freetype2/freetype/ftglyph.h:506: syntax error
befor e `*' /usr/local/include/freetype2/freetype/ftglyph.h:506:
warning: data defi nition has no type or storage class
gdft.c:81: syntax error before `FT_Library' gdft.c:92: syntax
error before `FT_Library' gdft.c: In function `fontFetch':
gdft.c:307: syntax error before `err' gdft.c:313: structure has
no member named `library' gdft.c:313: structure has no member
named `library' gdft.c:354: `err' undeclared (first use in this
function) gdft.c:354: (Each undeclared identifier is reported
only once gdft.c:354: for each function it appears in.)
gdft.c:354: structure has no member named `library' gdft.c:354:
structure has no member named `face' gdft.c:363: structure has no
member named `have_char_map_unicode' gdft.c:364: structure has no
member named `have_char_map_big5' gdft.c:365: structure has no
member named `have_char_map_sjis' gdft.c:366: structure has no
member named `have_char_map_apple_roman' gdft.c:367: structure
has no member named `face' gdft.c:368: `charmap' undeclared
(first use in this function) gdft.c:368: structure has no member
named `face' gdft.c:589: `matrix' undeclared (first use in this
function) gdft.c:589: `FT_Fixed' undeclared (first use in this
function) gdft.c:594: `pen' undeclared (first use in this
function) gdft.c:596: `use_kerning' undeclared (first use in this
function) gdft.c:597: `previous' undeclared (first use in this
function) gdft.c:599: `advance_x' undeclared (first use in this
function) gdft.c:599: `advance_y' undeclared (first use in this
function) gdft.c:602: structure has no member named
`have_char_map_sjis' gdft.c:640: structure has no member named
`have_char_map_unicode' gdft.c:644: structure has no member named
`have_char_map_sjis' gdft.c:687: `glyph_index' undeclared (first
use in this function) gdft.c:692: `ft_kerning_default' undeclared
(first use in this function) gdft.c:692: `delta' undeclared
(first use in this function) gdft.c:697: `err' undeclared (first
use in this function) gdft.c:697: `FT_LOAD_RENDER' undeclared
(first use in this function) gdft.c:721: `ll_x' undeclared (first
use in this function) gdft.c:722: `ll_y' undeclared (first use in
this function) gdft.c:723: `ur_x' undeclared (first use in this
function) gdft.c:724: `ur_y' undeclared (first use in this
function) *** Error code 1
Stop in /usr/opt/php_sources/gd-1.8.4.

i was unable to fix this so ich started to compile PHP without GD

./configure --with-mysql
            --with-apxs2=/usr/opt/apache/bin/apxs
            --with-zlib
            --with-ftp
            --with-jpeg-dir=/usr/local/lib
           --enable-sysvshm=yes
           --enable-sysvsem=yes
           --with-config-file-path=/etc

then i also tried to compile with "make" and a few minutes later
while compiling i get this

...
Making all in sapi
Making all in apache2filter
/bin/sh /usr/opt/php_sources/php-4.2.2/libtool --silent --mode=compile
cc  -I. -I/usr/opt/php_sources/php-4.2.2/sapi/apache2filter -I/usr/opt/php_s
ources/php-4.2.2/main -I/usr/opt/php_sources/php-4.2.2 -I/usr/opt/apache/inc
lude -I/usr/opt/php_sources/php-4.2.2/Zend -I/usr/opt/php_sources/php-4.2.2/
ext/mysql/libmysql -I/usr/opt/php_sources/php-4.2.2/ext/xml/expat  -D_REENTR
ANT -D_THREAD_SAFE -I/usr/opt/php_sources/php-4.2.2/TSRM -DTHREAD=1 -g -O2 -
pthread -DZTS -prefer-pic  -c sapi_apache2.c
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:534: warning: passing arg 3 of `ap_register_output_filter'
makes pointer from integer without a cast
sapi_apache2.c:534: too few arguments to function
`ap_register_output_filter'
sapi_apache2.c:535: warning: passing arg 3 of `ap_register_input_filter'
makes pointer from integer without a cast
sapi_apache2.c:535: too few arguments to function `ap_register_input_filter'
*** Error code 1

Stop in /usr/opt/php_sources/php-4.2.2/sapi/apache2filter.
*** Error code 1

Stop in /usr/opt/php_sources/php-4.2.2/sapi/apache2filter.
*** Error code 1

Stop in /usr/opt/php_sources/php-4.2.2/sapi.
*** Error code 1

Stop in /usr/opt/php_sources/php-4.2.2.


and if it's necessary the compile options for the apache 2.0.40:

./configure --prefix=/usr/opt/apache --enable-so
make
make install


I'm grateful for each assistance

greet
Martin

-----------------------------------------------------------------
Martin Adler                                CGI, Perl, PHP, MySQL

Continum AG                                  Tel. +49 761 4794090
Bötzinger Straße 29a                         Fax. +49 761 4794099
79111 Freiburg i. Br.                     http://www.continum.net
-----------------------------------------------------------------

--- End Message ---
--- Begin Message ---
On Monday 12 August 2002 2:44 pm, Peh Sek Huat wrote:
> Hi there,
>
>         I had successfully installed PHP 4.2.2 with my SuSE 8 Personal Edit
> ion. I had use the following command to configure the setup
>
> ./configure --with-mysql=/usr/local/mysql
> --with-apxs2=/usr/local/apache2/bin/apxs
>
>         I'm using Apache 2 and mysql 3.23.51

Similarly, I'm using php 4.2.2 with SuSE 8.0 professional and Apache 1.3.26 
with no problems. My configure line is:

 ./configure --with-apxs=/usr/local/httpd/bin/apxs 
--with-mysql=/usr/local/mysql --with-gmp=/usr/local/lib/gmp --with-curl 
--enable-trans-sid --enable-ftp


-- 
Phil Driscoll
--- End Message ---
--- Begin Message ---
Hi,

        Forget to tell you that I'm using the latest snapsho
t from http://snaps.php.net/. For more information, pls refer to the m
essage "Error occurred in installing php 4.2.2 with Apache/2.0.39" which I 
posted on 10-08-2002

Regards,
Sek Huat

Peh Sek Huat wrote:

> Hi there,
> 
>         I had successfully installed PHP 4.2.2 with my SuSE 8 Personal
>         Edit
> ion. I had use the following command to configure the setup
> 
> ./configure --with-mysql=/usr/local/mysql
> --with-apxs2=/usr/local/apache2/bin/apxs
> 
>         I'm using Apache 2 and mysql 3.23.51
> 
> Good Luck
> 
> Wilmer Geovanny wrote:
> 
>> Hi List :)
>> 
>> Has anyone successfully installed php 4.2.2 in a SuSE 8.
>> I have an error related to the mysqlclient and another to the gcc :(

--- End Message ---
--- Begin Message ---
Hi.  I'm trying to use PHP with IIS.  We have a server running Windows
2000 (no active directory), and IIS4.  I set up PHP using the CGI
Executable, and this is working fine, but when I enable the extensions
for Oracle, I get an error every time a page is loaded about not finding
the .dll's even if the page is not using the Oracle functions.  I've
tried copying the dlls to the c:\winnt\system32 directory with no
success.  I've tried changing the extension directory in the .ini file,
and that does not work either.  Apache (installed by Oracle) is running
on the same machine, and there are no problems with it.  I intend to do
all of my oracle interfaces in Apache, but there are some existing
things running in IIS that we are trying to move over to this server to
reduce the load on another.  Another option is to get PHP to use two
separate .ini files, but I haven't been able to do this either.  I don't
really need oracle functions in IIS, but no matter what I try, IIS uses
the same .ini file.  Any Ideas?


==============================
Tom Skillman
Systems Analyst Co-Op
City of St. Louis Water Division

[EMAIL PROTECTED]
(314) 771-4806  ext 184
--- End Message ---
--- Begin Message ---
Tom Skillman wrote:
> Hi.  I'm trying to use PHP with IIS.  We have a server running Windows
> 2000 (no active directory), and IIS4.  I set up PHP using the CGI
> Executable, and this is working fine, but when I enable the extensions
> for Oracle, I get an error every time a page is loaded about not
> finding the .dll's even if the page is not using the Oracle
> functions.
http://ch.php.net/manual/en/ref.oci8.php

> Another option is to get PHP to use two separate .ini files, but I
> haven't been able to do this either.  I don't really need oracle
> functions in IIS, but no matter what I try, IIS uses the same .ini
> file.  Any Ideas?

If you use PHP as CGI it first looks in its own directory for the ini file.
So you could set up the php version for IIS in its own directory with the
ini file in there. This should work.

Christoph



--- End Message ---
--- Begin Message ---
Hi,

I have followed the instructions in install.txt that came with the PHP files which can 
also be found here... http://www.php.net/manual/en/installation.php but when I try to 
view an .php page I only get the html parts of it.  There is no error message at all, 
its just that the bits inbetween <?php and ?> (i.e the php stuff) is ignored.  If I 
view the source in IE then I see the PHP stuff but why is it being ignored by Apache?  
I have unistalled Apache and PHP and followed the instructions in install.txt from the 
begining serveral times so I am pretty sure I have followed them correctly.

Any ideas on what I should try next?  Are there any GUI front ends for PHP/Apache that 
would make things alot easier?  Going in to geek mode to edit config files is all very 
well but sometimes I just want things to work first time.

Thanks all.
--- End Message ---
--- Begin Message ---

> What you need to do is in the httpd.conf file change your line to read
> something like this:
>
>     # php type
>     AddType application/x-httpd-php .php .htm .html
>
>
>
> ----- Original Message -----
> From: "David Lees" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, August 12, 2002 5:11 PM
> Subject: [PHP-INST] Installing PHP on Windows XP Home and Apache
>
>
> Hi,
>
> I have followed the instructions in install.txt that came with the PHP
files
> which can also be found here...
> http://www.php.net/manual/en/installation.php but when I try to view an
.php
> page I only get the html parts of it.  There is no error message at all,
its
> just that the bits inbetween <?php and ?> (i.e the php stuff) is ignored.
> If I view the source in IE then I see the PHP stuff but why is it being
> ignored by Apache?  I have unistalled Apache and PHP and followed the
> instructions in install.txt from the begining serveral times so I am
pretty
> sure I have followed them correctly.
>
> Any ideas on what I should try next?  Are there any GUI front ends for
> PHP/Apache that would make things alot easier?  Going in to geek mode to
> edit config files is all very well but sometimes I just want things to
work
> first time.
>
> Thanks all.
>
>

--- End Message ---
--- Begin Message ---
(How) Can I determine the configuration of a running copy of php?
I'm supposed to be building php4 with "similar configuration" to 
the already installed php3. Heh :/
Unfortunately, neither config.cache nor Makefile survive from 
that earlier build/install, there are no notes, no comments, 
etc...

Is php -m all I've got?

(please Cc: me with any replies; I subscribe to the digest of this list)
- Vicki
--- End Message ---
--- Begin Message ---
<?phpinfo()?>

On Mon, 12 Aug 2002, Vicki Brown wrote:

> (How) Can I determine the configuration of a running copy of php?
> I'm supposed to be building php4 with "similar configuration" to
> the already installed php3. Heh :/
> Unfortunately, neither config.cache nor Makefile survive from
> that earlier build/install, there are no notes, no comments,
> etc...
>
> Is php -m all I've got?
>
> (please Cc: me with any replies; I subscribe to the digest of this list)
> - Vicki
>

--- End Message ---
--- Begin Message ---
hi,

i cannot get the "sourcecode highlighting" function to work
my php  is installed as apache module as "install.txt " says and i've added
the  requirerd lines to "httpd.conf"

 AddType application/x-httpd-php-source .phps

but when i create a file with extension *.phps i get 404 not found
althrough the file is there
any idea what i am doing wrong here ?

thanks

regards
Erik


--- End Message ---
--- Begin Message ---
Don't know whether this will help, but where is the file located? In your
htdocs directory?


----- Original Message -----
From: "Erik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 12, 2002 7:55 PM
Subject: [PHP-INST] little problem


> hi,
>
> i cannot get the "sourcecode highlighting" function to work
> my php  is installed as apache module as "install.txt " says and i've
added
> the  requirerd lines to "httpd.conf"
>
>  AddType application/x-httpd-php-source .phps
>
> but when i create a file with extension *.phps i get 404 not found
> althrough the file is there
> any idea what i am doing wrong here ?
>
> thanks
>
> regards
> Erik
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
This is really odd. Did you create the file yourself?


----- Original Message -----
From: "Erik" <[EMAIL PROTECTED]>
To: "Robert Walkama" <[EMAIL PROTECTED]>
Sent: Monday, August 12, 2002 9:05 PM
Subject: Re: [PHP-INST] little problem


> hi,
>
> yes in the htdocs directory strange verry strange if you ask me :-)
>
>
>
> ----- Original Message -----
> From: "Robert Walkama" <[EMAIL PROTECTED]>
> Newsgroups: php.install
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 13, 2002 2:51 AM
> Subject: Re: [PHP-INST] little problem
>
>
> > Don't know whether this will help, but where is the file located? In
your
> > htdocs directory?
> >
> >
> > ----- Original Message -----
> > From: "Erik" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Monday, August 12, 2002 7:55 PM
> > Subject: [PHP-INST] little problem
> >
> >
> > > hi,
> > >
> > > i cannot get the "sourcecode highlighting" function to work
> > > my php  is installed as apache module as "install.txt " says and i've
> > added
> > > the  requirerd lines to "httpd.conf"
> > >
> > >  AddType application/x-httpd-php-source .phps
> > >
> > > but when i create a file with extension *.phps i get 404 not found
> > > althrough the file is there
> > > any idea what i am doing wrong here ?
> > >
> > > thanks
> > >
> > > regards
> > > Erik
> > >
> > >
> > >
> > > --
> > > PHP Install Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
>
>

--- End Message ---
--- Begin Message ---
Double check the name of the file.

how did u rename it? thru explorer, ftp or opened and save-as in notepad or
another program?

Jason Reid
[EMAIL PROTECTED]
--
AC Host Canada
www.achost.ca

----- Original Message -----
From: "Robert Walkama" <[EMAIL PROTECTED]>
To: "Erik" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, August 12, 2002 7:10 PM
Subject: Re: [PHP-INST] little problem


> This is really odd. Did you create the file yourself?
>
>
> ----- Original Message -----
> From: "Erik" <[EMAIL PROTECTED]>
> To: "Robert Walkama" <[EMAIL PROTECTED]>
> Sent: Monday, August 12, 2002 9:05 PM
> Subject: Re: [PHP-INST] little problem
>
>
> > hi,
> >
> > yes in the htdocs directory strange verry strange if you ask me :-)
> >
> >
> >
> > ----- Original Message -----
> > From: "Robert Walkama" <[EMAIL PROTECTED]>
> > Newsgroups: php.install
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, August 13, 2002 2:51 AM
> > Subject: Re: [PHP-INST] little problem
> >
> >
> > > Don't know whether this will help, but where is the file located? In
> your
> > > htdocs directory?
> > >
> > >
> > > ----- Original Message -----
> > > From: "Erik" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Monday, August 12, 2002 7:55 PM
> > > Subject: [PHP-INST] little problem
> > >
> > >
> > > > hi,
> > > >
> > > > i cannot get the "sourcecode highlighting" function to work
> > > > my php  is installed as apache module as "install.txt " says and
i've
> > > added
> > > > the  requirerd lines to "httpd.conf"
> > > >
> > > >  AddType application/x-httpd-php-source .phps
> > > >
> > > > but when i create a file with extension *.phps i get 404 not found
> > > > althrough the file is there
> > > > any idea what i am doing wrong here ?
> > > >
> > > > thanks
> > > >
> > > > regards
> > > > Erik
> > > >
> > > >
> > > >
> > > > --
> > > > PHP Install Mailing List (http://www.php.net/)
> > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > >
> > > >
> > >
> >
> >
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


--- End Message ---
--- Begin Message ---
Good idea.

Recently I extracted a file from a zip into my htdocs directory, or so I
thought. After a bit of frustration, I realized I had duplicated the folder
tree in htdocs and the file was in there--not in the doc root. :-)

Robert Walkama


----- Original Message -----
From: "Jason Reid" <[EMAIL PROTECTED]>
To: "Robert Walkama" <[EMAIL PROTECTED]>; "Erik" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, August 12, 2002 9:47 PM
Subject: Re: [PHP-INST] little problem


> Double check the name of the file.
>
> how did u rename it? thru explorer, ftp or opened and save-as in notepad
or
> another program?
>
> Jason Reid
> [EMAIL PROTECTED]
> --
> AC Host Canada
> www.achost.ca
>
> ----- Original Message -----
> From: "Robert Walkama" <[EMAIL PROTECTED]>
> To: "Erik" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Monday, August 12, 2002 7:10 PM
> Subject: Re: [PHP-INST] little problem
>
>
> > This is really odd. Did you create the file yourself?
> >
> >
> > ----- Original Message -----
> > From: "Erik" <[EMAIL PROTECTED]>
> > To: "Robert Walkama" <[EMAIL PROTECTED]>
> > Sent: Monday, August 12, 2002 9:05 PM
> > Subject: Re: [PHP-INST] little problem
> >
> >
> > > hi,
> > >
> > > yes in the htdocs directory strange verry strange if you ask me :-)
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "Robert Walkama" <[EMAIL PROTECTED]>
> > > Newsgroups: php.install
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, August 13, 2002 2:51 AM
> > > Subject: Re: [PHP-INST] little problem
> > >
> > >
> > > > Don't know whether this will help, but where is the file located? In
> > your
> > > > htdocs directory?
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Erik" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Monday, August 12, 2002 7:55 PM
> > > > Subject: [PHP-INST] little problem
> > > >
> > > >
> > > > > hi,
> > > > >
> > > > > i cannot get the "sourcecode highlighting" function to work
> > > > > my php  is installed as apache module as "install.txt " says and
> i've
> > > > added
> > > > > the  requirerd lines to "httpd.conf"
> > > > >
> > > > >  AddType application/x-httpd-php-source .phps
> > > > >
> > > > > but when i create a file with extension *.phps i get 404 not found
> > > > > althrough the file is there
> > > > > any idea what i am doing wrong here ?
> > > > >
> > > > > thanks
> > > > >
> > > > > regards
> > > > > Erik
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > PHP Install Mailing List (http://www.php.net/)
> > > > > To unsubscribe, visit: http://www.php.net/unsub.php
> > > > >
> > > > >
> > > >
> > >
> > >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---

What are your configure options?

>> Try a make distclean in the PHP directory and start over.
>
>No... It says still the same "garbled" message. Any ideas?
>
>- Ville
>
>
>
>> On Sun, 11 Aug 2002, Ville Mattila wrote:
>>
>> > Hello folks,
>> >
>> > I was installing Apache 1.3.9 and PHP 4.2.2 to my brand new RedHat 7.3
>box,
>> > but unfortunately without good results. I compiled and installed Apache
>> > precisely like in the Apache documentation and Apache is now up and
>running
>> > without PHP. Then I downloaded the newest version of PHP and compiled
>and
>> > installed it with instructions at PHP website. I added following lines
>to
>> > httpd.conf:
>> >
>> > LoadModule php4_module /usr/lib/apache/libphp4.so
>> > AddType application/x-httpd-php .php
>> > AddType application/x-httpd-php .php3
>> > AddType application/x-httpd-php .php4
>> >
>> > Then it was time to try running Apache with PHP. Well, I got following
>error
>> > message:
>> >
>> > [root@pilotmedia php-4.2.2]# /etc/httpd/bin/apachectl start
>> > Syntax error on line 665 of /etc/httpd/conf/httpd.conf:
>> > API module structure `php4_module' in file /usr/lib/apache/libphp4.so is
>> > garbled - perhaps this is not an Apache module DSO?
>> > /etc/httpd/bin/apachectl start: httpd could not be started
>> >
>> > What could I do?
>> >
>> > Thanks,
>> > Ville Mattila
>> > Ikaalinen, Finland
>> >
>> >
>> >
>> > --
>> > PHP Install Mailing List (http://www.php.net/)
>> > To unsubscribe, visit: http://www.php.net/unsub.php
>> >
>>
>
>
>
>-- 
>PHP Install Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>



--- End Message ---

Reply via email to