f



Problem updating PHP 4.3.0 DEV to PHP 4.3.3

Hi!

I had Apache 2.0.47 and PHP 4.3.0 DEV running successfully on a W2k
Server. For some reason, I couldn't get PHP to read XML-Attributes
with the DOM XML -functions. So I thought, it would be time to update
PHP to a newer version.
So I simply replaces the old php-files with the new ones and of course
kept the php.ini. But now, PHP doesn't work anymore. As soon as I
request a page with php code, I get a "document contains no data"
error after a while. (Apache's error log looks like the excerpt at the
end of this message)

If I install PHP5, I can't even start Apache.

Does anyone have an idea, what may go wrong here?

Thanks in advance,

Tobias

[...]
[Wed Sep 24 20:46:56 2003] [debug] child.c(695): Child 3196: Worker
thread 248 starting.
[Wed Sep 24 20:46:56 2003] [debug] child.c(695): Child 3196: Worker
thread 249 starting.
[Wed Sep 24 20:47:24 2003] [notice] Parent: child process exited with
status 3221225477 -- Restarting.
[Wed Sep 24 20:47:25 2003] [notice] Parent: Created child process 3032
[Wed Sep 24 20:47:25 2003] [debug] mpm_winnt.c(505): Parent: Sent the
scoreboard to the child
[Wed Sep 24 20:47:25 2003] [notice] Child 3032: Child process is
running
[Wed Sep 24 20:47:25 2003] [info] Parent: Duplicating socket 220 and
sending it to child process 3032
[Wed Sep 24 20:47:25 2003] [debug] mpm_winnt.c(426): Child 3032:
Retrieved our scoreboard from the parent.
[Wed Sep 24 20:47:25 2003] [debug] mpm_winnt.c(623): Parent: Sent 1
listeners to child 3032
[Wed Sep 24 20:47:25 2003] [debug] mpm_winnt.c(582): Child 3032:
retrieved 1 listeners from parent
[Wed Sep 24 20:47:25 2003] [notice] Child 3032: Acquired the start
mutex.
[Wed Sep 24 20:47:25 2003] [notice] Child 3032: Starting 250 worker
threads.
[Wed Sep 24 20:47:25 2003] [debug] child.c(695): Child 3032: Worker
thread 0 starting.
[Wed Sep 24 20:47:25 2003] [debug] child.c(695): Child 3032: Worker
thread 1 starting.
[...]
0
9/24/2003 6:48:36 PM
comp.lang.php 32646 articles. 0 followers. Post Follow

2 Replies
1996 Views

Similar Articles

[PageSpeed] 5

Hi again,

I've found the problem. There was a dll from an old backup still
somwhere in the search path.

But now I have a new problem. When I use the domxml-functions to
parse a xml document with ISO-8859-1 encoding, and simply print out
the parsed texts with echo, then all the umlauts get messed
(� -> ö and so on). The html is set to charset=iso-8859-1, the xml
encoding is ISO-8859-1. So why do my umlauts become 2-byte codes in
output, that can't even convert with htmlentities()?

bye,

Tobias

0
9/25/2003 1:03:28 AM
I had a similar problem a few months back, and when I queried it with PHP
support they told me that while the default character set for PHP is
ISO-8859-1 the character set used by the DOM XML functions is UTF-8. In
order to correctly process accented characters this is what you do:-

