php-install Digest 15 Sep 2001 03:24:49 -0000 Issue 458

Topics (messages 4293 through 4302):

Re: PHP-4.0.6 / Apache 1.3.20 / Linux 7.2 / Kernel 2.4.4: LEX
        4293 by: Steve Cayford
        4295 by: Jeremy Wadsack

getting pspell to work
        4294 by: Adam Montague

--With-OpenSSL - Whats the DIR
        4296 by: Jonathan Hilgeman
        4297 by: Nael Mohammad

php3 fails compile on RedHat 7.1
        4298 by: Mike Rambo
        4299 by: Jeremy Wadsack

Re: mysql API Version
        4300 by: sean

Warnings using php on win98se using pws or apache
        4301 by: rOb

corel linux
        4302 by: Data Driven Design

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]


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


On my machine (Redhat 7.0) lex is at /usr/bin/lex and is a symbolic link 
to /usr/bin/flex. Do you have either of these programs?

-Steve

On Friday, September 14, 2001, at 08:14  AM, Netpower wrote:

> Hi!
> I use PHP-4.0.6 / Apache 1.3.20 / Linux 7.2 / Kernel 2.4.4 ...
>
> My Problem is, that every time i try to ./configure php for my apache
> webserver, i get this error:
>
> checking lex output file root... ./configure: lex: command not found
> configure: error: cannot find output from lex; giving up
>
> how can i fix this? (please make it easy :)
>
> thx
>
> p.s.: you can write in english, german, french thx :)
>
> --
> 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]
>





Netpower ([EMAIL PROTECTED]):

> I use PHP-4.0.6 / Apache 1.3.20 / Linux 7.2 / Kernel 2.4.4 ...

> My Problem is, that every time i try to ./configure php for my apache 
> webserver, i get this error:

> checking lex output file root... ./configure: lex: command not found
> configure: error: cannot find output from lex; giving up

> how can i fix this? (please make it easy :)

Install lex or equivalent (flex, gflex, ...). If your linux uses RPMs
you can find flex rpms at http://www.rpmfind.net.



-- 

Jeremy Wadsack
Wadsack-Allen Digital Group





Hi,

I've been trying to get php compiled with pspell support, and actually
working and usable, with very little luck.
I have aspell-.26.2 installed just fine, (just a plain old ./configure)
and pspell-.11.2 also installed (./configure, make, make install, cd
modules, ./add-modules, ../, ./configure, make, make install) and then
compiled php and apache and it looks happy.  phpinfo() doesn't show the
--with-pspell in my configure line for some reason, but it does show
pspell support being enabled.  Trying to test it using the example from
php.net gets me the following:

Warning: PSPELL couldn't open the dictionary. reason: Unable to load the
"aspell" module. in /usr/local/apache/htdocs/rar.php on line 3

Warning: 0 is not an PSPELL result index in
/usr/local/apache/htdocs/rar.php on line 5
Sorry, wrong spelling

I've googled alot for this, and I found people with the same problem,
but nobody with a solution.  Does anyone know how to get this to work,
or what is going wrong?

Thanks
Adam




The PHP manual says the configure line for openssl support
is --with-openssl=[DIR], but what should I put in the DIR part if the
installation is not standard?

- Jonathan






Put the path of your OPENSSL directory, for example : this "./configure
--with-apache=/usr/local/apache --with-mysql=/usr/local/mysql
--with-openssl=/usr/local/ssl" if this is unix and linux. 


FYI: I'm an American born Palestinian and Moslem and condemn the tragic
events that occurred this week, this is no way what we stand for, this is
just absolutely unacceptable in any civilized society, and those responsible
should be punished to the full extent of the law and pay for there crimes of
terror. 

Peace and in one nation we stand!


Nael Mohammad
Neomar, Inc.
[EMAIL PROTECTED]
415-403-7300 x314 (Work)
415-793-0609 (Mobile)
"When Wireless Means Business"




CONFIDENTIALITY NOTICE: This e-mail may contain confidential information
that is legally privileged. Do not read this e-mail if you are not the
intended recipient.
This e-mail transmission, and any documents, files or previous e-mail
messages attached to it may contain confidential information that is legally
privileged. If you are not the intended recipient, or a person responsible
for delivering it to the intended recipient, you are hereby notified that
any disclosure, copying, distribution or use of any of the information
contained in or attached to this transmission is STRICTLY PROHIBITED. If you
have received this transmission in error, please immediately notify us by
reply e-mail or by telephone at (415) 403-7300, and destroy the original
transmission and its attachments without reading or saving in any manner.
Thank you.






-----Original Message-----
From: Jonathan Hilgeman [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 14, 2001 9:32 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] --With-OpenSSL - Whats the DIR


The PHP manual says the configure line for openssl support
is --with-openssl=[DIR], but what should I put in the DIR part if the
installation is not standard?

- Jonathan



