php-install Digest 3 May 2001 06:48:19 -0000 Issue 290

Topics (messages 2982 through 2996):

Escaping from HTML
        2982 by: Mike Hagan

What am I doing wrong?
        2983 by: Robert Staph
        2984 by: B. van Ouwerkerk
        2989 by: Jani Taskinen

(take 2) What am I doing wrong?
        2985 by: Robert Staph

pgsql 7.1 build problem...
        2986 by: Ron Patterson
        2992 by: Yasuo Ohgaki
        2995 by: Yasuo Ohgaki

gd-2.0.1
        2987 by: Dave Mariner

php 4.0.5 microtime compiler error
        2988 by: poelzi

oracle configuration problem
        2990 by: Patrick Lai
        2991 by: Patrick Lai

Re: What do I need?
        2993 by: Yasuo Ohgaki

Re: Install Probs with LInux/Apache/MySQL
        2994 by: Yasuo Ohgaki

PHP 4.0.5 & gd 2.0.1
        2996 by: Philip Snyder

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]


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


I downloaded the latest copy PHP 4.0.5 yesterday and Installed it on:
        Windows NT 4.0, IIS 3.0, PHP 4.0.5 CGI

There were no installation problems or errors.

When I can run a .php script from Netscape and IE by entering <IIS IP Address>/ 
hello.php, everything works as expected.

 However, when I use the techiques shown in the PHP manual Chapter 5 : Escaping from 
HTML - the PHP commands are
ignored.  All I get for output in my test html file  is: "Why me?!".  I never see 
"Hello World".

See code below.

Can you explain to me what is wrong and, better yet, how to correct the problem?


Thanks,

Mike Hagan

1Mart Corporation
2149 Roosevelt Avenue
Redwood City, CA 94061
Voice: 650-363-7700/Fax: 650-363-7703

hello.php:
--------------------------------------------START---------------------------------------------
<html><head><title>PHP Test</title></head>
<body>

<?php
    if(strstr($HTTP_USER_AGENT,"MSIE")) {
        ?>
        <center><b>You are using Internet Explorer</b></center>
        <?
    } else {
        ?>
        <center><b>You are not using Internet Explorer</b></center>
        <?
    }
?>

<?php phpinfo()?>
</body></html>
--------------------------------------------END---------------------------------------------


index.html (Default startup file)
--------------------------------------------START---------------------------------------------
<html><head><title>PHP Test</title></head>
<body>
Why me?!

<script language="php">

echo "Hello World<P>"; ?>

</script>
</body>
</html>
--------------------------------------------END---------------------------------------------






While trying to install php 4.0.5 from source using:

./configure --with-mysql --with-apache=/usr/include/apache --enable-track-vars

No matter what path I give, I always get back (with the path I gave it as the error):

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache module support via DSO through APXS... no
checking for Apache module support... no
configure: error: Invalid Apache directory - unable to find httpd.h under 
/usr/include/apache

But, the kicker is, I have the file, its right where I tell the script it is.  
Permissions look ok, read for everyone(rwx for root) all the way to it.  I'm running 
the ./configure as root.  I am on Redhat 7.0 with apache 1.3.12-25.  I have the 
apache, apache-manual, apache-dev, and apache src rpm's installed.

Tried adding the dir in my path, no luck.  I can ls in /usr/include/apache and the 
file is right there.  I'm out of ideas.

I've tried to install php 4.0.1 and php 4.0.4 from rpm, that works.  Try to install 
php-mysql can't find mysql..  yet another oddity because mysql is there, otherwise 
ICRADIUS wouldn't work...  but thats another story that no one can help me solve.

[root@guardian /root]# rpm -i php-mysql-4.0.4pl1-9.i386.rpm
error: failed dependencies:
        mysql is needed by php-mysql-4.0.4pl1-9
        libmysqlclient.so.10   is needed by php-mysql-4.0.4pl1-9

[root@guardian /root]# rpm -qa | grep MySQL
MySQL-devel-3.23.36-1
MySQL-client-3.23.36-1
MySQL-3.23.36-1

All of the above work great if I add the packages to an initial install, but I don't 
have that option at this time.



Robert Staph, W3RCS
The Center for Advanced Technologies






You might need to install Apache from source too. I'm not sure, don't like 
Redhat. I know the MySQL RPM on the cd has u HUGE bug.. perhaps this is 
also causing you one or two problems.. not sure.

uhm.. it's --with-mysql=/path/to/mysql not --with-mysql

