php-install Digest 22 May 2001 12:10:46 -0000 Issue 320

Topics (messages 3231 through 3241):

More PHP Config problems (PHP 4.04pl1/Apache 1.3.19/RedHat 7.0)
        3231 by: PHP Mailing List User
        3239 by: Konstantin Tkachenko

Java from PHP
        3232 by: cel1

Re: Problems running ASP scripts after installing PHP on Win2000 pro
        3233 by: Multi

Being a PHP/MySQL ISP
        3234 by: Simon Buchanan

cgiwrap and php
        3235 by: john doe
        3237 by: Konstantin Tkachenko

Is there life beyond this newsgroup?
        3236 by: cel1

Re: How to find all PHP files/dirs to uninstall from Linux
        3238 by: Scrumpy

Re: Ayuda PHP con Servidor HP_UX con base de datos informix
        3240 by: Paul Gardiner

Windows NT
        3241 by: Dalyyla

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'm attempting to make an php4 module for Apache by using the following
process:

in the Apache source dir:
./configure

in the PHP dir:
./configure --with-mysql --with-apache=/tmp/apache_1.3.19 --with-ldap
--with-imap --enable-track-vars --enable-magic-quotes --with-ldap
--enable-trans-sid --enable-force-cgi-redirect

make ; make install

back in the Apache dir:
./configure --bindir=/usr/local/apache/bin --sbindir=/usr/local/apache/bin
--libexecdir=/usr/local/apache/libexec --datadir=/data/httpd --enable-module=so
--activate-module=src/modules/php4/libmodphp4.a --enable-module=modphp4

make

'bout 3-5 minutes into the compile though, it bombs out saying its missing
a bunch of header files (the exact output is below):

