php-install Digest 5 Dec 2002 10:13:02 -0000 Issue 1147

Topics (messages 9306 through 9317):

Re: PHP as mod with MySQL
        9306 by: Jim Thome

ini function like ini_set or ini_alter
        9307 by: Franco Pozzer

Re: install php ldapcsdk solaris iplanet
        9308 by: jqp.park.se

Accessing Oracle 8i using ODBC
        9309 by: William Cheung

need help on Installation over Linux/apache/mysql
        9310 by: ppf

PHP-MySQL-HPUX 11
        9311 by: Rick King
        9312 by: Rick King

Help w/ setup
        9313 by: Chris Gabriel

Installation Help
        9314 by: Chris Gabriel

Re: Redhat 8.0 PHP/SNMP Issue?
        9315 by: ivan roseland

Cant get installed on one computer
        9316 by: php

URGENT spy php formmail
        9317 by: Nick Petros

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 ---
Use any that contain the MySQL client libraries (/usr usually works.)


--
Jim

>>> "Jim Bartlett" <[EMAIL PROTECTED]> 12/04/02 06:53 AM >>>
I am running Red Hat 7.2. I have MySQL 3.23.x installed from RPM's. I
compiled Apache 1.3x and mod_auth_mysql. Now I need to compile PHP as a
module for Apache (via apxs) but when I do, I get a nice little warning at
the end. It states if I am using PHP with other MySQL modules (ie
mod_auth_mysql) I must point PHP to my MySQL dir instead of using built-in
support. But MySQL is spread out over 6 or more directories (/var/lib/mysql,
/usr/lib/mysql, /usr/bin, etc). Which directory should I point to?

Note: I tried using a purely RPM install on RedHat 8.0, but then the
PostNuke install script (install.php) will not advance beyond the first page
(Set Language). Older versions of the components (those in RH 7.2) seem to
work better, the install script works fine.

Thanks for any help.

Jim.



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---
--- Begin Message ---
Thanks for all.

My end it is Apache 1.3.27 and PHP 4.3.2 in Win32 system NT 4.0.

I have the php.ini auto_prepend_file  like this:
auto_prepend_file="C:\OPENFEDRA\Apache\htdocs\fedra\sv\cfg\" 

All work fine with this configuration of the php.ini.

For same reason I must to do not configure php.ini and the directives
auto_prepend_file must be null like auto_prepend_file =.

I have discovered ini_alter function but I do not be able to work in my
application.

My script it is like:
<?
$path="C:\\OPENFEDRA\\Apache\\htdocs\\fedra\\sv\\cfg\\";

echo"<br>$path<br>";

if(ini_alter('auto_prepend_file', $path.'systemVariables.php'))
 echo "<br>ini_alter success<br>";
else
 echo "<br>ini_alter failed<br>";

but do not work.

If I change the ini_alter with include() it work all fine but I do not
want to use include or require function.

have sameone an idea about this code do not work??

Thanks for all and if it is possible reply to me also to e-mail follow.

[EMAIL PROTECTED]
www.infocamere.it


 /*        session_start();
         session_destroy();*/
     $handle = opendir($FolderTmpExt);
     


 