1) Use the mb_convert-encoding() function along with the
$doc->create_text_node() function to convert from ISO-8859-1 to UTF-8, as
in:
$value =
$xml_doc->create_text_node(mb_convert_encoding($fieldvalue,'UTF-8','ISO-8859
-1'));

2) On the $xml_doc->dump_mem() command change the encoding back to
ISO-8859-1 as in:
$xml_string = $xml_doc->dump_mem(true,'ISO-8859-1');

I hope this helps.

Tony Marston
http://www.tonymarston.net/

"Tobias Grimm" <tobias.grimm@gmx.de> wrote in message
news:bktepc$bj0$00$1@news.t-online.com...
> Hi again,
>
> I've found the problem. There was a dll from an old backup still
> somwhere in the search path.
>
> But now I have a new problem. When I use the domxml-functions to
> parse a xml document with ISO-8859-1 encoding, and simply print out
> the parsed texts with echo, then all the umlauts get messed
> (� -> ö and so on). The html is set to charset=iso-8859-1, the xml
> encoding is ISO-8859-1. So why do my umlauts become 2-byte codes in
> output, that can't even convert with htmlentities()?
>
> bye,
>
> Tobias
>


0
tony155 (869)
9/25/2003 10:24:27 AM
Reply:

Similar Artilces:

Apache 2.0.48+php 4.3.4+Aix 4.3.3
Hello. I'm trying to compile this version of apache with php support on Aix 4.3.3ML11. I use gcc 3.2.1 compiler and all seems to go right. But when i try to access to a php page apache shows segmentation fault and doesn't answer. Any idea ? Thanks. > Hello. > I'm trying to compile this version of apache with php support on Aix > 4.3.3ML11. > I use gcc 3.2.1 compiler and all seems to go right. > But when i try to access to a php page apache shows segmentation fault and > doesn't answer. > > Any idea ? Does Apache also segfaults wh...

Apache 2.0.48+Php 4.3.4+Aix 4.3.3
Hello. I'm trying to compile this version of apache with php support on Aix 4.3.3ML11. I use gcc 3.2.1 compiler and all seems to go right. But when i try to access to a php page apache shows segmentation fault and doesn't answer. Any idea ? Thanks. ...

Problem getting PHP to recognize MySQL, Using PHP 4.3.7 and MySQL 4.0.20
Hi there! I have both PHP 4.0( RPM) installed and MySQL 4.0.20 installed with the mysqld daemon up and running. But when I look at the output of phpinfo() , I do not see it there, which is worrisome and so I tried to recompile PHP and do ./configure with the --with-mysql=path but I don't really know where my mysql's header files should be , is there any way to find that out by using any of the mysql commands? I did try to do ./configure for PHP4 without any parameters and when I looked at the output, I do see that PHP seems to recognize that mySQL is there : .... checking for MSSQL support via FreeTDS... no checking for MySQL support... yes checking for specified location of the MySQL UNIX socket... no checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock checking for inline... (cached) inline ..... Hence, why is that when I do phpinfo() , mySQL still doesn't show up? I suspect that mysql isn't working correctly with php, because if I use the mysql_connect() function in my php, I get the error "Fatal error: Call to undefined function: mysql_connect() " and yet it DOES seem like PHP recognizes mysql is there. That "unable to recognize mysql_connect function" error comes up after installing PHP using ./configure with or without any parameters. Please help, thanks. I am pretty sure my MySQL is properly installed because I can mysql into the server and set up my database ##-----------------------------------------------...

Mysql 4.1.0 & PHP 4.3.3
Hello, I'm trying to set up a local WAMP environment. But when I test to connect to mysql from PHP(4.3.3) I get an error: 'Client does not support authentication protocol requested by server. Consider upgrading MySQL client ' Does anyone know if it exists any PHP connection support for Mysql 4.1.0 or do I have to downgrade mysql? erzon <erx@k.q> wrote: > I'm trying to set up a local WAMP environment. But when I test to > connect to mysql from PHP(4.3.3) I get an error: > > 'Client does not support authentication protocol requested by > server. Consider upgrading MySQL client ' > > Does anyone know if it exists any PHP connection support for Mysql 4.1.0 > or do I have to downgrade mysql? Hi, Make sure you start the MySQL server with: --old-passwords Background: http://www.mysql.com/doc/en/Password_hashing.html HTH; JOn ...

Upgrading from PHP 4.2.3 to 4.3.4 consequences ?
Hi, Where can I find informations about consequences of upgrading from PHP 4.2.3 to 4.3 regarding existing PHP applications ? I have lots of existing PHP (4.2.3) scripts, will everything still work if I upgrade PHP to 4.3 ? What changes have to be done ? (Solaris 8, Apache 1.3.28, Oracle 8.1.9.3) Thanks, Seb "S. Crespel" wrote: > > Hi, > > Where can I find informations about consequences of upgrading from PHP > 4.2.3 to 4.3 regarding existing PHP applications ? > > I have lots of existing PHP (4.2.3) scripts, will everything still work > if I upgrade PHP to 4.3 ? What changes have to be done ? > > (Solaris 8, Apache 1.3.28, Oracle 8.1.9.3) You could search php.net for the changelogs, for starters. Regards, Shawn -- Shawn Wilson shawn@glassgiant.com http://www.glassgiant.com I have a spam filter. Please include "PHP" in the subject line to ensure I'll get your message. Hi, I read them, not very digest and not very usefull. I'd like something more convenient. I've heard somrthing about function parameter problems, object's constructors and destructors, aso .. Of course I'll build a test pateform but I need to have an idea of how much time it will take. Not a clue ? Nowhere ? I did find nothing in php.net nor easily with google. Thanks, Seb "Shawn Wilson" <shawn@glassgiant.com> a �crit dans le message de news: 40055CE1.44A9C675@glassgiant.com... > "S. Cres...

Problem with Apache 1.3.28/PHP 4.3.3 on XP
Hi, I've got a strange query that I can't figure out. I've got a new installation of Apache 1.3.28 and PHP 4.3.3 on my laptop, but it doesn't appear to be processing URLs correctly. I've tried to do a direct copy of my config on my desktop (which is Apache 1.3.27 and PHP 4.3.1, I think), but I don't have access to it any more to check the config files. Apache works fine, I installed it first and tested it with several pages. They all get served nicely. PHP itself works fine, it processes and serves files correctly, with only one apparent problem. If you pass a URL such as : http://127.0.0.1/gallery/canada_0303/imgquery.php?PID=F1P02&mode=Photo I still get the same result as if i'd typed in : http://127.0.0.1/gallery/canada_0303/imgquery.php I added a line to print out the variables at the top of the page, and all of them are empty. Regardless of what you put in. If you need an example : http://www.novaldex.com/gallery/canada_0303/imgquery.php this is the same file (with only mods for usernames/passwords for different servers) and it works perfectly on my webhost. Click on the 'Next' and 'Prev' photos on the right to scroll through the pictures. Here is the primary code that is of concern : <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Image Viewer</title> <base target="_self"> </head> <body b...

Problems with PHP 4.3.10 and 5.0.3 in IIS
Hi guys, Has anyone else had trouble with the latest releases of PHP in IIS (using the ISAPI module)? I updated our copies of PHP recently and very soon IIS became very unstable with the websites (both php4 and 5) not responding and even FTP not working. Restarting IIS would get them back temporarily but they'd fail soon afterwards. We also run Apache on the server which suffered from none of those problems and worked fine with the new version of PHP5. I've rolled back the versions of PHP which seems to have fixed the problems. Has anyone else had these kind of problems and is there anything I can do to fix them or find out more about the problem? I've had the latest versions running on our test server and haven't found any problems so it seems to only become apparent when there is a lot of activity. Thanks Andrew ...

PHP 4.3.3
Ok I hope someone can clear this up for me because my laptop is going in the bin or across the room soon. I have installed versions: MySQL 4.0.15 Apache 2.0.47 PHP 4.3.3 I have put the php4ts.dll in c:\winnt\system32\ I have changed the php.ini in c:\winnt\ I have changed the httpd.conf in c:\Program FIles\Apache Group\Apache2\conf\ I have done bloody everything... Apache I know works I can get the page up when I go localhost on browser. MySQL works because I have tried examples. PHP seems to work with most things, but not with IF () statements! for example: <?php if ($submit == "Go") { echo("you wrote ".$you_wrote); echo("<br>You could have written"); exit; } ?> <form action="<?php echo($PHP_SELF) ?>" method="POST" > <p>Input a word <input type="text" size="20" name="you_wrote"> <input type="submit" name="Submit" value="Go"></p> </form> If I save this as php file and go to browser and call it up, I get notice come up "Notice: Undefined variable: submit in C:\Program Files\Apache Group\Apache2\htdocs\test0.php on line 2" Line being if ($submit == "Go") { Can someone please tell me what needs doing please.... On 30 Sep 2003 07:32:18 -0700, w.bristow@rchl.org.uk (Wayne) wrote: >Ok I hope someone can clear this up for me because my laptop is going >in the bin or across the roo...

imagerotate problem with PHP 4.3.9
Recap: Using imagerotate within PHP 4.3.9 - PHP 5.2.0 for both XP and Linux, all using GD2 If you rotate an image 180 degrees, all is fine If you rotate an image > 0 degrees and < 180 degrees, or > 180 degrees and < 360 degrees, while the image will rotate, its dimensions are somehow not refactored and as a result you get a rather annoying black bar in the newly-rotated image, along with part of your image being cropped off. I learned about a possible workaround with ImageMagick's convert command, but has anyone found a better solution (other than using XP's built-in image rotation routines)? Thanks Phil On Wed, 20 Jun 2007 15:45:03 +0200, comp.lang.php <phillip.s.powell@gmail.com> wrote: > Recap: > > Using imagerotate within PHP 4.3.9 - PHP 5.2.0 for both XP and Linux, > all using GD2 > > If you rotate an image 180 degrees, all is fine > > If you rotate an image > 0 degrees and < 180 degrees, or > 180 degrees > and < 360 degrees, while the image will rotate, its dimensions are > somehow not refactored and as a result you get a rather annoying black > bar in the newly-rotated image, along with part of your image being > cropped off. > > I learned about a possible workaround with ImageMagick's convert > command, but has anyone found a better solution (other than using XP's > built-in image rotation routines)? Depends on what you want from it, how would you like it to behave...