Apache 1.3.12 you say.... thats pretty old.. current is 1.3.19 Don't these 
redcrap boys ever keep their RPM's up to date??

I'm always untarring apache then run a ./configure 
--prefix=/path/where/i/want/apache
Then I start compiling PHP.

More info on how to compile these together.. www.devhed.com

Bye,


B.



At 16:08 2-5-01 -0400, Robert Staph wrote:
>While trying to install php 4.0.5 from source using:
>
>./configure --with-mysql --with-apache=/usr/include/apache --enable-track-vars
>
>No matter what path I give, I always get back (with the path I gave it as 
>the error):
>
>Configuring SAPI modules
>checking for AOLserver support... no
>checking for Apache module support via DSO through APXS... no
>checking for Apache module support... no
>configure: error: Invalid Apache directory - unable to find httpd.h under 
>/usr/include/apache
>
>But, the kicker is, I have the file, its right where I tell the script it 
>is.  Permissions look ok, read for everyone(rwx for root) all the way to 
>it.  I'm running the ./configure as root.  I am on Redhat 7.0 with apache 
>1.3.12-25.  I have the apache, apache-manual, apache-dev, and apache src 
>rpm's installed.
>
>Tried adding the dir in my path, no luck.  I can ls in /usr/include/apache 
>and the file is right there.  I'm out of ideas.
>
>I've tried to install php 4.0.1 and php 4.0.4 from rpm, that works.  Try 
>to install php-mysql can't find mysql..  yet another oddity because mysql 
>is there, otherwise ICRADIUS wouldn't work...  but thats another story 
>that no one can help me solve.
>
>[root@guardian /root]# rpm -i php-mysql-4.0.4pl1-9.i386.rpm
>error: failed dependencies:
>         mysql is needed by php-mysql-4.0.4pl1-9
>         libmysqlclient.so.10   is needed by php-mysql-4.0.4pl1-9
>
>[root@guardian /root]# rpm -qa | grep MySQL
>MySQL-devel-3.23.36-1
>MySQL-client-3.23.36-1
>MySQL-3.23.36-1
>
>All of the above work great if I add the packages to an initial install, 
>but I don't have that option at this time.
>
>
>
>Robert Staph, W3RCS
>The Center for Advanced Technologies





On Wed, 2 May 2001, Robert Staph wrote:

>While trying to install php 4.0.5 from source using:
>
>./configure --with-mysql --with-apache=/usr/include/apache --enable-track-vars

You have to point --with-apache to the Apache SOURCES. Not to the install.
If you have installed Apache from e.g. RPM, you can get it to work by
just changing --with-apache to --with-apxs=/full/path/to/apxs

--Jani


>No matter what path I give, I always get back (with the path I gave it as the error):
>
>Configuring SAPI modules
>checking for AOLserver support... no
>checking for Apache module support via DSO through APXS... no
>checking for Apache module support... no
>configure: error: Invalid Apache directory - unable to find httpd.h under 
>/usr/include/apache
>
>But, the kicker is, I have the file, its right where I tell the script it is.  
>Permissions look ok, read for everyone(rwx for root) all the way to it.  I'm running 
>the ./configure as root.  I am on Redhat 7.0 with apache 1.3.12-25.  I have the 
>apache, apache-manual, apache-dev, and apache src rpm's installed.
>
>Tried adding the dir in my path, no luck.  I can ls in /usr/include/apache and the 
>file is right there.  I'm out of ideas.
>
>I've tried to install php 4.0.1 and php 4.0.4 from rpm, that works.  Try to install 
>php-mysql can't find mysql..  yet another oddity because mysql is there, otherwise 
>ICRADIUS wouldn't work...  but thats another story that no one can help me solve.
>
>[root@guardian /root]# rpm -i php-mysql-4.0.4pl1-9.i386.rpm
>error: failed dependencies:
>        mysql is needed by php-mysql-4.0.4pl1-9
>        libmysqlclient.so.10   is needed by php-mysql-4.0.4pl1-9
>
>[root@guardian /root]# rpm -qa | grep MySQL
>MySQL-devel-3.23.36-1
>MySQL-client-3.23.36-1
>MySQL-3.23.36-1
>
>All of the above work great if I add the packages to an initial install, but I don't 
>have that option at this time.
>
>
>
>Robert Staph, W3RCS
>The Center for Advanced Technologies
>
>
>





I hope I get a slightly less elitist reply eventually.