--- End Message ---
--- Begin Message ---
 Check out bug 20773 at www.php.net (this link :
 http://bugs.php.net/bug.php?id=20773)

 You need a "bleeding edge" version of php. The snapshot at
 http://snaps.php.net/php4-latest.tar.gz should work, at least
 it seems to work for me under linux/apache (though I haven't
 acctually tried the ldap bindings yet).

 Regards,

 Peder

On Fri, 29 Nov 2002, claudia raedig wrote:

> hello everybody,
> I want to run php 4.2.3 with ldapcsdk (version 5.08) on solaris 8.
> after the make install I get following error message when starting the
> webserver (iplanet 4.1 sp7):
>    ..fatal relocation error ..
>    ..symbol ldap_start_tls_s referenced symbol not found
> please!!! has anybody a solution to my problem?
> thank you very much in advance,
> ciao, claudia
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
I got the following error when I test Oracle 8i connection with ODBC.
Application popup: php.exe - Application Error : The instruction at
"0x77f853ca" referenced memory at "0x00000010". The memory could not be
"read".

Click on OK to terminate the program

Click on CANCEL to debug the program 

I am using Win2K and PHP 4.2.3. The ODBC connection is working fine with
other applications.
The following is my test script.
 
<?php

$conn_ptr = odbc_connect("DB","user","password");

print $conn_ptr . "\r\n";

ob_flush();

$SQLReturn = odbc_exec($conn_ptr,"SELECT company_name FROM company");

$ReturnRows = odbc_fetch_into($SQLReturn,$line,1);

while ($ReturnRows) {

print $line[0] . "\r\n";

ob_flush();

$ReturnRows = odbc_fetch_into($SQLReturn,$line);

}

odbc_close($conn_ptr);

?>

It outputs the datarows and then the error pops up. Please tell me what
causes the problem. The above script works fine with SQL Server
database.
 
William Cheung, B.Sc. MCSE MCDBA
Databyte Corp.
 
--- End Message ---
--- Begin Message ---
Hi :
I tried to Install Apache1.3x/PHP4.0x/Mysql on Linux
6.1 I followed exact steps described in

http://www.e-gineer.com/instructions/install-php4x-for-apache1xx-on-linux.phtml
 Apache/mysql installed and tested successfully, but
when I tried to install php with mysql option it shows
that installation was successful, but when I tried to
start the apache, I had noticed that httpd itself is
deleted from /bin folder. I had repeated all the above
steps from second time onwards when I tried to install
php over apache with mysql option, (to be precise when
I tried to execute the command “make”) it generate 2
errors. And I tried to continue the following steps I
got the message says that php installation successful
still my php files opening on note pad. I have no clue
about this error, it will be help full if any one can
point out where I went wrong. Also I am new to Linux,
should I move to latest version of Linux, any
suggestion about the stable platform/version of
software combination are welcome
   Thanks in advance 
 
   prad


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--- End Message ---
--- Begin Message ---
OS: HPUX 11
PHP: 4.2.3
GCC: gcc3.2
MySQL: 3.23.53
Apache: 1.3.27

PHP Compile Options:
CC=gcc
./configure --with-mysql=/usr/local/mysql --with-apxs=/opt/apache-1.3.27/bin
/apxs \
--enable-discard-path

Hello PHP Guru's!

I'm trying to install PHP w/ MySQL support and w/ Apache-DSO support. During
the PHP install, the "configure", "gmake", and "gmake install" goes without
a hitch.
However, when I start Apache I get the following error:

/usr/lib/dld.sl: Unresolved symbol: compress (code)  from
/usr/local/mysql/lib/mysql/libmysqlclient.sl.10
/usr/lib/dld.sl: Unresolved symbol: uncompress (code)  from
/usr/local/mysql/lib/mysql/libmysqlclient.sl.10
/usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code)  from
/usr/local/mysql/lib/mysql/libmysqlclient.sl.10
Syntax error on line 236 of /opt/apache-1.3.27/conf/httpd.conf:
Cannot load /opt/apache-1.3.27/libexec/libphp4.sl into server: Unresolved
external
./apachectl start: httpd could not be started

Does anyone know what this means? I think the MySQL-libs are trying to
source other libs but I'm not sure. Has anyone run into this problem before?

Any solutions/help/words of wisdom are greatly appreciated!

Rick King




--- End Message ---
--- Begin Message ---
OS: HPUX 11
PHP: 4.2.3
GCC: gcc3.2
MySQL: 3.23.53
Apache: 1.3.27

PHP Compile Options:
CC=gcc
./configure --with-mysql=/usr/local/mysql --with-apxs=/opt/apache-1.3.27/bin
/apxs \
--enable-discard-path

Hello PHP Guru's!

I'm trying to install PHP w/ MySQL support and w/ Apache-DSO support. During
the PHP install, the "configure", "gmake", and "gmake install" goes without
a hitch.
However, when I start Apache I get the following error:

/usr/lib/dld.sl: Unresolved symbol: compress (code)  from
/usr/local/mysql/lib/mysql/libmysqlclient.sl.10
/usr/lib/dld.sl: Unresolved symbol: uncompress (code)  from
/usr/local/mysql/lib/mysql/libmysqlclient.sl.10
/usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code)  from
/usr/local/mysql/lib/mysql/libmysqlclient.sl.10
Syntax error on line 236 of /opt/apache-1.3.27/conf/httpd.conf:
Cannot load /opt/apache-1.3.27/libexec/libphp4.sl into server: Unresolved
external
./apachectl start: httpd could not be started

Does anyone know what this means? I think the MySQL-libs are trying to
source other libs but I'm not sure. Has anyone run into this problem before?

Any solutions/help/words of wisdom are greatly appreciated!

Rick King