-- 
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 have an application which at this time requires php3
(http://www.hawkeye.net). I have the tarball for php-3.0.18 and have
tried to compile it on RedHat 7.1 which fails with this error message.

functions/file.o: In function 'php3_tempnam':
/usr/local/src/php-3.0.18/functions/file.c:463 the use of 'tempnam' is
dangerous, better use 'mkstemp'

Ftp'ing the same tarball to a RedHat 6.2 box compiles with no problem at
all. Makes it appear to me something with RedHat breaks php-3.0.18.

Anyone have any ideas why this might be happening and/or any suggestion
on how to get around this problem?

Thanks.


-- 
Mike Rambo
[EMAIL PROTECTED]





Mike Rambo ([EMAIL PROTECTED]):

> I have an application which at this time requires php3
> (http://www.hawkeye.net). I have the tarball for php-3.0.18 and have
> tried to compile it on RedHat 7.1 which fails with this error message.

> functions/file.o: In function 'php3_tempnam':
> /usr/local/src/php-3.0.18/functions/file.c:463 the use of 'tempnam' is
> dangerous, better use 'mkstemp'

> Ftp'ing the same tarball to a RedHat 6.2 box compiles with no problem at
> all. Makes it appear to me something with RedHat breaks php-3.0.18.

> Anyone have any ideas why this might be happening and/or any suggestion
> on how to get around this problem?

RedHat 7.x are known to ship with a broken (beta) version of the gcc
compiler. You might want to get a release version of that and update
it. Alternately you could change the file functions/file.c to use
mkstemp (and hope it's a drop-in replacement).

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group





I am experiencing the same issue, but here's my setup:
redhat 7.0
apache 1.3.12+SSL
MySQL 3.23.42
PHP 4.0.6

Everything looks like it went fine, php scripts are executing mysql queries
ok (with phpMyAdmin),
but when i run a script with phpinfo() it outputs the client API version at
3.23.32
phpMyAdmin reports the client version correctly at 3.23.42
if anyones knows why this is, and what (if any) implications of this there
are, please let me know

Thanks
Sean



"Phil Bryan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
> I am newbie in Php. Try to port ASP to Php.
> I have complied a Aapche+SSL with DSO support. 3 Days ago, I tried to
> complie PHP 4.0.6 + Mysql 3.23.41 into libphp4.so. Everything looks fine.
I
> have noticed when I run phpinfo(), the Mysql  client API showed 3.23.32.
> When I complied the PHP w/Mysql, I have put the --with-mysql=/usr into
> configure. My question is why the client API version still showed 3.23.32
> instead of 3.23.41?
>
> Thanks,
>
> Phil Bryan
>
>
>






Hi im using win98se with apache and have also tried pws. Im using all latest versions 
of the software. When im using any scripts downloaded from the internet such as 
auction scripts i get the following warning messages throughout the pages

Warning: Use of undefined constant getSessionVars - assumed 'getSessionVars' in 
C:\Inetpub\wwwroot\includes\sessions.inc.php on line 40

Warning: Use of undefined constant putSessionVars - assumed 'putSessionVars' in 
C:\Inetpub\wwwroot\includes\sessions.inc.php on line 98

Warning: Use of undefined constant removeSession - assumed 'removeSession' in 
C:\Inetpub\wwwroot\includes\sessions.inc.php on line 167

Warning: Undefined variable: YA_SESSION_ID in 
C:\Inetpub\wwwroot\includes\sessions.inc.php on line 211

Warning: Cannot add header information - headers already sent by (output started at 
C:\Inetpub\wwwroot\includes\sessions.inc.php:40) in 
C:\Inetpub\wwwroot\includes\sessions.inc.php on line 217

Warning: Undefined variable: bid in C:\Inetpub\wwwroot\includes\messages.inc.php on 
line 58

Warning: Undefined variable: SESSION_ID in 
C:\Inetpub\wwwroot\includes\messages.inc.php on line 169

Warning: Undefined variable: id in C:\Inetpub\wwwroot\includes\messages.inc.php on 
line 313

Warning: Use of undefined constant ActualDate - assumed 'ActualDate' in 
C:\Inetpub\wwwroot\includes\dates.inc.php on line 24

Warning: Use of undefined constant ArrangeDate - assumed 'ArrangeDate' in 
C:\Inetpub\wwwroot\includes\dates.inc.php on line 80

Warning: Use of undefined constant ArrangeDateMesCompleto - assumed 
'ArrangeDateMesCompleto' in C:\Inetpub\wwwroot\includes\dates.inc.php on line

these particular warnings were using pws and phpauction.org software. The same erros 
occur when setup with apache

thanks

Robbie
[EMAIL PROTECTED]





I just set up my first linux machine using corel linux, and it seems to me
that apache is in the wrong place. It's appears to be in etc instead of usr.
Has anyone successfully compiled PHP for corel linux, or should I try
another version of linux.

Data Driven Design
1506 Tuscaloosa Ave
Holly Hill, Florida 32117

http://www.datadrivendesign.com
Phone: (386) 226-8979

Websites That WORK For You



Reply via email to