I'd try to recompile apache, but last time I tried to compile apache, it had
even more errors then I'm getting now...  This project is worth a good
fight, but not one that will ~require~ that I recode half the kernel.

On a side note, will removing the check statements that are cause the error
fix it..  The file is there, any user can read it, its got to be something
with the configure script.

Also, any good places I could learn how to change some entries in the rpm
database.  I figure if I tell the php-mysql rpm what it wants to hear, it
will listen.

Robert Staph, W3RCS
The Center for Advanced Technologies


----- Original Message -----
From: B. van Ouwerkerk <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 02, 2001 4:47 PM
Subject: Re: [PHP-INST] What am I doing wrong?


> You might need to install Apache from source too. I'm not sure, don't like
> Redhat. I know the MySQL RPM on the cd has u HUGE bug.. perhaps this is
> also causing you one or two problems.. not sure.
>
> uhm.. it's --with-mysql=/path/to/mysql not --with-mysql
>
> Apache 1.3.12 you say.... thats pretty old.. current is 1.3.19 Don't these
> redcrap boys ever keep their RPM's up to date??
>
> I'm always untarring apache then run a ./configure
> --prefix=/path/where/i/want/apache
> Then I start compiling PHP.
>
> More info on how to compile these together.. www.devhed.com
>
> Bye,
>
>
> B.
>
>
>
> At 16:08 2-5-01 -0400, Robert Staph wrote:
> >While trying to install php 4.0.5 from source using:
> >
>
>./configure --with-mysql --with-apache=/usr/include/apache --enable-track-v
ars
> >
> >No matter what path I give, I always get back (with the path I gave it as
> >the error):
> >
> >Configuring SAPI modules
> >checking for AOLserver support... no
> >checking for Apache module support via DSO through APXS... no
> >checking for Apache module support... no
> >configure: error: Invalid Apache directory - unable to find httpd.h under
> >/usr/include/apache
> >
> >But, the kicker is, I have the file, its right where I tell the script it
> >is.  Permissions look ok, read for everyone(rwx for root) all the way to
> >it.  I'm running the ./configure as root.  I am on Redhat 7.0 with apache
> >1.3.12-25.  I have the apache, apache-manual, apache-dev, and apache src
> >rpm's installed.
> >
> >Tried adding the dir in my path, no luck.  I can ls in
/usr/include/apache
> >and the file is right there.  I'm out of ideas.
> >
> >I've tried to install php 4.0.1 and php 4.0.4 from rpm, that works.  Try
> >to install php-mysql can't find mysql..  yet another oddity because mysql
> >is there, otherwise ICRADIUS wouldn't work...  but thats another story
> >that no one can help me solve.
> >
> >[root@guardian /root]# rpm -i php-mysql-4.0.4pl1-9.i386.rpm
> >error: failed dependencies:
> >         mysql is needed by php-mysql-4.0.4pl1-9
> >         libmysqlclient.so.10   is needed by php-mysql-4.0.4pl1-9
> >
> >[root@guardian /root]# rpm -qa | grep MySQL
> >MySQL-devel-3.23.36-1
> >MySQL-client-3.23.36-1
> >MySQL-3.23.36-1
> >
> >All of the above work great if I add the packages to an initial install,
> >but I don't have that option at this time.
> >
> >
> >
> >Robert Staph, W3RCS
> >The Center for Advanced Technologies
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>





Hi there,

I'm building the new PHP-4.0.5 with support for PostgreSQL 7.1 database and
get the following build error:

gmake[3]: Entering directory `/net/clear1/home/rpatters/php-4.0.5/ext/pgsql'
/bin/sh /net/clear1/home/rpatters/php-4.0.5/libtool --silent --mode=compile
gcc
-I. -I/net/clear1/home/rpatters/php-4.0.5/ext/pgsql
-I/net/clear1/home/rpatters/php-4.0.5/main
-I/net/clear1/home/rpatters/php-4.0.5 -I/net/clear1/home/rpatters/as3/include
-I/net/clear1/home/rpatters/php-4.0.5/Zend
-I/net/clear1/home/rpatters/php-4.0.5/ext/xml/expat/xmltok
-I/net/clear1/home/rpatters/php-4.0.5/ext/xml/expat/xmlparse
-I/net/clear1/home/rpatters/php-4.0.5/TSRM
-I/net/clear1/home/rpatters/pgsql/include -D_POSIX_PTHREAD_SEMANTICS
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DSUPPORT_UTF8
-DXML_BYTE_ORDER=21
-I../TSRM -g -O2 -c pgsql.c
pgsql.c: In function `_notice_handler':
pgsql.c:158: warning: passing arg 1 of `php_log_err' discards `const' from
pointer target type
pgsql.c: In function `_rollback_transactions':
pgsql.c:167: `pgsql_globals' undeclared (first use this function)
pgsql.c:167: (Each undeclared identifier is reported only once
pgsql.c:167: for each function it appears in.)
gmake[3]: *** [pgsql.lo] Error 1
gmake[3]: Leaving directory /net/clear1/home/rpatters/php-4.0.5/ext/pgsql'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/net/clear1/home/rpatters/php-4.0.5/ext/pgsql'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/net/clear1/home/rpatters/php-4.0.5/ext'
gmake: *** [all-recursive] Error 1

