php-install Digest 28 Sep 2001 07:39:03 -0000 Issue 478

Topics (messages 4416 through 4426):

Re: If phpinfo works why doesnt anything else ?
        4416 by: Jonathan Hilgeman

debug - socket
        4417 by: Ronald Weinrich

How to install PHP to do the function mail work
        4418 by: Marcela

invisible page
        4419 by: brain_damaged

Re-Configuring 4.0.6 on FreeBSD 4.3
        4420 by: Joseph Koenig
        4421 by: Rasmus Lerdorf
        4422 by: Joseph Koenig

libphp4 load problem: uncompress
        4423 by: Brian Jacobs

HTTP PUT help
        4424 by: TR

variables_order and track_vars
        4425 by: Duncan Maitland

Compiling PHP4.0.6 in Linux 2.4.4 --> sapi_apache.c gives an error
        4426 by: Dan Roozemond

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 ---
That sounds like you already had Apache and everything else installed and
then you installed FoxServ over-top of it. Uninstall FoxServ, then
individually uninstall the other components for php, apache, and mysql. Make
sure you delete the php.ini and my.ini files, too - sometimes those are not
uninstalled. But before you delete them - make sure you take a peek at their
contents to make sure that something like my.ini isn't the initialization
file for some other "my" program like MyAccessTools or MyProgram. 

Once everything is uninstalled (be sure to clear any of those entries if
they are in your Startup folder or something), put FoxServ back on, and it
should work with the defaults.

- Jonathan

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 27, 2001 12:51 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Re: If phpinfo works why doesnt anything else ? 


Hi Jonathan,

I have been trying to install php, apache, mysql on win 98. I was having
aproblem configuring it so I tried your suggestion to use 
foxserv.

I installed it and get 2 errors:

cannot load odbcint.dll (odbc32,dll is in my windows/system directory but no
odbcint,dll)

and

it cannot load php4apache.dll even though it is where it is trying to load
it from.

any suggestions?

Bill


-- 
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]
--- End Message ---
--- Begin Message ---
Hi All,
I try to install php with debug option on my suse vers.7 linux-box. Can
anyone tell me how to create a socket ? What "shell -tclsh-" ?  to I need,
how the syntax is and how to configer the output ?
Thank you in advance
Ron


--- End Message ---
--- Begin Message ---
I want to know, how to install PHP 4.0.6 and do the function mail work. I tried :

 ./configure  --with-mysql  --with-apxs  --with-locale  --with-pgsql

But the program that have a form to be sent by mail didn't work.

  Please help me.
--- End Message ---
--- Begin Message ---
Hello
I am running php4 on freebsd. am newbie to both.
I used the SETUP.PHP and phpMYEdit.inc to get the code for me to manage databases.

Those seem to work. I get the code and paste it in a file. When I run the page tho it 
is blank.
Na Da.

Also when I try to run it as html page I get garbage on the screen. I did as the 
install.txt said to do about Addtypes. 

any help is greatly apprecaited.
thanks
bd
--- End Message ---
--- Begin Message ---
On Aug 17th, I installed PHP 4.0.6, I now need to update it with one
extra configure line. I went to where I had the source, removed the
config.cache, redid my configure, make, make install. All went well,
except it doesn't seem to be any different. Is there an easy way to make
sure the module Apache is loading is the one I configured today? After
make install, I restarted Apache, just to be sure. Please CC me as I'm
not on the install list. Thanks,

joe


--- End Message ---
--- Begin Message ---
Do a 'make clean' as well to make sure everything gets rebuilt correctly.

On Wed, 26 Sep 2001, Joseph Koenig wrote:

> On Aug 17th, I installed PHP 4.0.6, I now need to update it with one
> extra configure line. I went to where I had the source, removed the
> config.cache, redid my configure, make, make install. All went well,
> except it doesn't seem to be any different. Is there an easy way to make
> sure the module Apache is loading is the one I configured today? After
> make install, I restarted Apache, just to be sure. Please CC me as I'm
> not on the install list. Thanks,
>
> joe
>
>
>
>

--- End Message ---
--- Begin Message ---
I just re-sent this message -- Sorry - it had been sitting in my "Unsent
Messages" and I didn't realize it went out yesterday. Sorry!

Joe



Rasmus Lerdorf wrote:
> 
> Do a 'make clean' as well to make sure everything gets rebuilt correctly.
> 
> On Wed, 26 Sep 2001, Joseph Koenig wrote:
> 
> > On Aug 17th, I installed PHP 4.0.6, I now need to update it with one
> > extra configure line. I went to where I had the source, removed the
> > config.cache, redid my configure, make, make install. All went well,
> > except it doesn't seem to be any different. Is there an easy way to make
> > sure the module Apache is loading is the one I configured today? After
> > make install, I restarted Apache, just to be sure. Please CC me as I'm
> > not on the install list. Thanks,
> >
> > joe
> >
> >
> >
> >
--- End Message ---
--- Begin Message ---
Hello,

I'm trying to install PHP on Redhat 6.1, using DSO.

I run
/apachectl configtest

and get error

Syntax error on line 238 of /usr/local/apache_1.3.14/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server: /usr/lib/apache/libphp4.so: 
undefined symbol: uncompress

The 'make install' didn't find and alter my httpd.conf for me, so I added these lines 
as the last entries in their sections:

LoadModule php4_module   /usr/lib/apache/libphp4.so

AddModule mod_php4.c

