php-install Digest 18 Jul 2002 09:28:42 -0000 Issue 937

Topics (messages 7788 through 7801):

compile error (TSRM/tsrm_virtual_cwd.h)
        7788 by: Alven

Re: why i can't execute my php codes
        7789 by: toby -

noob prob with install of apache with php
        7790 by: azzkikr

Re: php 4.2.1 and apache 2.0.39 compile error
        7791 by: electroteque
        7793 by: electroteque
        7794 by: leandro asnaghi-nicastro
        7795 by: electroteque
        7796 by: leandro asnaghi-nicastro
        7797 by: electroteque

patches
        7792 by: John Wulff

Re: PHP - HOW TO MAKE IT WORK WITHIN APACHE
        7798 by: J Fazenda

Re: Error in installing PHP as an apache-module
        7799 by: Yuriy Rusinov

apache issues with shared object
        7800 by: Robert Abbate

Re: gd errors while compiling PHP
        7801 by: Santosh Narayanan

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 ---
here's the error..

php version 4.2.1
gcc: 2.95.3
linux: 2.4.5
configure string:
./configure --with-mysql=/usr/local --with-apxs=/www/apache/bin/apxs --with-
gd=/usr/local --with-ttf --with-freetype --with-jpeg-dir

/bin/sh /home/alven/Download/php-4.2.1/libtool --silent --mode=compile
cc  -I. -I/home/alven/Download/php-4.2.1/main -I/home/alven/Download/php-4.2
.1/main -I/home/alven/Download/php-4.2.1 -I/usr/local/apache/include -I/home
/alven/Download/php-4.2.1/Zend -I/usr/local/include/freetype -I/usr/local/in
clude -I/usr/local/include/mysql -I/home/alven/Download/php-4.2.1/ext/xml/ex
pat  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I/home/alven/Download/php-4.2.1/T
SRM -g -O2 -prefer-pic  -c main.c
In file included from php.h:130,
                 from main.c:26:
/usr/include/unistd.h:247: warning: redefinition of `socklen_t'
php.h:114: warning: `socklen_t' previously declared here
In file included from php.h:304,
                 from main.c:26:
/home/alven/Download/php-4.2.1/TSRM/tsrm_virtual_cwd.h:130: parse error
before `*'
/home/alven/Download/php-4.2.1/TSRM/tsrm_virtual_cwd.h:130: warning: data
definition has no type or storage class
In file included from php.h:313,
                 from main.c:26:
php_reentrancy.h:54: parse error before `*'
In file included from
/home/alven/Download/php-4.2.1/ext/standard/fsock.h:32,
                 from
/home/alven/Download/php-4.2.1/ext/standard/php_standard.h:43,
                 from main.c:52:
php_network.h:55: warning: `struct sockaddr' declared inside parameter list
php_network.h:55: warning: its scope is only this definition or declaration,
which is probably not what you want.
In file included from
/home/alven/Download/php-4.2.1/ext/standard/php_standard.h:43,
                 from main.c:52:
/home/alven/Download/php-4.2.1/ext/standard/fsock.h:63: warning: `struct
in_addr' declared inside parameter list
make[2]: *** [main.lo] Error 1
make[2]: Leaving directory `/home/alven/Download/php-4.2.1/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alven/Download/php-4.2.1/main'
make: *** [all-recursive] Error 1
alven@harry:~/Download/php-4.2.1$


//Alv


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

murtaza

>the installation is successful , but when i'm tring to run the php >code 
>i'm not
>able to see any thing in the browser except the title in the php >code 
>"Hello
>World".

are u trying to work with forms ?
what is ur code about that cant be displayed :S???


>I also want to know that every thime i have to execute a php code i've >to 
>save
>it in the C:\Program Files\Apache Group\Apache\htdocs, if yes the nis >ther 
>any
>way out that i can execute my php code saved in any folder and any >drive 
>on my
>hard disk with out saving it to C:\Program Files\Apache 
> >Group\Apache\htdocs.

u have to have ur php files in ur root directory
n u can choose it to please ur self
but remember to change paths in php.ini and httd.cfg


>and wht abot those information which i provided during the >installation of
>apache server info like :
>Network Domain : Kuwaitnet
the domain u use ofcorse

>Server Name : Murtaza
this is ur computer name




_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

--- End Message ---
--- Begin Message ---
hello there,
I'am trying to install apache 2.0.39 whith php 4.2.1 on a linux redhat 
system by using the source files.

have done the cmd for apache: $ ./configure --enable-so
this went well.

now i tried to do php with the command: $ ./configure 
--prefix=/usr/local/apache2/php --with-apxs2=/usr/loacal/apache2/bin/apxs 
--with-config-file-path=/usr/loacal/apache2/php 
--with-mysql=/usr/local/mysql

 done many things but always get the following error when i did the make and 
make install cmd..:

error=

php_functions.c:93:27: missing binary operator before '!'
make[3]: *** [php_functions.lo] Error 1
make[3]: Leaving directory `/root/php-4.2.1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/php-4.2.1/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/php-4.2.1/sapi'
make: *** [all-recursive] Error 1