Worked ok with PostgreSQL 7.0.3

Any ideas?

Thanks,
Ron Patterson
USA.NET

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1




Some thing must be broken in 4.0.5. I could compile w/o error around RC5 or RC6,
I think.

I compiled CVS source with PostgreSQL7.1's libpq. It compiles and seems working.
(There were warning regarding notice handler, though)

Regards,
--
Yasuo Ohgaki


"Ron Patterson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi there,

I'm building the new PHP-4.0.5 with support for PostgreSQL 7.1 database and
get the following build error:

gmake[3]: Entering directory `/net/clear1/home/rpatters/php-4.0.5/ext/pgsql'
/bin/sh /net/clear1/home/rpatters/php-4.0.5/libtool --silent --mode=compile
gcc
-I. -I/net/clear1/home/rpatters/php-4.0.5/ext/pgsql
-I/net/clear1/home/rpatters/php-4.0.5/main
-I/net/clear1/home/rpatters/php-4.0.5 -I/net/clear1/home/rpatters/as3/include
-I/net/clear1/home/rpatters/php-4.0.5/Zend
-I/net/clear1/home/rpatters/php-4.0.5/ext/xml/expat/xmltok
-I/net/clear1/home/rpatters/php-4.0.5/ext/xml/expat/xmlparse
-I/net/clear1/home/rpatters/php-4.0.5/TSRM
-I/net/clear1/home/rpatters/pgsql/include -D_POSIX_PTHREAD_SEMANTICS
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DSUPPORT_UTF8
-DXML_BYTE_ORDER=21
-I../TSRM -g -O2 -c pgsql.c
pgsql.c: In function `_notice_handler':
pgsql.c:158: warning: passing arg 1 of `php_log_err' discards `const' from
pointer target type
pgsql.c: In function `_rollback_transactions':
pgsql.c:167: `pgsql_globals' undeclared (first use this function)
pgsql.c:167: (Each undeclared identifier is reported only once
pgsql.c:167: for each function it appears in.)
gmake[3]: *** [pgsql.lo] Error 1
gmake[3]: Leaving directory /net/clear1/home/rpatters/php-4.0.5/ext/pgsql'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/net/clear1/home/rpatters/php-4.0.5/ext/pgsql'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/net/clear1/home/rpatters/php-4.0.5/ext'
gmake: *** [all-recursive] Error 1

Worked ok with PostgreSQL 7.0.3

Any ideas?

Thanks,
Ron Patterson
USA.NET

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]






I compiled PHP4.0.5 with following config

./configure \
--with-apxs \
--disable-short-tags \
--disable-mysql \
--enable-bcmath  \
--enable-ftp \
--enable-shmop \
--enable-sysvsem \
--enable-sysvshm \
--enable-socket \
--enable-mbstring \
--without-mysql \
--enable-inline-optimization \
--with-iconv \
--with-imap \
--with-mhash \
--with-mcrypt \
--with-pgsql \
--with-swf \
--with-zlib \
--with-bz2 \
--with-gd \
--with-jpeg-dir=/usr \
--with-xpm-dir=/usr/X11R6

I compiles and works. There is warning message for pgsql.c, though.

pgsql.c: In function `_notice_handler':
pgsql.c:158: warning: passing arg 1 of `php_log_err' discards `const' from
pointer target type

RedHat Linux7.0.1/j (glibc 2.2)

--
Yasuo Ohgaki


"Ron Patterson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi there,

I'm building the new PHP-4.0.5 with support for PostgreSQL 7.1 database and
get the following build error:

