php-install Digest 4 Jul 2002 11:07:29 -0000 Issue 915
Topics (messages 7608 through 7617):
Re: Gee, guys, some help, please
7608 by: Rasmus Lerdorf
Re: PHP tags are not recogonized.
7609 by: kramer
apache can't install off of make install
7610 by: Desmond Lee
Re: GD2 compile
7611 by: Sidney[hotmail]
GD2 compiling Problem
7612 by: Sidney[hotmail]
PHP Include
7613 by: drbworld drbworld
URGENT : Unable to pass options to ./configure
7614 by: abdel.ramli.mpsa.com
Help!!!
7615 by: John Lazos
Which Apache download to install??
7616 by: news.per.connect.net.au
Error in IIS
7617 by: news.per.connect.net.au
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 ---
> My criticism is meant to be constructive: if PHP wants to be a business class,
> production-grade application, it needs to be accessible and usable in the most
> straightforward way possible. Further the deponent sayeth not.
Well, nobody has ever claimed that to be the goal for PHP. Most of us
simply want a tool that works. We try hard to help others and we do a
pretty good job documenting things for newbies, but in the end that will
always take second place to actually building the tool for our own use.
Like most open source components out there, it caters to those capable of
helping themselves. Shrink-wrapped packaging and telephone support is not
us.
In your case you didn't understand the difference between an LDAP server
and an LDAP client and which pieces you might need in order to build an
LDAP client application. I don't think you should expect the PHP
documentation to explain this to you. If it had to explain each and every
thing PHP can talk to down to that level, it would be 10,000 pages long
instead of the 2000 or so pages it is now.
-Rasmus
--- End Message ---
--- Begin Message ---
Alright,
It worked in my Linux box( thanks a zillion folks, you're awesome ) but not
in Windows 2000.
This is my status in W2k.
1. Apache( 2.0.35 ) is up and running.
2. I added the following lines to httpd.conf
LoadModule php4_module "F:/Program
Files/php-4.2.1-Win32/sapi/php4apache.dll" - (a)
LoadModule php4_module "D:/WINNT/system32/php4apache.dll" - (b)
DirectoryIndex index.html index.html.var index.htm index.shtml index.php
index.php3 index.php4
ScriptAlias /php/ "F:/Program Files/php-4.2.1-Win32/"
AddType application/x-httpd-php .php .php3 .php4 .phtml
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "F:/Program Files/php-4.2.1-Win32/php.exe"
3. The problem with (a) or (b). The server comes up ONLY when I comment
these lines. i.e. I try both of them ( not at the same time ) but it doesn't
work.
4. Question : Do I point to the real location of this dll or the copied one.
I copied that dll( along with the other to be safe ) in my WINNT/system32.
Is that ok ?
what do I miss now ?
5. Also, to associate .php extension, I couldn't find anything as suggested
in http://www.umesd.k12.or.us/php/win32install.html#apache. But this is what
I did, open windows explorer -> tools -> options -> file types -> < I added
a new type and associated the dll to it. Is this required.
Thanks.
"Shanky" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanks Frederic. I did add both of what you've suggessted to httpd.conf
> - restarted httpd by apachectl restart, but no luck. Still it just
> displays what I've in my test.php instead of displaying them in php-way.
>
> I'm very much new to Apache and PHP. I hope the position of these tags
> in httpd.conf doesn't matter( since I've added them in the last line ).
>
> Frederic Trudeau wrote:
>
> >your httpd.conf needs this ;
> >
> >AddType application/x-httpd-php .php .php4 .php3 .phtml
> >AddType application/x-httpd-php-source .phps
> >
> >... and ...
> >
> >DirectoryIndex index.html index.htm index.shtml index.php index.php3
> >index.php (and others...)
> >
> >
> >---------------------------------------------------
> >Frederic Trudeau
> >Coder, Colocation, Development
> >[EMAIL PROTECTED]
> >514.529.3000 ext. 246
> >----- Original Message -----
> >From: "kramer" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Tuesday, July 02, 2002 5:24 PM
> >Subject: [PHP-INST] PHP tags are not recogonized.
> >
> >
> >>hello,
> >>
> >>I've Apache 1.3.20 up and working. My local-host displays this in
> >>
> >Netscape:
> >
> >>Running version Apache-AdvancedExtranetServer/1.3.20 (Mandrake
> >>Linux/3mdk) PHP/4.2.1 mod_ssl/2.8.4 OpenSSL/0.9.6b
> >>
> >>I installed PHP 4.2.1 under Quick Install DSO option. It went fine - No
> >>complaints from make/make install either.
> >>
> >>As the INSTALL in the php directory suggested, I copied php.ini-dist to
> >>/usr/local/lib/php.ini - I didn't modify anthing in here.
> >>
> >>As suggessted I added the line AddType application/x-httpd-php .php in
> >>my httpd.conf
> >>
> >>Now, my browser doesn't display any PHP tags. It just displays
> >><?phpinfo()?> which I've in test.php.
> >>
> >>What've I missed ?
> >>
> >>All help is very much appreciated. Thanks.
> >>
> >>- shanky.
> >>
> >>
> >>--
> >>PHP Install Mailing List (http://www.php.net/)
> >>To unsubscribe, visit: http://www.php.net/unsub.php
> >>
> >>
> >>
> >
> >
> >
>
>
--- End Message ---
--- Begin Message ---
Hi there
I'm trying to install apache2 over again w/ intentions of making it work w/
php. However i couldn't get php installed. After talking to Jonathan on ALO
IM (who was super nice) i was recommended to completely reomve php, apache
and reinstall apache 2 over again following the instructions off the
www.e-gineer.com/instructions/install-apache1xx-on-linux.phtml.
However, when following the instrcutions the 'make install' didn't work. (of
course i'm following the instructions using apache2 and not apache 1.3.
This is what i did.
Unzip the source and put it in /usr/local/etc/httpd-2.0.39/
make a soft link to the above dir 'ln -s httpd-2.0.39 httpd'
go into the /usr/local/etc/httpd dir
execute
>./configure --prefix=/usr/local/etc/httpd --sysconfdir=/www/conf
>--enable-module=rewrite --enable-module=status --enable-module=so
>make
>make install
and then i get the following error (after a bunch of stuff gets printed to
screen):
cp: `/usr/local/etc/httpd/include/util_xml.h' and
`/usr/local/etc/httpd/include/util_xml.h' are the same file
make[1]: *** [install-include] Error 1
make[1]: Leaving directory `/usr/local/etc/httpd-2.0.39'
make: *** [install-recursive] Error 1
ALso, when i go into /usr/local/etc/httpd/bin and try to exetue
> ./apachectl start
i get the following:
./apachectl: /usr/local/etc/httpd/bin/httpd: No such file or directory
The apachectl file has this in it for some reason:
# the path to your httpd binary, including options if necessary
HTTPD='/usr/local/etc/httpd/bin/httpd'
#
# pick up any necessary environment variables
if test -f /usr/local/etc/httpd/bin/envvars; then
. /usr/local/etc/httpd/bin/envvars
fi
#
Can some one please help :)
thanks
Desmond
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--- End Message ---
--- Begin Message ---
Dear Sir,
After I complie all the files without t1lib, I can see inside the
"config.cache", I can find the:
ac_cv_lib_gd_gdImageCreateFromJpeg=${ac_cv_lib_gd_gdImageCreateFromJpeg=yes}
ac_cv_lib_gd_gdImageCreateFromPng=${ac_cv_lib_gd_gdImageCreateFromPng=yes}
But I cannot use this function after I boot up the Linux Server. Is there
still got some problem I have not solved?
What is the function list i can use to create Image?
Have there got any method for me to find out the php function which i can be
use/ i have already installed in my server?
I have spend so much time and i cannot solve this problem, could anyone help
me?
Best regards,
Sidney
"Sidney" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
> Dear Sir,
>
> I have read the document and following the step to setup my Redhat 7.0
Linux
> Server. But when I at Step 5 about Install t1lib, I am failed when i am
> "make" it.
>
> Do you know what is going on?
>
> And also, what is the function of this module(t1lib)?
>
> Could anyone can help me?
>
> Best regards,
> Sidney
>
>
============================================================================
> ====================
> # tar xzf t1lib-1.3.1.tar.gz -C /usr/local
> # cd /usr/local
> # mv t1lib-1.3.1 t1lib
> # ./configure
> # make
> :
> :
> gcc -o subset subset.lo ../lib/libt1.la -lm
> gcc -o .libs/subset subset.o
> ../lib/.libs/libt1.so -lm -Wl,--rpath -Wl,/usr/local/lib
> creating subset
> make[1]: Leaving directory `/usr/local/t1lib/examples'
> for i in doc; do \
> (cd $i; make 'CC=gcc'
>
'CFLAGS=-g -O2 -DT1LIB_IDENT="\"1.3.1\"" -DGLOBAL_CONFIG_DIR="\"/usr/local/s
> hare/t1lib\"" -DT1LIB_NO_X11_SUPPORT ' 'OPTIONS=' ) || exit 1; \
> done
> make[1]: Entering directory `/usr/local/t1lib/doc'
> latex t1lib_doc.tex
> make[1]: latex: Command not found
> make[1]: *** [t1lib_doc.dvi] Error 127
> make[1]: Leaving directory `/usr/local/t1lib/doc'
> make: *** [doc] Error 1
>
>
============================================================================
> ====================
>
>
> "Matt Schroebel" <[EMAIL PROTECTED]>
> ???????:[EMAIL PROTECTED]
> >> ----- Original Message -----
> >> From: "Balázs Csaba" <[EMAIL PROTECTED]>
> >> To: "PhpInstall (Elektronikus levelek)" <[EMAIL PROTECTED]>
> >> Sent: Tuesday, July 02, 2002 3:56 AM
> >> Subject: [PHP-INST] GD2 compile
> >>
> >> I would like to find some inormation to build php4.2.1 with
> >> gD2. I have
> >> downloaded the GD2 source (htp:/www.boutell.com/gd/), but there is not
> any
> >> PHP specific .c or .h file. I cannot overwrite GD1 files in
/php/ext/gd
> >> directory.
> >> Should I build an .SO or .A or .LIB file first?
> >> Is there any simple mode (./configure or any other) to build this GD
> version?
>
> > -----Original Message-----
> > From: Jason Reid [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 02, 2002 2:18 PM
> > To: Balázs Csaba; PhpInstall (Elektronikus levelek)
> > Subject: Re: [PHP-INST] GD2 compile
> >
> >
> > http://www.php.net/~rasmus/gd.html
> >
>
> Also: http://www.php-faq.com/gdinstall.php
>
>
--- End Message ---
--- Begin Message ---
Dear Sir,
After I complie all the files without t1lib, I can see inside the
"config.cache", I can find the:
ac_cv_lib_gd_gdImageCreateFromJpeg=${ac_cv_lib_gd_gdImageCreateFromJpeg=yes}
ac_cv_lib_gd_gdImageCreateFromPng=${ac_cv_lib_gd_gdImageCreateFromPng=yes}
But I cannot use this function after I boot up the Linux Server. Is there
still got some problem I have not solved?
What is the function list i can use to create Image?
Have there got any method for me to find out the php function which i can be
use/ i have already installed in my server?
I have spend so much time and i cannot solve this problem, could anyone help
me?
Best regards,
Sidney
"Sidney" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó·s»D
:[EMAIL PROTECTED]
> Dear Sir,
>
> I have read the document and following the step to setup my Redhat 7.0
Linux
> Server. But when I at Step 5 about Install t1lib, I am failed when i am
> "make" it.
>
> Do you know what is going on?
>
> And also, what is the function of this module(t1lib)?
>
> Could anyone can help me?
>
> Best regards,
> Sidney
>
>
============================================================================
> ====================
> # tar xzf t1lib-1.3.1.tar.gz -C /usr/local
> # cd /usr/local
> # mv t1lib-1.3.1 t1lib
> # ./configure
> # make
> :
> :
> gcc -o subset subset.lo ../lib/libt1.la -lm
> gcc -o .libs/subset subset.o
> ../lib/.libs/libt1.so -lm -Wl,--rpath -Wl,/usr/local/lib
> creating subset
> make[1]: Leaving directory `/usr/local/t1lib/examples'
> for i in doc; do \
> (cd $i; make 'CC=gcc'
>
'CFLAGS=-g -O2 -DT1LIB_IDENT="\"1.3.1\"" -DGLOBAL_CONFIG_DIR="\"/usr/local/s
> hare/t1lib\"" -DT1LIB_NO_X11_SUPPORT ' 'OPTIONS=' ) || exit 1; \
> done
> make[1]: Entering directory `/usr/local/t1lib/doc'
> latex t1lib_doc.tex
> make[1]: latex: Command not found
> make[1]: *** [t1lib_doc.dvi] Error 127
> make[1]: Leaving directory `/usr/local/t1lib/doc'
> make: *** [doc] Error 1
>
>
============================================================================
> ====================
>
>
> "Matt Schroebel" <[EMAIL PROTECTED]>
> ???????:[EMAIL PROTECTED]
> >> ----- Original Message -----
> >> From: "Balázs Csaba" <[EMAIL PROTECTED]>
> >> To: "PhpInstall (Elektronikus levelek)" <[EMAIL PROTECTED]>
> >> Sent: Tuesday, July 02, 2002 3:56 AM
> >> Subject: [PHP-INST] GD2 compile
> >>
> >> I would like to find some inormation to build php4.2.1 with
> >> gD2. I have
> >> downloaded the GD2 source (htp:/www.boutell.com/gd/), but there is not
> any
> >> PHP specific .c or .h file. I cannot overwrite GD1 files in
/php/ext/gd
> >> directory.
> >> Should I build an .SO or .A or .LIB file first?
> >> Is there any simple mode (./configure or any other) to build this GD
> version?
>
> > -----Original Message-----
> > From: Jason Reid [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, July 02, 2002 2:18 PM
> > To: Balázs Csaba; PhpInstall (Elektronikus levelek)
> > Subject: Re: [PHP-INST] GD2 compile
> >
> >
> > http://www.php.net/~rasmus/gd.html
> >
>
> Also: http://www.php-faq.com/gdinstall.php
>
>
--- End Message ---
--- Begin Message ---
My site is ...
http://drbworld.d2g.com/drbworld/default.php
I'm using the code
<?php if(!is_file($id)){ $id="contactus.htm";} include($id); ?></div>
in my default.php file. When I go to
http://drbworld.d2g.com/drbworld/default.php?id=contactus.htm or
http://drbworld.d2g.com/drbworld/default.php
it's okay, but when i go to
http://drbworld.d2g.com/drbworld/default.php?id=download.htm
it's the same page as contactus.htm
Please contact me soon. Thank YOu
Saiyan Life
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--- End Message ---
--- Begin Message ---
Hi all,
I'm facing an urgent blocking pb.
While compiling any version of php from the 4.1.0, I always keep getting
the following error message.
The rest of the compile goes OK, but obviously my parameters are not taken
into account
Thanx for ur help
I'm running Redhat 7.2
./configure --prefix=/soft/php --with-mysql
echo: --prefix: unknown option
echo: --with-mysql: unknown option
\\\___///
\\ _ _ //
( @ @ )
+-------------------oOOo-(_)-oOOo--------------------+
Abdel RAMLI
[EMAIL PROTECTED]
Consultant Altaïr Technologies
PSA Peugeot Citroën | site de Bessoncourt
Unité: DINQ/DSIN/INSI/ETSO/PRD
Tel : 03 84 46 92 79 (229279)
+--------------------------- ---Oooo-------------------+
oooO ( )
( ) )/
\( (_)
(_)
"carlos silva"
<carlosdiassousasilv Pour : <[EMAIL PROTECTED]>
[EMAIL PROTECTED]> cc :
Objet : [PHP-INST] install php 4.2.1
with apache 2.0.3
04/07/2002 18:02
I have a problem!
I cant make work PHP with Apache .
php is : php 4.2.1
apache is :Apache 2.0.3
and MYSQL is :MYSQL-MAX- 3.2
I need some help , i need to know how install PHP to make work with apache
.
best regards
--- End Message ---
--- Begin Message ---
Hi, I installed apache with support of php as i found om the online
manual at php.net.
I created a simple php file named hello.php
<html>
<head>
<title>PHP Test Page</title>
</head>
<body>
<?php echo "Hello <p>"; ?>
</body>
</html>
and i the file in my htdocs directory i restarted apache and when i'm
trying to access the page http://localhost/hello.php as a result i'm
getting the contents of the file hello.,php
which are:
<html>
<head>
<title>PHP Test Page</title>
</head>
<body>
<?php echo "Hello <p>"; ?>
</body>
</html>
What is wrong is my apache able to display php pages?
Thanx for your time!
--- End Message ---
--- Begin Message ---
I'm running WinXP Pro and want to use PHP running through Apache. I have
been to the site and there are so many downloads... which one do I make and
install?
Thanks!
--- End Message ---
--- Begin Message ---
I am setting up PHP on WinXP Pro with IIS 5.1.
I tried to start the IIS server and I get an "Unexpected error 0x8ffe2740
occured." error.
Anyone know how to resolve this problem
--- End Message ---