mod_php4.c:28:18: zend.h: No such file or directory
mod_php4.c:29:17: php.h: No such file or directory
mod_php4.c:30:27: php_variables.h: No such file or directory
mod_php4.c:47:21: php_ini.h: No such file or directory
mod_php4.c:48:25: php_globals.h: No such file or directory
mod_php4.c:49:18: SAPI.h: No such file or directory
mod_php4.c:50:22: php_main.h: No such file or directory
mod_php4.c:52:26: zend_compile.h: No such file or directory
mod_php4.c:53:26: zend_execute.h: No such file or directory
mod_php4.c:54:28: zend_highlight.h: No such file or directory
mod_php4.c:55:25: zend_indent.h: No such file or directory
mod_php4.c:57:39: ext/standard/php_standard.h: No such file or directory
make[4]: *** [mod_php4.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/tmp/apache_1.3.19/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/tmp/apache_1.3.19'
make: *** [build] Error 2

Any thoughts?

Thanks,
Jeremy






I had same problem but, find answer just here:
http://cvsweb.php.net/viewcvs.cgi/php3/INSTALL?rev=1.31

This is just one explanation I find on the net where instruction that said:
"./configure --prefix=/www --activate-module=src/modules/php3/libphp3.a
 (The above line is correct!  Yes, we know libphp3.a does not exist at this
  stage.  It isn't supposed to.  It will be created.)"
I follow this steps and it's work. It's really created that file. I'm never
ever find same explanation in any other's installation instruction. Why?

Like in the Bible saying; "when asked to give me peace of bread, they give
to me peace of rock!"
He... He... He...

So, this is good point to learn your system very well.

Konstantin P. Tkachenko
http://www.rushhohol.com
http://www.findjobfair.com


-----Original Message-----
From: PHP Mailing List User [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 12:46 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] More PHP Config problems (PHP 4.04pl1/Apache
1.3.19/RedHat 7.0)


I'm attempting to make an php4 module for Apache by using the following
process:

in the Apache source dir:
./configure

in the PHP dir:
./configure --with-mysql --with-apache=/tmp/apache_1.3.19 --with-ldap
--with-imap --enable-track-vars --enable-magic-quotes --with-ldap
--enable-trans-sid --enable-force-cgi-redirect

make ; make install

back in the Apache dir:
./configure --bindir=/usr/local/apache/bin --sbindir=/usr/local/apache/bin
--libexecdir=/usr/local/apache/libexec --datadir=/data/httpd --enable-module
=so
--activate-module=src/modules/php4/libmodphp4.a --enable-module=modphp4

make

'bout 3-5 minutes into the compile though, it bombs out saying its missing
a bunch of header files (the exact output is below):

mod_php4.c:28:18: zend.h: No such file or directory
mod_php4.c:29:17: php.h: No such file or directory
mod_php4.c:30:27: php_variables.h: No such file or directory
mod_php4.c:47:21: php_ini.h: No such file or directory
mod_php4.c:48:25: php_globals.h: No such file or directory
mod_php4.c:49:18: SAPI.h: No such file or directory
mod_php4.c:50:22: php_main.h: No such file or directory
mod_php4.c:52:26: zend_compile.h: No such file or directory
mod_php4.c:53:26: zend_execute.h: No such file or directory
mod_php4.c:54:28: zend_highlight.h: No such file or directory
mod_php4.c:55:25: zend_indent.h: No such file or directory
mod_php4.c:57:39: ext/standard/php_standard.h: No such file or directory
make[4]: *** [mod_php4.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/tmp/apache_1.3.19/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/tmp/apache_1.3.19'
make: *** [build] Error 2

Any thoughts?

Thanks,
Jeremy



--
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 want to interact with Java objects from PHP4.  Allegedly Sam Ruby's extension
will allow this.  The problem is that I don't know the required combination of
java.home, java.library.path, java.class.path, java.library, etc.  The INSTALL file
is non-informative in this regard.

I posted this question last week to this mailgroup, and haven't had any response.
Is there any further place to ask the question?

Thanks for any suggestions.

Curtis Lacy
[EMAIL PROTECTED]





I don't think it could be a coincidence because this is the second time it
happens to me. The first one happened two months ago, but then I didn't
suspect it was PHP to do this. The problem existed and the only way was
doing a fresh installation of the system.
But now that I decided to try PHP again, I found the relation between the
problem and PHP.
Anyway thank's a lot!


"Phil Driscoll" <[EMAIL PROTECTED]> wrote in message
01052119190302.02933@linux">news:01052119190302.02933@linux...
> On Monday 21 May 2001 18:34, Multi wrote:
> > No. As far as I know the version with InstallShield is CGI only (it was
the
> > one I used). That's why I don't understand the reason...
> > But the worst of all, is the fact of the persistance of the problem even
> > after I removed all (??) the files that were in PHP directory, all the
> > references to PHP in the registry, the "php.ini", and correcting the
> > configuration of Internet Service Manager.
> > I suspect that there is some ".dll" included somewhere...
> > Any idea?
>
> I honestly suspect that it may just be a coincidence - I've never heard of
> anyone else with this kind of problem and I monitor the lists pretty
> closesly. The only way I can think of that installing cgi php could affect
> asp is if for some crazy reason, asp had been using .php, .php3 or .phtml
as
> an extension, and I guess that's most unlikely. PHP dlls just cannot get
> involved with IIS except for the duration of the life of php.exe and that
> just lives for the duration of the request.
>
> Sorry I can't be more helpful.
> --
> Phil Driscoll
>
>
> --
> 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,

Just wondering if anybody has experience in or can jot down any 
gotchas / issues in providing a php/mysql vistral hosting service. 
Problems with security? Are their things i have to watch out for?

Thanks

Simon Buchanan
-- 

---- Technical Director ------------------------
Contact: 07 571-1595 mailto:[EMAIL PROTECTED]
New Media Communications   http://newmedia.co.nz
------------------------------------------------
     "Endless Loop: n., see  Loop, Endless"




Does anyone have any hints on getting cgiwrap to work with php?  I am
running Apache 1.3.14 and php4.0.5.

If I install php as a dso it works fine.  When trying to use cgiwrap it will
either try to make me save the file or will print out the php file.

TIA






I have same problem. When I do to install PHP from YaST Single package
update it's work but, PHP4 does not. Also I made manual reinstallation of
php.4.0.5 just installation of php scripts does not work.

After four month playing around my big problem is to configure php4 with
MySQL or Oracle8i. I find very good and easy to use software but, them
created and tested with php.4.0p11.

I already recovered system ten times to fix my adjustment. This is make me
creasy. but, I will go ahead. http://www.findjobfair.com is where I try to
do this.

Sorry,

Konstantin P. Tkachenko
http://www.rushhohol.com

-----Original Message-----
From: john doe [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 4:27 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] cgiwrap and php


Does anyone have any hints on getting cgiwrap to work with php?  I am
running Apache 1.3.14 and php4.0.5.

If I install php as a dso it works fine.  When trying to use cgiwrap it will
either try to make me save the file or will print out the php file.

TIA



--
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 want to interact with Java classes via Sam Ruby's extension.  The PHP4
INSTALL file is not very informative in this regard.  I put in an entry
on this topic last week, and haven't heard anything.

$object = new Java("Class");
$string  = $object->("methodWhichReturnsString");

I think the subject may be too arcane for most users, and I'm wondering
if there is anywhere else to turn for help.  Suggestions appreciated.

Curtis Lacy
[EMAIL PROTECTED]





Tks for the tip but it didn't remove all of the files created by the 
original make install (I hadn't changed any of the file locations).

I also used 'make -n install' to try and figure out what had originally 
been installed and whereabouts.

Finally I had to do a lot of snooping around and manually deleting dirs & 
files :-(

There must be a cleaner/easier way of removing 'maked' programs under 
Linux. I guess I'll find a way after trawling the web, etc. :)

Tks again for the reply.

Scrumpy

[EMAIL PROTECTED] (cel1) wrote in <[EMAIL PROTECTED]>:

>'make clean' usually handles this situation.  Give it a try.
>
>Curtis Lacy




Hi,

I hope you understand this ;o)

I run on SCO unix but I know there is an issue when trying to compile in
Informix.

Below were some instructions I gave to another SCO'er but they may help you
get on the right track. I built with Apache as static and not dynamic
though. You may want to start with static and then try the dynamic one
afterwards. You'll have to change the build script I've sent you to apply to
your platform.

Regards,
- Paul -

----8<-----

I've attached one of the build scripts that I have used. Basically I have
this script, apache and php tar files in /usr/src. The script un-tars,
configures and builds everything. Run it with    ./b4.0.4pl1gd.sh n n
which means it will pause at each major point(remember to set it as
executable). Have a look through it and play about - it's nothing fancy,
just functional. You'll have to delete some bits as I also have zilib & gd
support compiled in. If your versions are different then alter them
appropriately. Pay attention to where it builds apache at the end and where
the Informix libs are set. You get these from running    esql -libs    at
the command line. Yours maybe different to mine. I have the Informix CSDK
installed with an Informix SE ver 7.2x. When everything is built, remember
to set the Informix environment vars and the LD_LIBRARY_PATH as well within
your apache start script.



----- Original Message -----
From: "Santos Saucedo Laura Gabriela" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 21, 2001 6:25 PM
Subject: [PHP-INST] Ayuda PHP con Servidor HP_UX con base de datos informix


> hola Mi nombre es laura
>
> Tengo un problema, quiero instalar el php-4.0.5, en una HP-UX, y realizar
> una conexion a INFORMIX, pero realizo lo sig.
>
> ./configure --with-informix=/home/informix  --with-apache=../apache_1.3.19
> --enable-track-vars
>
> Pero a la hora de realizar el make pasa lo sig.
>
> Making all in informix
>
>         /bin/sh /usr/local/php-4.0.5/libtool --silent --mode=link gcc  -I.
> -I/us
> r/local/php-4.0.5/ext/informix -I/usr/local/php-4.0.5/main
> -I/usr/local/php-4.0.
> 5 -I/usr/local/apache_1.3.19/src/include
> -I/usr/local/apache_1.3.19/src/os/unix
> -I/usr/local/php-4.0.5/Zend -I/home/informix/incl/esql
> -I/usr/local/php-4.0.5/ex
> t/mysql/libmysql -I/usr/local/php-4.0.5/ext/xml/expat/xmltok
> -I/usr/local/php-4.
> 0.5/ext/xml/expat/xmlparse -I/usr/local/php-4.0.5/TSRM  -DSUPPORT_UTF8
> -DXML_BYT
> E_ORDER=21 -g -O2 -I/home/informix/incl/esql   -o libinformix.la  ifx.lo
> /home/
> informix/lib/esql/libixos.a /home/informix/lib/esql/libixgen.a
> /home/informix/li
> b/esql/libixsql.a /home/informix/lib/libixasf.a
> /home/informix/lib/esql/libixos.
> a /home/informix/lib/esql/libixgen.a /home/informix/lib/esql/libixgls.a
> /home/in
> formix/lib/esql/libixglx.a
>
> libtool: link: cannot build libtool library `libinformix.la' from
> non-libtool ob
> jects: /home/informix/lib/esql/libixos.a
/home/informix/lib/esql/libixgen.a
> /hom
> e/informix/lib/esql/libixsql.a /home/informix/lib/libixasf.a
> /home/informix/lib/
> esql/libixos.a /home/informix/lib/esql/libixgen.a
> /home/informix/lib/esql/libixg
> ls.a /home/informix/lib/esql/libixglx.a
>
> *** Error exit code 1
>
>
>
> Stop.
>
> *** Error exit code 1
>
>
> Ya me baje el  GNU,bison,flex y no me funciona de debo hacer?
>
> Si yo le pongo
./configure -with-apache=../apache_1.3.19 --enable-track-vars
>
> Y configure todo funciona, pero tengo que conectarme a informix
>
>
>
> --
> 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]
>
>
>




Bonjour,

    J'ai installé PHP sur windows NT avec windows installer et je
voudrais
l'installer autrement parce que je voudrais ajouter des extensions.
Le problème c que je ne sais pas ou il faut preciser au serveur web ou
se
situe l'executable PHP.
En fait , je n'ai pas IIS et j'ai installé nt 4 option pack et je ne
sais pas pourquoi
je n'ai pas eu la MMC, je suppose que c parce que je suis sur
workstation et non
sur un serveur ?? Et donc, au lieu de la MMC j'ai le personal web Server

et
si c la qu'il faut indiquer le chemin je ne sais pas ou il faut le
faire.
Par ailleurs, étant donné que j'ai une version de php installé avec
windows installer
j'ai cherché où est ce qu'il a fait la configuration et je n'ai rien
trouvé ni dans le
registre ni dans le PWS.

Merci d'avance

Dalyyla







Reply via email to