gmake[3]: Entering directory `/net/clear1/home/rpatters/php-4.0.5/ext/pgsql'
/bin/sh /net/clear1/home/rpatters/php-4.0.5/libtool --silent --mode=compile
gcc
-I. -I/net/clear1/home/rpatters/php-4.0.5/ext/pgsql
-I/net/clear1/home/rpatters/php-4.0.5/main
-I/net/clear1/home/rpatters/php-4.0.5 -I/net/clear1/home/rpatters/as3/include
-I/net/clear1/home/rpatters/php-4.0.5/Zend
-I/net/clear1/home/rpatters/php-4.0.5/ext/xml/expat/xmltok
-I/net/clear1/home/rpatters/php-4.0.5/ext/xml/expat/xmlparse
-I/net/clear1/home/rpatters/php-4.0.5/TSRM
-I/net/clear1/home/rpatters/pgsql/include -D_POSIX_PTHREAD_SEMANTICS
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DSUPPORT_UTF8
-DXML_BYTE_ORDER=21
-I../TSRM -g -O2 -c pgsql.c
pgsql.c: In function `_notice_handler':
pgsql.c:158: warning: passing arg 1 of `php_log_err' discards `const' from
pointer target type
pgsql.c: In function `_rollback_transactions':
pgsql.c:167: `pgsql_globals' undeclared (first use this function)
pgsql.c:167: (Each undeclared identifier is reported only once
pgsql.c:167: for each function it appears in.)
gmake[3]: *** [pgsql.lo] Error 1
gmake[3]: Leaving directory /net/clear1/home/rpatters/php-4.0.5/ext/pgsql'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/net/clear1/home/rpatters/php-4.0.5/ext/pgsql'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/net/clear1/home/rpatters/php-4.0.5/ext'
gmake: *** [all-recursive] Error 1

Worked ok with PostgreSQL 7.0.3

Any ideas?

Thanks,
Ron Patterson
USA.NET

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]






Hi,
    I need to add true-colour support to some code I'm writing, so want to build 
gd-2.0.1as an extension to PHP4 (currently have 4.0.4pl1). I have the gdlib building 
as a .so but don't know where to go from here. I'm running Mandrake Corporate Server 
1.0.1, if that makes a difference.

                    Thanks in advance,


                            Dave Mariner.




hi,

i just tried to compiler 4.0.5 with