This should also be the prob that there still is no php module in my apache2 
folder...

Help me out i'am a nOOb.

thanks,
aZzKikr
--- End Message ---
--- Begin Message ---
yes but, it stated it required apache 2.0.40 or something like that it isnt
even available on the site yet ?? i'll try the patch and see how it goes

-----Original Message-----
From: Chris Santerre [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 3:41 AM
To: 'electroteque'; [EMAIL PROTECTED]
Subject: RE: [PHP-INST] php 4.2.1 and apache 2.0.39 compile error


I believe someone else sent me the exact same problem. They restarted from
scratch and got it to work, but I think they got the latest snapshot.  I had
to go in and actually change line 92 and 94 of the php_functions.c file.
They are an if loop for an include statement. Just get rid of the if part
and include it. That was to get past that error. I ended up having to get
the latest snapshot and that error was already fixed in it.

-----Original Message-----
From: electroteque [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 1:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] php 4.2.1 and apache 2.0.39 compile error

hi guys i am getting this error when compiling php

-g -O2 -pthread -DZTS -prefer-pic  -c php_functions.c
php_functions.c:93:27: missing binary operator before '!'
make[3]: *** [php_functions.lo] Error 1
make[3]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/etc/php-4.2.1/sapi'
make: *** [all-recursive] Error 1

i have also tried the snapshot version of php but then it told me it
requires apache 2.40 but there is nowhere to get that ??



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
ok i get this error once i made that patch to functions file

php_functions.c: In function `zif_apache_lookup_uri':
php_functions.c:93: structure has no member named `boundary'
php_functions.c:93: structure has no member named `boundary'
make[3]: *** [php_functions.lo] Error 1
make[3]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/etc/php-4.2.1/sapi'
make: *** [all-recursive] Error 1

man why distribute a release if its not gonna work

-----Original Message-----
From: Chris Santerre [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 3:41 AM
To: 'electroteque'; [EMAIL PROTECTED]
Subject: RE: [PHP-INST] php 4.2.1 and apache 2.0.39 compile error


I believe someone else sent me the exact same problem. They restarted from
scratch and got it to work, but I think they got the latest snapshot.  I had
to go in and actually change line 92 and 94 of the php_functions.c file.
They are an if loop for an include statement. Just get rid of the if part
and include it. That was to get past that error. I ended up having to get
the latest snapshot and that error was already fixed in it.

-----Original Message-----
From: electroteque [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 17, 2002 1:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] php 4.2.1 and apache 2.0.39 compile error

hi guys i am getting this error when compiling php

-g -O2 -pthread -DZTS -prefer-pic  -c php_functions.c
php_functions.c:93:27: missing binary operator before '!'
make[3]: *** [php_functions.lo] Error 1
make[3]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/etc/php-4.2.1/sapi'
make: *** [all-recursive] Error 1

i have also tried the snapshot version of php but then it told me it
requires apache 2.40 but there is nowhere to get that ??



--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
I get this exact same error when I apply the patch suggested 
previously in this list.

I'm going to give on Apache2 and try 1.3.26 or whatever was the last 
version.

leandro

On This Day, in the Year of Our Lord 18 Jul 02, at 10:30, thus spake electroteque :

> ok i get this error once i made that patch to functions file
> 
> php_functions.c: In function `zif_apache_lookup_uri':
> php_functions.c:93: structure has no member named `boundary'
> php_functions.c:93: structure has no member named `boundary'
> make[3]: *** [php_functions.lo] Error 1
> make[3]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/etc/php-4.2.1/sapi'
> make: *** [all-recursive] Error 1
> 
> man why distribute a release if its not gonna work
> 
> -----Original Message-----
> From: Chris Santerre [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 18, 2002 3:41 AM
> To: 'electroteque'; [EMAIL PROTECTED]
> Subject: RE: [PHP-INST] php 4.2.1 and apache 2.0.39 compile error
> 
> 
> I believe someone else sent me the exact same problem. They restarted from
> scratch and got it to work, but I think they got the latest snapshot.  I had
> to go in and actually change line 92 and 94 of the php_functions.c file.
> They are an if loop for an include statement. Just get rid of the if part
> and include it. That was to get past that error. I ended up having to get
> the latest snapshot and that error was already fixed in it.
> 
> -----Original Message-----
> From: electroteque [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 17, 2002 1:07 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] php 4.2.1 and apache 2.0.39 compile error
> 
> hi guys i am getting this error when compiling php
> 
> -g -O2 -pthread -DZTS -prefer-pic  -c php_functions.c
> php_functions.c:93:27: missing binary operator before '!'
> make[3]: *** [php_functions.lo] Error 1
> make[3]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/etc/php-4.2.1/sapi'
> make: *** [all-recursive] Error 1
> 
> i have also tried the snapshot version of php but then it told me it
> requires apache 2.40 but there is nowhere to get that ??
> 
> 
> 
> --
> 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
> 


___ 
leandro asnaghi-nicastro - editor in chief 
capital of nasty - http://con.ca/ 
[EMAIL PROTECTED] - icq uin: 889318  
 
"I've been eating shrimp and now I have an itch down there."
"I don't think the itch is a matter of diet but a matter of hygene."
--- End Message ---
--- Begin Message ---
sorry guys update here , i copied the php_functions.c from the
sapi/apache2filter dir of the  latest snapshot file http://snaps.php.net
back into my php source sapi/apache2filter

my apache 2.0.39 configure is

./configure --prefix=/usr/local/etc/apache_2.0.39 --enable-so --sysconfdir=/
www/conf --enable-module=rewrite --enable-module=status

apache compiled and installed fine

then php configure

./configure --prefix=/usr/local/etc/apache_2.0.39 --enable-so --sysconfdir=/
www/conf --enable-module=rewrite --enable-module=status

its working fine now , it was the php_functions.c file all this time ,
dammit !

-----Original Message-----
From: leandro asnaghi-nicastro [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 11:17 AM
To: electroteque
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-INST] php 4.2.1 and apache 2.0.39 compile error


I get this exact same error when I apply the patch suggested
previously in this list.

I'm going to give on Apache2 and try 1.3.26 or whatever was the last
version.

leandro

On This Day, in the Year of Our Lord 18 Jul 02, at 10:30, thus spake
electroteque :

> ok i get this error once i made that patch to functions file
>
> php_functions.c: In function `zif_apache_lookup_uri':
> php_functions.c:93: structure has no member named `boundary'
> php_functions.c:93: structure has no member named `boundary'
> make[3]: *** [php_functions.lo] Error 1
> make[3]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/etc/php-4.2.1/sapi'
> make: *** [all-recursive] Error 1
>
> man why distribute a release if its not gonna work
>
> -----Original Message-----
> From: Chris Santerre [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 18, 2002 3:41 AM
> To: 'electroteque'; [EMAIL PROTECTED]
> Subject: RE: [PHP-INST] php 4.2.1 and apache 2.0.39 compile error
>
>
> I believe someone else sent me the exact same problem. They restarted from
> scratch and got it to work, but I think they got the latest snapshot.  I
had
> to go in and actually change line 92 and 94 of the php_functions.c file.
> They are an if loop for an include statement. Just get rid of the if part
> and include it. That was to get past that error. I ended up having to get
> the latest snapshot and that error was already fixed in it.
>
> -----Original Message-----
> From: electroteque [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 17, 2002 1:07 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] php 4.2.1 and apache 2.0.39 compile error
>
> hi guys i am getting this error when compiling php
>
> -g -O2 -pthread -DZTS -prefer-pic  -c php_functions.c
> php_functions.c:93:27: missing binary operator before '!'
> make[3]: *** [php_functions.lo] Error 1
> make[3]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/etc/php-4.2.1/sapi'
> make: *** [all-recursive] Error 1
>
> i have also tried the snapshot version of php but then it told me it
> requires apache 2.40 but there is nowhere to get that ??
>
>
>
> --
> 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
>


___
leandro asnaghi-nicastro - editor in chief
capital of nasty - http://con.ca/
[EMAIL PROTECTED] - icq uin: 889318

"I've been eating shrimp and now I have an itch down there."
"I don't think the itch is a matter of diet but a matter of hygene."

--- End Message ---
--- Begin Message ---
On This Day, in the Year of Our Lord 18 Jul 02, at 11:38, thus spake electroteque :

>     sorry guys update here , i copied the php_functions.c from the
>     sapi/apache2filter dir of the  latest snapshot file
>     http://snaps.php.net back into my php source sapi/apache2filter 

Wow.  I am now more confused than I was before.
I think I'll just go to Apache 1 and make my life a little easier at 
this point.  I've been trying to figure this one out for too long 
without any luck.

leandro
--- End Message ---
--- Begin Message ---
keep trying took me 2 days unfortunatly they release it without even testing
it out first

its a simple procedure download the php-latest files extract it go into
sapi/apache2filter and then cp php_functions.c
/usr/local/etc/php/sapi/apache2filter for example then before recompile php
, rm config.cache , rm config.status, apache needs the --enable-so on the
configure first !!

-----Original Message-----
From: leandro asnaghi-nicastro [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 18 July 2002 12:52 PM
To: electroteque
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-INST] php 4.2.1 and apache 2.0.39 compile error


On This Day, in the Year of Our Lord 18 Jul 02, at 11:38, thus spake
electroteque :

>     sorry guys update here , i copied the php_functions.c from the
>     sapi/apache2filter dir of the  latest snapshot file
>     http://snaps.php.net back into my php source sapi/apache2filter

Wow.  I am now more confused than I was before.
I think I'll just go to Apache 1 and make my life a little easier at
this point.  I've been trying to figure this one out for too long
without any luck.

leandro

--- End Message ---
--- Begin Message ---
How do I install the patches downloadable from the php.net site?


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

BINGO !!!! I'm now getting my "Hello World" loud and clear.

/ In fact I didn't have a real problem, just ignorance. All I had to do
was to change the Index file extension to .PHP.
PHP has been there, working fine, all the while. I just didn't know how
to use it. I have some experience with static HTML and CGI scripts and
never considered  the extension could be anything but  HTML.

/ And it was a silly mistake to do "ps auxww | fgrep httpd" with the
server turned off.
I started and stopped it so many times in the last few days that I
didn't know anymore what I was doing.
When I run that command now (with the server running :-), of course), I
received a truck load of -DHAVE's and, sure enough, there were many
PHP4' there.

/ I already removed all the changes I had made to the start-up file.

/ Less than two weeks ago I knew next to nothing about Linux and now my
head is bursting with lots of stuff I've learned in that a short time.
This problem has forced me to give the documentation a very thorough
reading (that's my advice to all newcomers).
I realise there's still a lot more to learn (millions of commands, with
billions of options and parameters), but I must say it has been a lot
easier to install than what I expected and the kind a support I'm
getting from people like you is far better than what I'm used to with
many commercial software companies. I hope I can be of some assitance to
future newcomers.
I've been through installing/configuring Linux, KDE, FTP (had small
problem I fixed myself), PHP (major screw-up) and next step will be
MySQL.

Many thanks for you assistance and for your time, JF

> Hi Scott,
>
> Many thanks for your help.
>
> 1 - I do see several blocks <IfDefine>...</IfDefine> in httpd.conf but
I
> only got:
>     root 3353 0.0 0.3 1728 564 pts/1 s 15:48 0:00 fgrep httpd
> when I did
>     ps auxww | fgrep httpd

Start Apache first. :) That command will show you all the running Apache

processes, their arguments, and a bunch of other information about them.

> 4 - It still doesn't work.
> I'm testing with following index.html. Can you suggest any other test
?

Yeah, don't name your test index.html. Use index.php. PHP will process
all the filetypes it has been told to. You should find something like
this in your configuration file:

     <IfDefine HAVE_PHP4>
         AddType application/x-httpd-php .php
     </IfDefine>

(after the LoadModule/AddModule stuff.) If you want that to be in the
default list of things to check in a new directory, make sure index.php
is in your DirectoryIndex line.

You could have an equivalent AddType line for .html, but it would be
dumb. PHP would process all HTML files, which would slow things down
unnecessarily.

--
Scott Lamb

--- End Message ---
--- Begin Message ---
Dear Gabriel !

 > I'm recieving an error that apache could not start because of some >entry
 >point not found in php4ts.dll...
 >    I'm using Win2000; APACHE_1_3_12_WIN32; PHP404...
 >    I've tried copying the file into WinNT/system32, WinNT/system, 
 >WinNT and
 >in Apache's directory... but that wouldn't work...
 >    What else can I try ?

You should try to copy php4apache.dll and/or php4apache2.dll into Apache 
directory or Windows directory. Unfortunately I don't remember, if you 
wait upto tomorrow I see it on my home computer.

Best regards,
Sincerely yours,
Yuriy Rusinov.

--- End Message ---
--- Begin Message ---
after configuring everything version 4.2.1, and I include the new shared
object, I get this error:

[root@performancehosting php-4.2.1]# apachectl configtest
Checking configuration sanity for httpd:  Syntax error on line 60 of
/etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server:
/etc/httpd/modules/libphp4.so: undefined symbol: gss_nt_service_name
                                                                [FAILED]
Checking configuration sanity for httpd-perl:  Syntax error on line 56 of
/etc/httpd/conf/httpd-perl.conf:
Cannot load /etc/httpd/modules/libphp4.so into server:
/etc/httpd/modules/libphp4.so: undefined symbol: gss_nt_service_name
                                                                [FAILED]

I'm using Mandrake Linux 8.2, installing php 4.2.1 and you can see the older
PHP configuration here:

http://www.performancehosting.net/php.php

Anyone seen something like this or have any ideas on what's up?

Thanks
Robert


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

Thanks for the replies to my message regarding gd errors while compiling 
PHP.

I finally managed to solve it using this method. Note that I am using a 
Redhat Linux system to do the compile.


1) Compiled and installed libpng 1.2.4

wget www.libpng.org/pub/png/src/libpng-1.2.4.tar.gz
tar zxvf libpng-1.2.4.tar.gz
cd libpng-1.2.4
mv scripts/makefile.linux Makefile
make
make install


2) Compiled and installed libjpeg 6b

wget ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
tar zxvf jpegsrc.v6b.tar.gz
cd jpeg-6b
./configure --enable-shared
make
make install


3) Compiled and installed GD 1.8.4

wget www.boutell.com/gd/http/gd-1.8.4.tar.gz
tar zxvf gd-1.8.4.tar.gz
cd gd-1.8.4
pico Makefile

-------
NOTE: On some systems gd refuses to compile unless you reverse the LIBS line 
in the Makefile as follows,
LIBS=-lm -lz -lpng -lgd

(save the file using CTRL-X and Y)
-------

make
make install


4) Now configure, compile and install PHP 4.1.2 as follows,

./configure --prefix=/usr --with-config-file-path=/etc/httpd 
--with-exec-dir=/usr/bin --with-libdir=/usr/lib --enable-bcmath 
--enable-magic-quotes --enable-safe-mode --enable-mbstring 
--enable-mbstr-enc-trans --enable-track-vars --enable-wddx=shared 
--enable-mm=shared --enable-xml --enable-ftp --disable-debug 
--with-apxs=/usr/sbin/apxs --with-zlib --with-ttf 
--with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib 
--with-gd=/usr/local --with-gettext=/usr --with-regex=system --with-db 
--with-gdbm --with-interbase=shared --with-pgsql=shared --with-ldap 
--with-imap --with-pdflib=/usr --with-mysql

-------
NOTE: The configure line will change depending on what you support you need 
with PHP, but generally the above configure has support for many common 
stuff used in PHP.
-------

make > /dev/null
make install


5) Now restart apache (the command to restart apache depends on your system)

/etc/rc.d/init.d/httpd restart


Thats about it. Now check using phpinfo if the newly compiled php works.

regards,
-- Santosh


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

--- End Message ---

Reply via email to