foreach problem moving from php v4.3.0 to php v4.3.10
I am trying to figure out why the code listed below works in php v4.3.0 but not in v4.3.10: $string = "Param1=Val1;Param2=Val2;Param3=Val3"; $exploded_string = explode(";",$string); foreach($exploded_string as $param){ list($key, $value) = split("=",$param); ...additional code... } It works fine in v4.3.0, but when I run it on a server running v4.3.10 I get an error because $param is an Array. It should be a regular scaler variable. On the first iteration $param should equal 'Param1=Val1' On the Second iteration $param should equel 'Param2=Val2' so on an so forth... Any thoughts or suggestions Thanks Patrick On 2005-04-06, Patrick Russell <prussell@snpent.com> wrote: > I am trying to figure out why the code listed below works in php v4.3.0 but > not in v4.3.10: > > $string = "Param1=Val1;Param2=Val2;Param3=Val3"; > $exploded_string = explode(";",$string); > foreach($exploded_string as $param){ > list($key, $value) = split("=",$param); > ...additional code... > } > > It works fine in v4.3.0, but when I run it on a server running v4.3.10 I get > an error because $param is an Array. It should be a regular scaler variable. > > On the first iteration $param should equal 'Param1=Val1' > On the Second ...

CSWS PHP 1.3 and GD support (PHP Version 4.3.10)
If my reporting utility is correct this seems rather limited: * GD support: yes * GD Version: 2.0 or higher * FreeType Support: no * T1Lib Support: no * GIF Read Support: no * GIF Create Support: no * JPG Support: no * PNG Support: no * WBMP Support: no * XBM Support: no * JIS-mapped Japanese Font Support: no My understanding of this report would be that I can create graphics to my heart's content - I just can't display them. Also, and I'm never sure if you guys want to hear about this sort of stuff, I consistently get the...