/bin/sh /usr/src/packages/apache/php-4.0.5/libtool --silent
--mode=compile gcc  -I.
-I/usr/src/packages/apache/php-4.0.5/ext/standard
-I/usr/src/packages/apache/php-4.0.5/main
-I/usr/src/packages/apache/php-4.0.5 -I/usr/local/apache/include
-I/usr/src/packages/apache/php-4.0.5/Zend -I/usr/local/ssl/include
-I/usr/local/include -I/usr/include/freetype
-I/usr/local/openldap/include -I/usr/local/mysql/include/mysql
-I/usr/src/packages/apache/php-4.0.5/ext/xml/expat/xmltok
-I/usr/src/packages/apache/php-4.0.5/ext/xml/expat/xmlparse
-I/usr/src/packages/apache/php-4.0.5/TSRM  -DLINUX=22 -DMOD_SSL=208100
-DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8
-DXML_BYTE_ORDER=12 -g -O2  -c microtime.c
microtime.c: In function `php_if_getrusage':
microtime.c:99: storage size of `usg' isn't known
microtime.c:102: `RUSAGE_SELF' undeclared (first use in this function)
microtime.c:102: (Each undeclared identifier is reported only once
microtime.c:102: for each function it appears in.)
microtime.c:108: `RUSAGE_CHILDREN' undeclared (first use in this
function)
make[3]: *** [microtime.lo] Error 1
make[3]: Leaving directory
`/mnt/export/src/packages/apache/php-4.0.5/ext/standard

error. but 4.0.4pl1 works perfectly. i updatet my kernel and glibc. but
the header files in /usr/include are ok. /usr/include/linux and ../asm
are symlinks to kernel headers.

uname -a
Linux cinis.poelzi.org 2.4.4 #3 Mon Apr 30 14:17:08 CEST 2001 i686
unknown

i removed in microtime.c a #ifdef, but i forgot whichone :)
i think it was
 HAVE_SYS_TYPES_H

compiler runs after this ugly operation :)

-- 
AGI - Denken Sie Behälter !!!
        http://learn.to/quote




I tried to use install php4.0.5 with the option--with-oci8 without having
oracle8i installed in my own machine. I get this:


Is this possible?


Patrick






""Patrick Lai"" <[EMAIL PROTECTED]> wrote in message
9cqh1s$h68$[EMAIL PROTECTED]">news:9cqh1s$h68$[EMAIL PROTECTED]...
> I tried to use install php4.0.5 with the option--with-oci8 without having
> oracle8i installed in my own machine. I get this:
>
checking Oracle version... configure: error: Oracle-OCI8 needed libraries
not found

What is the workaround? Would I be able to install the OCI8 api without
installing oracle in the same machine. Thanks.

>
>
> Patrick
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>






I think you better to start from PHP manual.
http://www.php.net/docs.php

Then read other websites like
http://www.zend.com
http://www.phpbuilder.com/

Regards,
--
Yasuo Ohgaki


""Stephen Donohoe"" <[EMAIL PROTECTED]> wrote in message
004101c0d188$b67740c0$[EMAIL PROTECTED]">news:004101c0d188$b67740c0$[EMAIL PROTECTED]...
> Hi,
>
> I am completely new to PHP and need some assistance.  I want to build and
> run PHP/MySQL applications on a standalone Windows 98 PC.  What is the best
> way to go about doing this?  I have a CD from a book, 'PHP fast&easy web
> development', the CD includes PHP, MySQL and Apache.  Will these work OK or
> is it best to download and compile the binaries myself - what are the
> advantages/disadvantages of either?
>
> I have used the CD and installed all three but was unable to get Apache
> working because of a missing .dll, which was nowhere on the PC or CD.  Would
> it be just as handy to use Personal Web Server?  (I would of thought having
> a CD would allow me to avoid such complications which I assume are
> commonplace when using binary code?
>
> I'm basically just looking for someone with a little experience to point me
> in the right direction?!
>
> Thanks,
> Steve.
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>





If you have ld.so.conf configured and have shared lib some where.

Try

./configure --with-mysql

instead of

./configure --with-mysql=directory

Are you sure your MySQL lib is OK?

--
Yasuo Ohgaki


"Charles Homan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Have tried a thousand suggestions from lists all over.  Please help me.  I
> am begging.  Here's my debug.log;
>
> verona:/usr/local/src/php-4.0.4pl1# cat debug.log
> CONFIGURE:   './configure' '--with-apxs=/www/bin/apxs'
> '--with-mysql=/usr/local/mysql' '--with-pdflib=/usr/local/src/pdflib-4.0.0'
> '--enable-track-vars'
> CC:         gcc
> CFLAGS:     -g -O2
> CPPFLAGS:    -DLINUX=2 -DMOD_PERL -DUSE_HSREGEX -DUSE_EXPAT
> CXX:
> CXXFLAGS:
> INCLUDES:     -I$(top_builddir)/Zend
> LDFLAGS:
> LIBS:       -lmysqlclient -lresolv -lm -ldl  -lresolv
> DLIBS:
> SAPI:       apache
> PHP_RPATHS:
> uname -a:   Linux verona.mysitestation.com 2.0.36 #24 Thu May 18 22:53:18
> PDT 20
> 00 i586
>
> gcc -o conftest -g -O2  -DLINUX=2 -DMOD_PERL -DUSE_HSREGEX -DUSE_EXPAT
> conftest
> .c -lmysqlclient -lresolv -lm -ldl  -lresolv 1>&5
> ld: cannot open -lmysqlclient: No such file or directory
>
> I get the infamouse attention message after I try to configure.  I have the
> right paths to mysql.  I have the libmysqlclient files in
> /usr/local/mysql/lib/mysql and symbolic linked to /usr/local/mysql
> ld.so.conf is correct.  Please before I loose the rest of my hair.... help!
> --
> Charles Homan
> Group Creative Director
> GodwinGroup
> Oxford, Mississippi
> 662.236.4442
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>





I grabbed PHP 4.0.5 and gd 2.0.1 so I could create JPG thumbnails of files
as I upload them.

make install for gd went fine and the library is in /usr/lib as expected.

I run configure for PHP and it gets through that without any issues.
However, when I look back on the output, it says no after every check for
gdImageCreateFrom<ANYTHING>. Then when I do a make, I get this error:

gd.c:91: conflicting types for `gdIOCtx'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/archive/web_server/php-4.0.5/ext/gd'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/archive/web_server/php-4.0.5/ext/gd'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/archive/web_server/php-4.0.5/ext'
make: *** [all-recursive] Error 1

Can anyone help?

-Philip
Home: 310.996.1316
Work: 310.664.1778
Web:  http://www.bewley.net/~prsnyder
 



Reply via email to