php-install Digest 14 Jun 2002 07:54:17 -0000 Issue 883
Topics (messages 7317 through 7330):
Re: Has anyone succesfully installed PHP4 on a Win98 running PWS?
7317 by: Jim Thome
7318 by: César Monroy
7319 by: Jim Thome
PHP complains of ulong redefinition ...
7320 by: Kevin Caporaso
7321 by: Kevin Caporaso
7322 by: Kevin Caporaso
7326 by: Kevin Caporaso
Re: ext/openssl and ext/xslt will not make shared libs (PHP 4.2.1)
7323 by: Steve Crockett
testing mcal install
7324 by: Ryan Hagan
apache to IIS migration help
7325 by: Hohimer, Christopher J
Search Field
7327 by: MikeParton
GD Support
7328 by: John Thorne
7329 by: jreid.exumweb.net
DBG installation
7330 by: Philipp Melab
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 ---
Did you follow the instructions for configuring PWS found in the file install.txt?
Specifically, did you configure PWS to use the PHP executable on .php files?
Jim
>>> "C (FÈsar Monroy" <[EMAIL PROTECTED]> 06/12/02 07:59PM >>>
Hi Group:
I recently downloaded PHP4 to try it in my Win98/Personal Web Server.
Even after several installations following instructions, my server refuses
to
interpret PHP scripts...
1. Downloaded PHP 4.2.1 for Windows
2. Unzipped to C:\PHP
3. Edited and copied PHP.INI to C:\Windows
4. PWS works fine at http://localhost
5. Added virtual folder C:\PHP to PWS and set execute privileges
6. Rebooted computer
7. Wrote a simple PHP file: <?php echo "This is a test"; ?>
8. Opened browser and pointed to http://localhost/test.htm
The page displays correctly but the string THIS IS A TEST never
showed.
Can anyone point me to what I did wrong?
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
How am I supposed to configure PWS to run PHP?
I followed carefully all instructions... I even added the path (which is not
said in the install text) and now get a HTTP 500 problem... I has to be
something with permits, but I'm clueless. Thanks, Jim
"Jim Thome" <[EMAIL PROTECTED]> escribió en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Did you follow the instructions for configuring PWS found in the file
install.txt? Specifically, did you configure PWS to use the PHP executable
on .php files?
Jim
>>> "C (FÈsar Monroy" <[EMAIL PROTECTED]> 06/12/02 07:59PM >>>
Hi Group:
I recently downloaded PHP4 to try it in my Win98/Personal Web Server.
Even after several installations following instructions, my server refuses
to
interpret PHP scripts...
1. Downloaded PHP 4.2.1 for Windows
2. Unzipped to C:\PHP
3. Edited and copied PHP.INI to C:\Windows
4. PWS works fine at http://localhost
5. Added virtual folder C:\PHP to PWS and set execute privileges
6. Rebooted computer
7. Wrote a simple PHP file: <?php echo "This is a test"; ?>
8. Opened browser and pointed to http://localhost/test.htm
The page displays correctly but the string THIS IS A TEST never
showed.
Can anyone point me to what I did wrong?
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Your test file is named test.htm. Is your web server set up to send htm files to the
PHP engine, or is it set up to parse .php, .phtml, etc., not .htm? It's unlikely it's
a permissions problem, because the web server is serving it up. A php file is parsed
and not executed. The problem is the web server doesn't know it should be doing
something with the file.
>>> "C (FÈsar Monroy" <[EMAIL PROTECTED]> 06/13/02 11:10AM >>>
How am I supposed to configure PWS to run PHP?
I followed carefully all instructions... I even added the path (which is not
said in the install text) and now get a HTTP 500 problem... I has to be
something with permits, but I'm clueless. Thanks, Jim
"Jim Thome" <[EMAIL PROTECTED]> escribi= en el mensaje
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Did you follow the instructions for configuring PWS found in the file
install.txt? Specifically, did you configure PWS to use the PHP executable
on .php files?
Jim
>>> "C (F+sar Monroy" <[EMAIL PROTECTED]> 06/12/02 07:59PM >>>
Hi Group:
I recently downloaded PHP4 to try it in my Win98/Personal Web Server.
Even after several installations following instructions, my server refuses
to
interpret PHP scripts...
1. Downloaded PHP 4.2.1 for Windows
2. Unzipped to C:\PHP
3. Edited and copied PHP.INI to C:\Windows
4. PWS works fine at http://localhost
5. Added virtual folder C:\PHP to PWS and set execute privileges
6. Rebooted computer
7. Wrote a simple PHP file: <?php echo "This is a test"; ?>
8. Opened browser and pointed to http://localhost/test.htm
The page displays correctly but the string THIS IS A TEST never
showed.
Can anyone point me to what I did wrong?
--
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 ---
Hi,
PHP is complaining of a redefinition during the compilation
of ext/mysql/
Here is the exact error... Any ideas on what I can do to get around this?
Thanks for any response.
$Kevin
...
Making all in mysql
make[2]: Entering directory `/opt/php/ext/mysql'
Making all in libmysql
make[3]: Entering directory `/opt/php/ext/mysql/libmysql'
make[4]: Entering directory `/opt/php/ext/mysql/libmysql'
/bin/sh /opt/php/libtool --silent --mode=compile
gcc -I. -I/opt/php/ext/mysql/libmysql -I/opt/php
/main -I/opt/php -I/usr/local/apache2/include -I/opt/php/Zend -I/opt/php/ext
/mysql/libmysql -I/opt
/php/ext/xml/expat -I/opt/php/TSRM -DTHREAD=1 -g -O2 -DZTS -prefer-pic -c
libmysql.c
In file included from libmysql.c:5:
global.h:590: redefinition of `ulong'
global.h:258: `ulong' previously declared here
make[4]: *** [libmysql.lo] Error 1
make[4]: Leaving directory `/opt/php/ext/mysql/libmysql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/php/ext/mysql/libmysql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/php/ext/mysql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/php/ext'
make: *** [all-recursive] Error 1
--- End Message ---
--- Begin Message ---
Oh .. I'm trying to build under QNX 6.1
"Kevin Caporaso" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> PHP is complaining of a redefinition during the compilation
> of ext/mysql/
>
> Here is the exact error... Any ideas on what I can do to get around this?
> Thanks for any response.
> $Kevin
>
> ...
> Making all in mysql
> make[2]: Entering directory `/opt/php/ext/mysql'
> Making all in libmysql
> make[3]: Entering directory `/opt/php/ext/mysql/libmysql'
> make[4]: Entering directory `/opt/php/ext/mysql/libmysql'
> /bin/sh /opt/php/libtool --silent --mode=compile
> gcc -I. -I/opt/php/ext/mysql/libmysql -I/opt/php
>
/main -I/opt/php -I/usr/local/apache2/include -I/opt/php/Zend -I/opt/php/ext
> /mysql/libmysql -I/opt
>
php/ext/xml/expat -I/opt/php/TSRM -DTHREAD=1 -g -O2 -DZTS -prefer-pic -c
> libmysql.c
> In file included from libmysql.c:5:
> global.h:590: redefinition of `ulong'
> global.h:258: `ulong' previously declared here
> make[4]: *** [libmysql.lo] Error 1
> make[4]: Leaving directory `/opt/php/ext/mysql/libmysql'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/opt/php/ext/mysql/libmysql'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/opt/php/ext/mysql'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/php/ext'
> make: *** [all-recursive] Error 1
>
>
--- End Message ---
--- Begin Message ---
And.. I have no need for mysql.
:)
"Kevin Caporaso" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Oh .. I'm trying to build under QNX 6.1
>
> "Kevin Caporaso" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Hi,
> > PHP is complaining of a redefinition during the compilation
> > of ext/mysql/
> >
> > Here is the exact error... Any ideas on what I can do to get around
this?
> > Thanks for any response.
> > $Kevin
> >
> > ...
> > Making all in mysql
> > make[2]: Entering directory `/opt/php/ext/mysql'
> > Making all in libmysql
> > make[3]: Entering directory `/opt/php/ext/mysql/libmysql'
> > make[4]: Entering directory `/opt/php/ext/mysql/libmysql'
> > /bin/sh /opt/php/libtool --silent --mode=compile
> > gcc -I. -I/opt/php/ext/mysql/libmysql -I/opt/php
> >
>
/main -I/opt/php -I/usr/local/apache2/include -I/opt/php/Zend -I/opt/php/ext
> > /mysql/libmysql -I/opt
> >
> php/ext/xml/expat -I/opt/php/TSRM -DTHREAD=1 -g -O2 -DZTS -prefer-pic -c
> > libmysql.c
> > In file included from libmysql.c:5:
> > global.h:590: redefinition of `ulong'
> > global.h:258: `ulong' previously declared here
> > make[4]: *** [libmysql.lo] Error 1
> > make[4]: Leaving directory `/opt/php/ext/mysql/libmysql'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/opt/php/ext/mysql/libmysql'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/opt/php/ext/mysql'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/opt/php/ext'
> > make: *** [all-recursive] Error 1
> >
> >
>
>
--- End Message ---
--- Begin Message ---
Used --without-mysql .. solved my problems!
Thanks!
"Kevin Caporaso" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> And.. I have no need for mysql.
> :)
>
>
> "Kevin Caporaso" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Oh .. I'm trying to build under QNX 6.1
> >
> > "Kevin Caporaso" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > Hi,
> > > PHP is complaining of a redefinition during the compilation
> > > of ext/mysql/
> > >
> > > Here is the exact error... Any ideas on what I can do to get around
> this?
> > > Thanks for any response.
> > > $Kevin
> > >
> > > ...
> > > Making all in mysql
> > > make[2]: Entering directory `/opt/php/ext/mysql'
> > > Making all in libmysql
> > > make[3]: Entering directory `/opt/php/ext/mysql/libmysql'
> > > make[4]: Entering directory `/opt/php/ext/mysql/libmysql'
> > > /bin/sh /opt/php/libtool --silent --mode=compile
> > > gcc -I. -I/opt/php/ext/mysql/libmysql -I/opt/php
> > >
> >
>
/main -I/opt/php -I/usr/local/apache2/include -I/opt/php/Zend -I/opt/php/ext
> > > /mysql/libmysql -I/opt
> > >
> >
hp/ext/xml/expat -I/opt/php/TSRM -DTHREAD=1 -g -O2 -DZTS -prefer-pic -c
> > > libmysql.c
> > > In file included from libmysql.c:5:
> > > global.h:590: redefinition of `ulong'
> > > global.h:258: `ulong' previously declared here
> > > make[4]: *** [libmysql.lo] Error 1
> > > make[4]: Leaving directory `/opt/php/ext/mysql/libmysql'
> > > make[3]: *** [all-recursive] Error 1
> > > make[3]: Leaving directory `/opt/php/ext/mysql/libmysql'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/opt/php/ext/mysql'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/opt/php/ext'
> > > make: *** [all-recursive] Error 1
> > >
> > >
> >
> >
>
>
--- End Message ---
--- Begin Message ---
I was able to build them shared, but in the case of xlst, I was using
the Sablotron library. For openssl, I had to edit the configure
file and force it to output OPENSSL_SHARED_LIBADD, and tweak
the Makefile.in to have "LTLIBRARY_SHARED_LIBADD=$(OPENSSL_SHARED_LIBADD)"
below the other similar definitions.
It appears that you can determine which libraries can be built shared by
looking at the Makefile.in files in each of the ext/* directories. Those which
do not have the "LTLIBRARY_SHARED_LIBADD=" lines will not be built
shared, unless you do some hand-editing.
I think the reason not to build OpenSSL as a shared library is that
the purpose of OpenSSL is security, and
using a shared library allows rogue code to be substituted for the real library,
which defats the security.
--- End Message ---
--- Begin Message ---
Greetings,
I just installed MCAL libraries and was wondering if there was a way I
could test to make sure it works okay. I'm using it with PHP and all the
right drivers are installed for PHP/apache and MCAL. PHPINFO reports MCAL
is up with version 0.6 - 20000121.
However, I can't seem to run the PHP mcal_open() procedure. Whenever a page
with that function is loaded, apache tells me it can't open that page. =(
If I comment out the mcal_open() procedure, the page loads just fine, but
without an mcal stream of course.
Any ideas? They're much appreciated! Thanks.
Ryan Hagan
Pacificom Multimedia
[EMAIL PROTECTED]
540-553-2135
--- End Message ---
--- Begin Message ---
Hi. I have an apache server (UNIX) and i want to put my site on the company
server which is an IIS server. The new IIS server is IIS server 3.0. My
question is where / how do i turn on or compile php modules for the new IIS
server. The server manager doesn't know how to do it but is willing to let
me try if i get an intellegent response from someone on this list. I am not
actually on this list so you will have to email me directly but it might be
nice to post to the list to for future references. :-)
Thanks sooo much
Chris Hohimer
Sandia National Laboratories
CSU821 ORG9623
--- End Message ---
--- Begin Message ---
Environment:
Win NT 4.0 SP6a
Apache 2.0.36
MYSQL 4.0.1a
PHP 4.2.1
I'd like to create a search capability against a MySQL database that will allow users
to do keyword searches, entering one OR MORE keywords in the text box.
Thoughts on the most effective way to do this?
Would this be handled by the sql where the statement is something like:
$keywords=$selection //equal to the keywords entered by the user in the text box named
"selection"
SELECT column1, column2 FROM table WHERE text=$keywords
What do I need to do to make sure the query searches for ANY of the keywords entered
into the text box?
TIA
Mike
SQL,query,MySQL
--- End Message ---
--- Begin Message ---
How do can you tell if php 4.1.2 has GD support
My ISP says they have GD-lib 2.0.1 on their php 4.1.2
I can not see any reference to gd on their phpinfo page.
I can not get jpgraph to display
(Fatal error: Call to undefined function: imagecreate() )
and jpgraph faq says the problem is no gd support
My php 4.0.6 phpinfo shows gd as a section well into the
phpinfo page.
thanks
jrt
--- End Message ---
--- Begin Message ---
> How do can you tell if php 4.1.2 has GD support
> My ISP says they have GD-lib 2.0.1 on their php 4.1.2
> I can not see any reference to gd on their phpinfo page.
> I can not get jpgraph to display
> (Fatal error: Call to undefined function: imagecreate() )
> and jpgraph faq says the problem is no gd support
> My php 4.0.6 phpinfo shows gd as a section well into the
> phpinfo page.
>
> thanks
>
> jrt
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I configured and compiled php with DBG as an extension. The whole process
finished without errors and php runs properly, but there is no php.ini or
php.ini-dist.
Does anybody know where the php.ini has gone?
Or what i have to do now?
yours Philipp
--- End Message ---