--- End Message ---
--- Begin Message ---
okay-
i have apache and a server root that i want all set up. (port 80)
i also have g6 bulletproof ftp (port 21)
mail server (84, 25, 110)

now, im setting up PHP423
i downloaded it from the website, unpacked the files into c:/program
files/web/PHP423/php4win/
now i made a file into php.ini by renaming it and i set the paths/dirs part
to the .../php4win for extensions and to my doc root (from apache) for doc
root.  wat do i do next?
Thanks for your help,
-Chris


--- End Message ---
--- Begin Message ---
okay-
i have apache and a server root that i want all set up. (port 80)
i also have g6 bulletproof ftp (port 21)
mail server (84, 25, 110)

now, im setting up PHP423
i downloaded it from the website, unpacked the files into c:/program
files/web/PHP423/php4win/
now i made a file into php.ini by renaming it and i set the paths/dirs part
to the .../php4win for extensions and to my doc root (from apache) for doc
root.  wat do i do next?
Thanks for your help,
-Chris


--- End Message ---
--- Begin Message ---
Jeff wrote:
This is a clean install of RH 8.0

I have the net-snmp (previously ucd-snmp) setup and working great.  I tried
to use the snmpget command through PHP, but it didn't work.  Checked the
phpinfo for the --with-snmp stuff, and it wasn't there.  Found the RPM for
this (php-snmp, that comes on Disk 3), installed it (and rebooted), and now
there some entries in the ./configure portion of phpinfo.

The problem is that the php code pretty much stops after any snmpxxx
command.  My theory is that it can find the appropriate command.

The wierd thing is that not it says '--with-snmp=shared,/usr'
'--with-snmp=shared' '--enable-ucd-snmp-hack' after the RPM install.

I think that first option is wrong and should state: '--with-snmp=/usr/bin'

How in the heck do I fix this?  I'm fairly new to this whole Linux thing, I
don't have a great understanding of how I would compile all the apps to make
system back to the way it is, etc.  Somehow this RPM edited the config
(incorrectly) and I would like to fix.



Ditto,

I have been trying to build apache2 + php4 with SNMP support on
redhat 8 all day.. The snmp support from the RPM is quite broken.


If you look in /usr/include you will find two directories

net-snmp
ucd-snmp

ucd-snmp is what php wants.

Of course here is what the .h files look like in there

#ifdef UCD_COMPATIBLE

#include <net-snmp/library/asn1.h>

#else

#error "Please update your headers or configure using --enable-ucd-snmp-compatibility"

#endif


what the hell?

I have a feeling that I will also be going back to fresh source for SNMP
as well...


Thanks Redhat, I didnt *really* like useing RPMS to make my life suck less.

That or perhapse the php developer guys could add another config directive something like


--redhat8-SNMP-sucks-ass-workaround



--- End Message ---
--- Begin Message --- We are trying to move to PHP for our website here at work and I installed about 2 months ago PHP and Apache on a machine here, I then installed it on our server and another employees machine with no problems.

Now, I am trying to install it yet again on a QA machine and I can't get it to work. I get the following error:

Warning: Failed opening '/home/public_html/tst.php' for inclusion (include_path='c:\php4\pear') in Unknown on line 0

I was using Apache 1.3.23, I upgraded to 1.3.27 and even upgraded to Apache 2. I was using PHP 4.1.2 and I downloaded 4.3 ORC and tried it, I get the same error no matter what the versions. I tried copying entire directories from working machines as well and still get that error above. It is only on this one machine that I can't get it to work but all the machines are pretty similar with pretty much the same software and configurations on them.

Win2k
Apache 1.3.27 currently
php 4.1.2 currently
everything is on drive D:\ so it is D:\Apache and D:\PHP serverroot is D:\home\public_html and the tst.php is just doing phpinfo()

I did a disk wide search for c:\php4\pear and found it in d:\php\php4ts.dll I assume that is some kind of default that is overriden by variable in .INI or like that but I have copied those files from working machines and gone through them line by line.

Any Ideas ?

mike

--- End Message ---
--- Begin Message ---
Hello,
i have install php to a linux server.
I have about 200 domains hosted in my server.
One of this domains have php mailbomber. The user
upload this, make mailbombs and after this delete
this, or use the mailbomber within other scripte, so i
canot find with any search.
It is possible to spy the emails sended by php
scripts?
How i can do this? I want to find the domain or the
user who send this mailbombs.
Thanks a lot and sorry for my bad English.
Nick

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
--- End Message ---

Reply via email to