php-install Digest 23 May 2001 00:52:53 -0000 Issue 321

Topics (messages 3242 through 3255):

windows nt : in english
        3242 by: Dalyyla
        3243 by: Phil Driscoll
        3244 by: Dalyyla
        3245 by: Phil Driscoll
        3247 by: Dalyyla
        3249 by: Phil Driscoll

How do i allow variable passing in php4.
        3246 by: Internaut
        3248 by: Grimes, Dean

apache won't start after php compiles
        3250 by: Mike King
        3251 by: Rafael Ernesto Bastidas L.

php GET and POST failures on Solaris 2.6
        3252 by: David Wight

php 4.0/win 2000/sql server
        3253 by: PHPFAN

PLEASE HELP !!!
        3254 by: PHPFAN

WIN ME PHP Install problem
        3255 by: Robin  Hastings

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]


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


Hi,

I have installed php with windows installer and i would like
to add extensions but these ones doesn't work with my module
so I would like to install php again.
I would like to know where to put where the php.exe file is located.
In the Personal Web Server I don't find the place and in the
register too (in the previous automatic installation it wasn't put
there).

thanks

Dalyyla





On Tuesday 22 May 2001 13:21, Dalyyla wrote:

> I have installed php with windows installer and i would like
> to add extensions but these ones doesn't work with my module
> so I would like to install php again.
> I would like to know where to put where the php.exe file is located.
> In the Personal Web Server I don't find the place and in the
> register too (in the previous automatic installation it wasn't put
> there).

The windows installer puts php.exe in c:\php by default. If you told the 
installation wizard to put it somewhere else, then it will be wherever you 
put it.

There is nothing in the registry because PWS4 on NT4 does not use the 
registry for configuration. If you need to reconfigure, then use the internet 
serveice manager, although you shouldn't need to change any settings just to 
add some extensions. Just put the extension dlls on your machine and edit 
php.ini accordingly.

Cheers
-- 
Phil Driscoll




> Hi,

>
> The windows installer puts php.exe in c:\php by default. If you told the
> installation wizard to put it somewhere else, then it will be wherever you
> put it.
> *** Yes , but the Web Server needs to know where it is
> cuz
> I put it somewhere else and I didn't find where I can change the path.

> There is nothing in the registry because PWS4 on NT4 does not use the
> registry for configuration. If you need to reconfigure, then use the internet
> serveice manager,

*** where can I find it? you don't mean the personal web manager ?

> although you shouldn't need to change any settings just to
> add some extensions. Just put the extension dlls on your machine and edit
> php.ini accordingly.

*** Yes that's what I did but it didn't work , I have brought dlls from another
install.

> thanks a lot

Sandy

>
>





On Tuesday 22 May 2001 14:25, Dalyyla wrote:
>
> *** where can I find it? you don't mean the personal web manager ?
>
On my NTWS there it is under NT4 Option Pack int he start menu. Maybe you can 
do it in the web manager as well - I don't know, I never use it.

> > although you shouldn't need to change any settings just to
> > add some extensions. Just put the extension dlls on your machine and edit
> > php.ini accordingly.
>
> *** Yes that's what I did but it didn't work , I have brought dlls from
> another install.

If you get the dlls out of the full Windows binary Zip distribution on the 
downlaods page on www.php.net then they will work with the installer you 
downloaded from the same place - currently both will give you php 4.0.5.

Cheers
-- 
Phil Driscoll





Hi,

 There was a solution but i didn't want to do because I wanted to know how to
configure it myself. I just put the version of php with the extensions in the
directory
which was already configured with the default path. And it worked...but I am not
really satisfied. Anyway, it is not the pb, gonna bother you again a little bit
by asking you if I can find the extension to crypt and I don't have it , with the

zip file found on php.net althought it was the only one which was interesting me
:-)

Thanks

Dalyyla





On Tuesday 22 May 2001 15:50, Dalyyla wrote:
> gonna bother you again a
> little bit by asking you if I can find the extension to crypt and I don't
> have it , with the
>
> zip file found on php.net althought it was the only one which was
> interesting me
I think it got missed from the 4.0.5 distribution by accident.
Maybe the distribution at www.php4win.de has it?

-- 
Phil Driscoll




Hello

Where abouts in the php.ini file do I modify to allow me to pass variables
between forms.

Regards
T






The really is a question for the PHP-General list but there are two ways to
pass information from one form to another in a somewhat transparent mode:

1. Use hidden input types in your HTML.
2. Use Session Variables.

OR

You can pass information in the URL like:

/my_web_dir/prog.php?var1=val1&var2=val2

This isn't as transparent but it just depends on what you are trying to
accomplish.




-----Original Message-----
From: Internaut [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 9:42 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] How do i allow variable passing in php4.


Hello

Where abouts in the php.ini file do I modify to allow me to pass variables
between forms.

Regards
T



-- 
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 got php to compile properly, but apache won't start afterwards. It
complains of an error with the LoadModule. It seems that it can't find
the mysql  library, but if I make a symlink to the mysql lib, everything
works fone. What's wrong here?

