php-install Digest 26 Oct 2001 14:51:07 -0000 Issue 524
Topics (messages 4753 through 4763): refreshing and code editing problem. 4753 by: Archer Error compiling LDAP support into PHP, causes Apache to crash. 4754 by: Scott Singleton Re: [PHP] error compiling LDAP support into PHP, causes Apache to crash. 4755 by: Scott Singleton Re: File download? 4756 by: Arne Goetje universe, orbacus 4757 by: Mitja Udovc its possible to compil php 4.0.6 and apache 1.3.22 on HP-UX 11.00 4758 by: lemble gregory 4763 by: Jim Thome Problem: PHP_SELF variable 4759 by: Hostmaster 4762 by: Mark Roedel problems with DSO support 4760 by: Marco Nardelli Session control configurations 4761 by: Robert J Sneddon 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] ----------------------------------------------------------------------
Hello Everybody, I have this strange problem in PHP4.06 and I am using windows NT. I have this 2 files one is the HTML that will throw a value into PHP and my PHP supporting the grahics and when I change the value from my HTML and the PHP display never change even I keep refreshing my browser. I did not close the existing browser and I edit the code then make a refresh then the display was change. During the first one I try to look at the image file to make sure if the image has been change and yes it change but the display in the browser never change. Please if you have any idea about this problem please tell me. Thanks a lot Archer > Try apahce 1.3.22, problem may be gone with this version. > > Read apache release notes for details. > > -- > Yasuo Ohgaki > > Christopher M. Jones wrote: > > > Argh, I can't get php4 to get along with mod_perl! > > Everytime I run a mod_perl enabled httpd and load > > the php4 module the server dies. It will not serve > > *anything*, including static content. All the > > server processes seg fault and I end up with something > > like so in the error log: > > > > [Fri Oct 12 22:15:33 2001] [notice] child pid 19256 exit signal Segmentation > > fault (11) > > > > I tried searching for a solution and found some info, > > but no workable solution as of yet. Some people are > > reporting that it is a mysql problem, however I have > > created a php module with --without-mysql (and verified > > that it does not in fact connect to mysql using a non > > mod_perl httpd) and still get the same error with a > > mod_perl enabled httpd. > > > > I've rebuilt everything, apache, php, mod_perl, > > repeatedly with different options and I have had no > > luck. I can run mod_perl, I can load the php module, > > but apparently I can't do both at the same time. > > > > I *know* others are having similar problems, has > > anyone found a good fix yet? > > > > I'm using php 4.06, apache 1.3.20, and mod_perl 1.25 > > btw. > > > > > > Any help would be greatly appreciated. > > > > > > -- > > We want... a shrubbery! > > > > > > > > > > -- > 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] > >
> Could someone glance at my situation and the enclosed PHP error log > snippet and give me an idea as to where to procede? I'm pretty stuck. > > Stats: > > OS: Linux (RH 7.1) > Apache 3.19 > > Have latest openLDAP and Berkeley DB 3 Installed with no build errors > (/usr/local;/usr/local/BerkeleyDB.3.3) > > My PHP config statement: > > ./configure --with-apxs \ > --with-mysql \ > --with-mcal=../libmcal \ > --with-zlib \ > --with-gettext \ > --enable-ftp \ > --with-mcrypt=../libmcrypt \ > --with-ldap=/usr/local \ > --with-config-file-path=/etc > > > > When the HTTPD daemon starts it immediately shuts down with no error > message. If I reconfig excluding the LPAP directive the system works like > a champ. BTW.. does anyone know why MySQL fails to register so many > functions? > > > Here's a snippet of the PHP Log: > > [26-Oct-2001 00:52:46] PHP Warning: Function registration failed - > duplicate name - mysql_dbname in Unknown on line 0 > [26-Oct-2001 00:52:46] PHP Warning: Function registration failed - > duplicate name - mysql_tablename in Unknown on line 0 > [26-Oct-2001 00:52:46] PHP Warning: mysql: Unable to register functions, > unable to load in Unknown on line 0 > [26-Oct-2001 00:52:46] PHP Warning: U?Sf"ø_: Unable to > initialize module > Module compiled with debug=224, thread-safety=106 module API=1082247328 > PHP compiled with debug=0, thread-safety=0 module API=20010901 > These options need to match > in Unknown on line 0 > > > BTW.. does anyone know why MySQL fails to register so many functions? > >
Oops.. here's a better snippet of the PHP log file with this info.. [26-Oct-2001 00:48:54] PHP Warning: Function registration failed - duplicate name - ldap_compare in Unknown on line 0 [26-Oct-2001 00:48:54] PHP Warning: Function registration failed - duplicate name - ldap_get_option in Unknown on line 0 [26-Oct-2001 00:48:54] PHP Warning: Function registration failed - duplicate name - ldap_set_option in Unknown on line 0 [26-Oct-2001 00:48:54] PHP Warning: Function registration failed - duplicate name - ldap_parse_result in Unknown on line 0 [26-Oct-2001 00:48:54] PHP Warning: Function registration failed - duplicate name - ldap_first_reference in Unknown on line 0 [26-Oct-2001 00:48:54] PHP Warning: Function registration failed - duplicate name - ldap_next_reference in Unknown on line 0 [26-Oct-2001 00:48:54] PHP Warning: Function registration failed - duplicate name - ldap_parse_reference in Unknown on line 0 [26-Oct-2001 00:48:54] PHP Warning: Function registration failed - duplicate name - ldap_rename in Unknown on line 0 [26-Oct-2001 00:48:54] PHP Warning: Function registration failed - duplicate name - ldap_start_tls in Unknown on line 0 [26-Oct-2001 00:48:54] PHP Warning: ldap: Unable to register functions, unable to load in Unknown on line 0 -----Original Message----- From: Scott Singleton [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 12:52 AM To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: [PHP] error compiling LDAP support into PHP, causes Apache to crash. Could someone glance at my situation and the enclosed PHP error log snippet and give me an idea as to where to procede? I'm pretty stuck. Stats: OS: Linux (RH 7.1) Apache 3.19 Have latest openLDAP and Berkeley DB 3 Installed with no build errors (/usr/local;/usr/local/BerkeleyDB.3.3) My PHP config statement: ./configure --with-apxs \ --with-mysql \ --with-mcal=../libmcal \ --with-zlib \ --with-gettext \ --enable-ftp \ --with-mcrypt=../libmcrypt \ --with-ldap=/usr/local \ --with-config-file-path=/etc When the HTTPD daemon starts it immediately shuts down with no error message. If I reconfig excluding the LPAP directive the system works like a champ. BTW.. does anyone know why MySQL fails to register so many functions? Here's a snippet of the PHP Log: [26-Oct-2001 00:52:46] PHP Warning: Function registration failed - duplicate name - mysql_dbname in Unknown on line 0 [26-Oct-2001 00:52:46] PHP Warning: Function registration failed - duplicate name - mysql_tablename in Unknown on line 0 [26-Oct-2001 00:52:46] PHP Warning: mysql: Unable to register functions, unable to load in Unknown on line 0 [26-Oct-2001 00:52:46] PHP Warning: U?Sf"ø_: Unable to initialize module Module compiled with debug=224, thread-safety=106 module API=1082247328 PHP compiled with debug=0, thread-safety=0 module API=20010901 These options need to match in Unknown on line 0 BTW.. does anyone know why MySQL fails to register so many functions? -- PHP General 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]
Jeremy Wadsack wrote: > > Steve Blair ([EMAIL PROTECTED]): > >> I finally got PHP 4.06/Apache 1.3.20 to compile on Solaris 8, I did the >> static module. I ran into another problem though. When I try to access my >> test.php both Mozilla and IE prompt me for an application/download. I ran >> httpd -l and it shows mod_php4.c, I checked the httpd.conf and the >> 'AddType application/x-httpd-php .php' is there. I also placed a false >> LoadModule statement in the httpd.conf file and tried a reload which >> failed, so I've got the right configuration file. Am I missing something >> else here? Any help is greatly appreciated I have the same problem here... > Add the AddHandler to an Apache config file and kick the server. > > The line should look like this: > > AddHandler php-script .php > > > And goes in srm.conf in old Apaches, httpd.conf in new ones. > I did this, but the result is still the same... :( Apache 1.3.22 + PHP 4.0.6
Hello! I have succesfully installed Orbacus 4.1, mico 2.3.6 and universe 20011004. I run demos and tests succesfully. But when I try to connect server (orbacus 4.1) and universe, I get following error: CORBA::SystemException: IDL:omg.org/CORBA/INITIALIZE:1.0 (0,not-completed) Is Orbacus 4.1 compatible with mico 2.3.6? My test program is: <? $ior="IOR:011609..."; $obj=new UniverseObject($ior); ?> where $ior is IOR of namesevice (Orbacus 4.1) thanks, Mitja
i have a lot of probleme for compil with HP-UX 11.00 in DSO mode. i read some article , that its impossible to compil in DSO mode for HP-UX 11.00 on PA-2.0-RISC ( 64 bits ) someone already try this issue ? Greg
Greg- It is not impossible to compile PHP as a DSO on HPUX, however, it is currently impossible to include Oracle with this configuration because HPUX lacks support for thread local storage. HP has released their version of Apache 1.3.19, which comes with PHP as a DSO. HP-UX/Apache 2.0 is in beta. I would suggest that visit the following URL to download Apache for your platform, which will greatly simplify your installation. http://www.hp.com/products1/unix/webservers/apache/downloads/index.html If you would prefer to compile it yourself, I can send you those instructions as well. Regards, Jim >>> "lemble gregory" <[EMAIL PROTECTED]> 10/26 2:01 AM >>> i have a lot of probleme for compil with HP-UX 11.00 in DSO mode. i read some article , that its impossible to compil in DSO mode for HP-UX 11.00 on PA-2.0-RISC ( 64 bits ) someone already try this issue ? Greg -- 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]
Hello, does anyone know why my $PHP_SELF shows the full path and not only the name of the script? Something wrong with my php.ini? Thanks in advance for answeres. Jens
> -----Original Message----- > From: Hostmaster [mailto:[EMAIL PROTECTED]] > Sent: Friday, October 26, 2001 3:23 AM > To: [EMAIL PROTECTED] > Subject: [PHP-INST] Problem: PHP_SELF variable > > > does anyone know why my $PHP_SELF shows the full path > and not only the name of the script? Something wrong > with my php.ini? Thanks in advance for answers. The manual, at http://www.php.net/manual/en/language.variables.predefined.php Says that the value returned in $PHP_SELF is "relative to the document root"...that'd imply to me that it's intended to include path information from your server's document root on down, and I don't think I've ever specifically seen it do otherwise. If all you want is the actual name, without any path information at all, perhaps the basename() function would be helpful? --- Mark Roedel | "Blessed is he who has learned to laugh Systems Programmer | at himself, for he shall never cease LeTourneau University | to be entertained." Longview, Texas, USA | -- John Powell
hi all I tried to install php-4.0.6 on my Red Hat 7.1 with apache_1.3.4+ssl_1.31 and mysql-3.23.39 but I've got a very big trouble: when I type: "./configure --with-mysql=/[path to mysql] --with-apxs=/[path to apxs]" I got: "Sorry, no shared object support for Apache available under your platform. Make sure the Apache module mod_so is compiled into your server binary `/usr/local/apache/bin/httpsd'. Sorry, I was not able to successfully run APXS. Possible reasons: ...... Apache was not compiled with DSO support (--enable-module=so)." This is the real problem. When a few years ago someone had installed apache, he "forgot" to "enable-module=so". Now I'm using this server with every particular configurations I put on it and I don't want to miss them. I shouldn't want to reinstall apache, only to "enable-module=so". Is it possible? is it possible to make an "upgrade"? Can anyone help me? best regards marco
HI folks I am having a little trouble with my apache/php configuration in so far as session control is concerned am receiving this message Warning: open(/tmp\sess_5212ffd415bab1d8c28d5d9ff9a51978, O_RDWR) failed: m (2) in c:/program files/apache group/apache/htdocs/sh/catcarscpt/index.php on line 4 the php.ini file is still set to the defaults any ideas on what paths etc to put in to the php.ini file to get the session control features working thanks. Robert Sneddon