apache 1.3.27 and php 4.3.4
Hello, I have a very urgent problem! The situation is i have an rh 7.1 box, i know it's not mine though, that has apache 1.3.27 on it in the form of what i presume is an rpm, it's actually on a vps system. Apache was built with dso support as well as php4 which was also installed, then mhash was to be added. A source version of php4.3.4 was downloaded and installed with mhash support, and now not only does this not work, but apache is no longer processing php pages! In the httpd.conf file there are references to if defined php, php3, and php4, and the index line has index.php and index.php3 and other variants as pages, and AddHandlers are also in for php, but whenever a page is pulled up php code is displayed. Any suggestions appreciated! Thanks. Dave. Hi dave, [...] > support, and now not only does this not work, but apache is no longer > processing php pages! In the httpd.conf file there are references to if > defined php, php3, and php4, and the index line has index.php and index.php3 > and other variants as pages, and AddHandlers are also in for php, but > whenever a page is pulled up php code is displayed. > Any suggestions appreciated! This sounds to me that you have to start Apache with httpd -D PHP4 ? As you mentioned before Isn't there any start script to do the right way? Kind regards. Karl Heinz -- Dipl.Ing.(FH) Karl Heinz Marbaise | www.marbaise.org Jabba Dabba Dooh ;-) | ICQ# 135949029 ...

Apache 2.0.4.6 (Win) PHP 4.3.4.4
Hello there, We have PHP ver 4.3.4.4 working off Apache server version 2.0.4.6. My developer has developed a bunch of basic web pages which interact with the SQL Server 2000. We exposed the web application to the outside world though port 80 and the server crashed all of a sudden the very next day. Are there any security vulneribities with PHP ver 4.3.4.4 and Apache server version 2.0.4.6.which I need to be aware off. My developer is reluctant to upgrade the server to new version of apache and php. Any suggestion, help or pointer in the right direction will be appreciated. Thanks, anup...