******************************************************************************
[root init.d]# ./httpd start
Setting up Web Service: Syntax error on line 58 of
/etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server:
libmysqlclient.so.10: cannot open shared object file: No such file or
directory
/usr/sbin/httpd
[root init.d]# ln -s /home/mysql/libmysql/.libs/libmysqlclient.so.10.0.0
/lib/libmysqlclient.so.10

[root init.d]# ./httpd start
Setting up Web Service: chiliasp: module started, version 3.5.2.31
/usr/sbin/httpd

[root init.d]#

******************************************************************************

I tried to get this to work three times, with the same result. In my
./configure command, I used:

--with-mysql=/home/mysql     (that's where it is)
--with-mysql                 (docs said it will find it)
(no mysql directive, docs said it's on by default)

-Mike K.




Update your /etc/ld.so.conf file with the path of the mysql/lib directory, then run 
/sbin/ldconfig.

After this, Apache should restart properly

Rafael

-----Original Message-----
From: Mike King [mailto:[EMAIL PROTECTED]]
Sent: Martes, 22 de Mayo de 2001 02:43 p.m.
To: [EMAIL PROTECTED]
Subject: [PHP-INST] apache won't start after php compiles


I got php to compile properly, but apache won't start afterwards. It
complains of an error with the LoadModule. It seems that it can't find
the mysql  library, but if I make a symlink to the mysql lib, everything
works fone. What's wrong here?

******************************************************************************
[root init.d]# ./httpd start
Setting up Web Service: Syntax error on line 58 of
/etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server:
libmysqlclient.so.10: cannot open shared object file: No such file or
directory
/usr/sbin/httpd
[root init.d]# ln -s /home/mysql/libmysql/.libs/libmysqlclient.so.10.0.0
/lib/libmysqlclient.so.10

[root init.d]# ./httpd start
Setting up Web Service: chiliasp: module started, version 3.5.2.31
/usr/sbin/httpd

[root init.d]#

******************************************************************************

I tried to get this to work three times, with the same result. In my
./configure command, I used:

--with-mysql=/home/mysql     (that's where it is)
--with-mysql                 (docs said it will find it)
(no mysql directive, docs said it's on by default)

-Mike K.

-- 
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 compiled php on Solaris 2.6 with Mysql 3.22 using gcc 2.95.2
configured with the following:
configure --with-nsapi=/opt/netscapeSvr/ns-home
--with-mysql=/opt/mysql-3.22 --enable-track-vars --enable-libgcc

When testing using: ./php -q run-tests.php tests
I get the following failures:

Running tests in /home/dwight/php/php-4.0.4pl1/tests/basic
==========================================================
Trivial "Hello World"
test                                                       ... passed
Simple POST Method test (002.phpt)                                   ...
failed
GET and POST Method combined (003.phpt)                      ... failed
Two variables in POST data (004.phpt)                                ...
failed
Three variables in POST data (005.phpt)                              ...
failed
Add 3 variables together and print result
... passed

All other tests are passing.....

Any ideas on where to look to find out why the GET and POST methods are
failing?
Thanx in advance...
[EMAIL PROTECTED]





When ever I am trying to access a php file with an error,my system is
overwelmingly slowing down and restarting is the only solution.
Previously I worked on linux/apache/php 4.0/mysql ,I never had such
problem.I used to get some errors and I used to correct them but working in
this environment is almost impossible as I am restarting my system 95% of
time.

Any ideas what might be the problem and got any tips?

Thanks in advance,
Sagil.






I am running PHP 4.0.5 on Windows 2000 with SQL server databases.
If there is an error with my PHP code, my computer becomes very very slow
and  nothing works. The PHP
process is using 99 % of the CPU. So I have to restart the computer. This
happens everytime there is an error in
my PHP code. For the work I am doing, I have to use PHP with backend SQL
Server on Windows Platform.

Any suggestions will be greatly appreciated.

Thank you
PHPFAN






Hi!

 I'm attempting to install PHP to a Win ME computer with Apache 1.3.20 and
ActiveState Perl already successfully installed. I have tried both the
Module and the CGI formats for installing this and I get errors both ways.
When I use the module installation I enter:
LoadModule php4_module modules/php4apache.dll
AddType application/x-httpd-php .php
into my httpd.conf file and I'm informed that Apache won't run at all
because the .dll can't be loaded into the server - a device attached to the
system is not functioning. I have no clue what device this is - any clues?
When I try to install it as CGI I put:
ScriptAlias /php4/ "C:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
into the httpd.conf file and Apache loads fine. However in my error logs, my
test .php page is shown as coming from the c:/program files/apache
group/apache/htdocs/php/php.exe/test.php - not from the htdocs/test.php
folder that it actually is in.

Any clues as to why these things are happening? Thanks SO MUCH in advance!!

Robin Hastings
[EMAIL PROTECTED]




Reply via email to