And I uncommented
AddType application/x-httpd-php .php


Anyone know what this 'uncompress' error could be caused by?

Thanks,
Brian 

-------------------------------------------------------------------------------------------------------
Background:

/configure --with-mysql=/usr/local/mysql --with-apxs
make
make install

my libphp4.so is in /usr/lib/apache/

I added this to 

--- End Message ---
--- Begin Message ---
I am attempting to implement HTTP PUT to replace FTP as a method for users
to upload to our site.  Once Apache receives the PUT request I would like it
to run a PHP script that will proceed to authenticate the user via our
database.  However in the initial testing I am unable to confirm whether the
script is infact being run, I was wondering if anyone else has had
experience with this type of process?  I have entered the following line in
my http.conf file...

Script PUT /put.php

where put.php is off of the document root at the moment.

Thanks in advance!!

Toby


--- End Message ---
--- Begin Message ---
In one of my applications I would like to have only environment, server and
session variables in the global namespace, and then access GET, POST and
cookies variables from the $HTTP_*_VARS arrays. As track_vars is always on
as of PHP 4.0.3 then I should be able to access these regardless of any
settings in my PHP configuration.

My understanding is that the PHP variables_order directive controls the way
variables are added into the global namespace. When I leave register_globals
on and set

php_value    variables_order    ES

then environment, server and session variables are added to the global
namespace and you can register session variables from the global namespace,
as expected.

However, it seems that as my variables_order setting doesn't list GPC (get,
post and cookies) that not only are they not registered in the global
namespace, but that the $HTTP_GET_VARS, $HTTP_POST_VARS and
$HTTP_COOKIES_VARS arrays aren't enabled either.

Is this expected behaviour? Is there a workaround?

from Duncan Maitland
[EMAIL PROTECTED]


--- End Message ---
--- Begin Message ---
hi you all,

i'm trying to compile php4.0.6 in a Suse Linux 7.2 (kernel 2.4.4)
distribution. ./configure goes ok, no problem, but when i try to 'make' it i
get some error messages i can't understand or solve.
So, if someone would be so kind to help me, i would be very grateful!!

-----------------
The configure command i used is:

./configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib --with-config-
file-path=/etc --with-exec-dir=%{libdir}/php/bin --with-mysql --with-gd=yes 
--with-tiff-dir=/usr  --with-jpeg --with-png --with-pdflib=/usr/lib/pdflib -
-with-imap --with-zlib --with-bz2 --with-xml --with-ttf --with-t1lib-dir=/us
r/share/t1lib --with-ftp --with-ndbm --with-gdbm --with-mm --with-gd=yes --w
ith-qtdom=/usr/lib/qt-2.2.1/ --enable-versioning --enable-yp --enable-bcmath
 --enable-trans-sid --enable-inline-optimization --enable-track-vars --enabl
e-magic-quotes --enable-safe-mode --enable-sockets --enable-sysvsem --enable
-sysvshm --enable-shmop  --enable-calendar --enable-exif --enable-ftp --enab
le-memory-limit --enable-wddx --enable-filepro --enable-dbase --enable-ctype
 --enable-debug --enable-force-cgi-redirect --enable-discard-path --enable-s
igchild --enable-gd-imgstrttf --with-apxs=/usr/local/httpd/bin/apxs
i386-suse-linux-gnu --with-freetype-dir=/usr/include/freetype2

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


--------------------
The error message is as follows:

make[3]: Entering directory `/src_dl/php-4.0.6/sapi/apache'
/bin/sh /src_dl/php-4.0.6/libtool --mode=compile
gcc  -I. -I/src_dl/php-4.0.6/sapi/apache -I/src_dl/php-4.0.6/main -I/src_dl/
php-4.0.6 -I/usr/local/httpd/include -I/src_dl/php-4.0.6/Zend -I/usr/include
/freetype2/freetype -I/usr/include/imap -I/src_dl/php-4.0.6/ext/mysql/libmys
ql -I/src_dl/php-4.0.6/ext/xml/expat/xmltok -I/src_dl/php-4.0.6/ext/xml/expa
t/xmlparse -I/src_dl/php-4.0.6/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -
Wall  -c sapi_apache.c
gcc -I. -I/src_dl/php-4.0.6/sapi/apache -I/src_dl/php-4.0.6/main -I/src_dl/p
hp-4.0.6 -I/usr/local/httpd/include -I/src_dl/php-4.0.6/Zend -I/usr/include/
freetype2/freetype -I/usr/include/imap -I/src_dl/php-4.0.6/ext/mysql/libmysq
l -I/src_dl/php-4.0.6/ext/xml/expat/xmltok -I/src_dl/php-4.0.6/ext/xml/expat
/xmlparse -I/src_dl/php-4.0.6/TSRM -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -Wa
ll -c sapi_apache.c  -fPIC -DPIC -o sapi_apache.lo
sapi_apache.c: In function `apache_php_module_main':
sapi_apache.c:80: `NOT_FOUND' undeclared (first use in this function)
sapi_apache.c:80: (Each undeclared identifier is reported only once
sapi_apache.c:80: for each function it appears in.)
make[3]: *** [sapi_apache.lo] Error 1
make[3]: Leaving directory `/src_dl/php-4.0.6/sapi/apache'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/src_dl/php-4.0.6/sapi/apache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/src_dl/php-4.0.6/sapi'
make: *** [all-recursive] Error 1
--------


tia
dan roozemond



--- End Message ---

Reply via email to