Apache 2.0.4.6 (Win) PHP 4.3.4.4
Hello there, We have PHP ver 4.3.4.4 working off Apache server version 2.0.4.6. My developer has developed a bunch of basic web pages which interact with the SQL Server 2000. We exposed the web application to the outside world though port 80 and the server crashed all of a sudden the very next day. Are there any security vulneribities with PHP ver 4.3.4.4 and Apache server version 2.0.4.6.which I need to be aware off. My developer is reluctant to upgrade the server to new version of apache and php. Any suggestion, help or pointer in the right direction will be appreciated. Thanks, anup...

tpc-w-php
Log Message: ----------- Bug fixes and PHP 4.3.3 compatible session handling. Jan Modified Files: -------------- tpcw-benchmark/html/tpcw: buy_confirm.php (r1.1 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/tpc-w-php/tpcw-benchmark/html/tpcw/buy_confirm.php.diff?r1=1.1&r2=1.2) buy_request.php (r1.1 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/tpc-w-php/tpcw-benchmark/html/tpcw/buy_request.php.diff?r1=1.1&r2=1.2) common.inc (r1.1 -> r1.2) (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/tpc-w-php/t...

Differences with imap_headerinfo() between PHP 4.3.11 and 4.4.0?
I have an application which uses imap_headerinfo() to query an NNTP server and display some information as part of a web application. I am seeing a difference between 4.3.11 and 4.4.0 when the e-mail address in the article contains a spam block. I get the following notice: Notice: (null)(): Unterminated mailbox: name@.MISSING-HOST-NAME. (errflg=3) in Unknown on line 0 Notice: (null)(): Must use comma to separate addresses: somedomain(dot.dot)com> (errflg=3) in Unknown on line 0 I am unable to suppress the notice either with error_reporting() or the @ operator. Anyone else seeing anything similar? Any idea how to suppress the Notice? The oddly formed e-mail address isn't something I use so I don't really care how it is formatted but the IMAP library seems to anyway. Thanks, Mike -- Mike Walsh - mike_walsh at mindspring dot com ...

Mcrypt problem on PHP 4.3.1 / FreeBSD 5.3
Hi, I'm getting some strange errors that I cannot pin down: Warning: mcrypt_generic_init(): Iv size incorrect; supplied length: 7, needed: 8 in...... This is strange because the data is encrypted, inserted into the databse, then later retrieved and decrypted with the necessary hash and ivector keys. The data itself is decrypted OK. But the error comes up. The error does not occur when I run the same code on another machine running on Mac OS X. Is this a known bug on this FreeBSD build ? As this is for a production site, I'm just tempted to set the error_reporting directive in php.ini to off, as this looks bad when the error flashes up, but is actually not causing any errors. I did change alter the initialisation function to: @mcrypt_generic_init() but it still displays the error regardless. This may be a bit obscure, but has anybody else encountered a similar problem ? Thanks SS. ...

Building PHP 4.3.3 with GD 2.0.11
All libraries were installed (precompiled) This is FreeBSD 5.1 installed zlib, installed jpeg and png libraries (in default directories) GD 2.0.11 source is in /usr/gd-2.0.11 (compiled and installed flawlesly) I configured PHP with the following: ../configure --with-gd=/usr/gd-2.0.11 --with-freetype-dir=/usr --enable-g d-native-ttf --enable-gd-imgstrttf --with-jpeg-dir=/usr --enable-png- dir=/usr -- with-zlib --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs When configure came to reading jpeg header, it gave me an error about libjpeg.a I need GD, because I want to use coppermine (picture gallery) on my "future" web site. Contents of config.log file (from here to end of message): This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:1618: checking host system type configure:1706: checking for gcc configure:1819: checking whether the C compiler (gcc ) works configure:1835: gcc -o conftest conftest.c 1>&5 configure:1861: checking whether the C compiler (gcc ) is a cross-compiler configure:1866: checking whether we are using GNU C configure:1875: gcc -E conftest.c configure:1894: checking whether gcc accepts -g configure:1927: checking whether gcc and cc understand -c and -o together configure:1942: gcc -c conftest.c -o conftest.o 1>&5 configure:1943: gcc -c conftest.c -o conftest.o 1>&5 configure:1948: cc -c conftest.c 1>&5 configure:1950: ...

problem with KDE 3.4 and QT 3.3.4
Hello, I have recently felt the need for a specific application under KDE and decided to install it on one of our machines at work. I can't access this NG from work so I'll try to be as precise as I can but I might forget something. OK, here is my problem. I needed to install the new version of QT, but I still needed to preserve the one installed on our network (/usr/local is actually a symbolic link to a directory where all our machines access). For that I created a new "/usr/local.org" (this one being physically on my machine) and compiled QT 3.3.4 in /usr/local.org/qtXXXXXX and added a symbolic "qt" in the same directory for the convienience. I changed all my $QTDIR and $LD_LIBRARY_PATH and so.I was able to compile the examples and play with it. Then, I used apt-get to install kdelibs, and kde. The installation is a success, I restart my X-org, and can start KDE 3.4 (great !!). However, when I try to compile a simple program (such as Kbiff), the configure file tells me that I have a problem with UIC. I've looked on the net for a solution and found many references (sometimes several year old) and they said that the kdelibs needed to be recompile with the new QT installation. So I check the libraries of KDE and in fact the path used for the QT directory is still the one on the network (/usr/local/XXX/qt). Bingo ! I tried to reinstall kdelibs after I installed QT 3.3.4, and still no changes...) Is there a way of specifying the QT direc...

php 4.3.4
I am running php in Apache on Windows98SE PC I have been using php version 4.3.3 and everything worked OK except the mcrypt function didn't work. Because of this, I upgraded to version 4.3.4 and mcrypt now works OK but my hyperlinks to other pages no longer work. It simply jumps back to the same page. The page number in the address bar changes, e.g /index.php?page=3 changes to:- /index.php?page=5 but the displayed page is still the same. If I go back to using version 4.3.3 again, all is OK. Did I miss something when I installed 4.3.4? Thanks for any help. Geoff. *** Geoff wrote/escribi� (Fri, 12 Dec 2003 10:45:50 -0000): > The page number in the address bar changes, e.g /index.php?page=3 changes > to:- /index.php?page=5 but the displayed page is still the same. > > If I go back to using version 4.3.3 again, all is OK. > Did I miss something when I installed 4.3.4? How do you handle the page value, $_GET['page'] or $page? If it's the latest, you probably have auto register_globals set to off in new version. Check that in php.ini file. -- -- -- �lvaro G. Vicario - Burgos, Spain -- Yes! That solved the problem. Many thanks for your help. Geoff. "Alvaro G Vicario" <alvaro_QUITAR_REMOVE@telecomputeronline.com> wrote in message news:infc28bcwuei$.kqqlx0gqk2u6.dlg@40tude.net... > *** Geoff wrote/escribi� (Fri, 12 Dec 2003 10:45:50 -0000): > > The page number in the address bar changes, e.g /in...

Mcrypt problem on PHP 4.3.1 / FreeBSD 5.3 #2
Hi, I'm getting some strange errors that I cannot pin down: Warning: mcrypt_generic_init(): Iv size incorrect; supplied length: 7, needed: 8 in...... This is strange because the data is encrypted, inserted into the databse, then later retrieved and decrypted with the necessary hash and ivector keys. The data itself is decrypted OK. But the error comes up. The error does not occur when I run the same code on another machine running on Mac OS X. Is this a known bug on this FreeBSD build ? As this is for a production site, I'm just tempted to set the error_reporting directive in php.ini to off, as this looks bad when the error flashes up, but is actually not causing any errors. I did change alter the initialisation function to: @mcrypt_generic_init() but it still displays the error regardless. This may be a bit obscure, but has anybody else encountered a similar problem ? Thanks SS. > Warning: mcrypt_generic_init(): Iv size incorrect; supplied length: 7, > needed: 8 in...... Can you post a minimal example of code that produces the warning message. --- Steve OK, I use the following settings: $cipher = MCRYPT_GOST; $mode = MCRYPT_MODE_ECB; $rand_src = MCRYPT_RAND; I then randomly generate a hash and assign it to variable $hash, run it through addslashes(), and use the following to encrypt: $handle = mcrypt_module_open ($cipher, '', $mode, ''); if (!$handle) die ("Couldn't locate open mcrypt module."); $ivector ...

Problem building php 4.4.6 and apache 1.3.37 on RHEL 4
Folks, Trying to build php 4.4.6 and apache 1.3.37 on RHEL 4. Each of them builds and installs okay, but when we start apache we get: Syntax error on line 238 of /usr/local/etc/httpd/conf/httpd.conf: API module structure `php4_module' in file /usr/local/etc/httpd/libexec/libphp4.so is garbled - perhaps this is not an Apache module DSO? I've checked this out, got some hint that we need to use the apxs that came with RedHat, not the one built in the Apache distribution? RedHat does have an http-devel package which includes apxs but that is for Apache 2.x Last time we did this on RHEL 4 is was Apache 1.3.34 and php 4.4.1 and it went fine, we are using the same procedures. Not sure if some RHEL 4 libraries changed? Has anyone been able to build that combination? Below are some excerpts on what we are using for configure. Thanks! For apache: ../configure --with-layout=Apache --prefix=/usr/local/etc/httpd --enable-suexec .... some deleted... --disable-module=asis --enable-shared=max --enable-rule=SHARED_CORE --enable-module=so For php: CPPFLAGS="-DLINUX=22 -DEAPI" \ ../configure \ --enable-static \ --disable-shared \ --with-config-file-path=/usr/local/etc/httpd/conf \ --with-apxs=/usr/local/etc/httpd/bin/apxs \ .... some deleted. --enable-mbstring=all \ --with-mhash=/export/tools/apache/php/ext/mhash -- John ___________________________________________________________________ John Murtari...

Installing php 5.1.4 and Postgresql 8.1.3 on redhat Centos 4.3
I want to upgrade php 4.3.9 and postgresql 7.4.13 on Centos 4.3 to php 5.1.4 and postgresql 8.1.4 using rpms. Has anyone done this? rich wrote: > I want to upgrade php 4.3.9 and postgresql 7.4.13 on Centos 4.3 to php > 5.1.4 and postgresql 8.1.4 using rpms. Has anyone done this? nope, i use debian.. apt makes it a way easier. but just download the rpms, untar gunzip ect then ./configure ..yadda yadda it comes with instructions you know! Flamer. ...

Apache2 and PHP 4.3.4 Install problems
Apache2 and PHP 4.3.4 install problems on PII 400Mhz, RedHat 9. Follow all instructions on: http://dan.drydog.com/apache2php.html and http://www.php.net/manual/en/install.linux.php but cannot get php to work with Apache2. Here are my steps: ../configure --enable-so make make install then: ../configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --prefix=/usr/local/apache2/php --with-config-file-path=/usr/local/apache2/php No compile problem and apache starts up ok but when I create test.php php does not work. I would appreciate any kind of guidance. Thanks in Advance! ...

Web resources about - Problem updating PHP 4.3.0 DEV to PHP 4.3.3 - comp.lang.php

Wikipedia talk:Updating information - Wikipedia, the free encyclopedia
This is brilliant! It would probably work best for elections etc in minor locations. For something that's well-known like a US predidential election, ...

8 Tools For Updating Facebook Offsite
Applications for receiving Facebook updates and notifications without having to keep the site open in a browser keep coming out. Here are eight ...

Updating how Cost per Click is Measured on Facebook
To help advertisers better understand how their ads perform, we're updating the definition of cost per click on Facebook. Learn what the change ...

Updating Your App for iOS 9: What You Need to Know
Updating Your App for iOS 9: What You Need to Know

Facebook for iPhone 3.0 to Include Page Updating
... who want to more easily update their Facebook Pages on the go: Facebook for iPhone 3.0 , which should be released soon, will include Page updating, ...

Updating trends on mobile
Trends are a great way to find out what people are talking about on Twitter at a given moment and at a single glance. Starting today, we’re making ...

Delhi Metro Fare Calculator and Auto-Updating Map on the App Store on iTunes
Get Delhi Metro Fare Calculator and Auto-Updating Map on the App Store. See screenshots and ratings, and read customer reviews.


LOOT v0.7.0 for Mod Organizer: Updating and Installation - YouTube
A new version of LOOT (Load Order Optimisation Tool) has been released with some major upgrades. This video tutorial shows how to upgrade and ...

Freeview launches auto-updating EPG
Shows running late won't phase new Freeview PVRs, but the new Australian EPG doesn't work with all Freeview gear.

Resources last updated: 3/24/2016 6:31:47 AM