Problem updating PHP 4.3.0 DEV to PHP 4.3.3Hi!
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 chi...
PHPBB2, PHP 4.3.4, MySQL 4.1.1, Apache 2.0.49, Fedora 2My combination is:
PHPBB2, PHP 4.3.4, MySQL 4.1.1, Apache 2.0.49, Fedora 2
Anyone out there has a successful combination of newer versions ?
fr gr
Erik
...
Apache 2.0.48+php 4.3.4+Aix 4.3.3Hello.
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...
& # 4 0 ; & # 4 4 3 0 5 ; & # 4 4 2 5 6 ; & # 4 1 ;@��������� ARS���� �����ؿ�@(����)<HTML>
<HEAD>
<META content="text/html; charset=ks_c_5601-1987" http-equiv=Content-Type>
<STYLE> p, font, span { line-height:120%; margin-top:0; margin-bottom:0; }</STYLE>
</HEAD><BODY>
<table border="1" width="629" bordercolor="#cccccc" bordercolorlight="#cccccc">
<tr>
<td width="619" height="67">
<p align="center"><font face="����"><span style="FONT-SIZE: 11pt"></span></font></p...
Apache 2.0.48+Php 4.3.4+Aix 4.3.3Hello.
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.
...
& # 4 0 ; & # 4 4 3 0 5 ; & # 4 4 2 5 6 ; & # 4 1 ;��������� ARS���� �����ؿ�(����)<HTML>
<HEAD>
<META content="text/html; charset=ks_c_5601-1987" http-equiv=Content-Type>
<STYLE> p, font, span { line-height:120%; margin-top:0; margin-bottom:0; }</STYLE>
</HEAD><BODY>
<TABLE borderColor=#cccccc width=629 borderColorLight=#cccccc border=1>
<TBODY>
<TR>
<TD width=619 height=67>
<P align=center><FONT face=����><SPAN style="FONT-SIZE: 11pt"><IMG
src="http://www.ezbizi.com/ezbizi/home_img/daechul_01.gif"></SPAN></FONT></P>&l...
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
##-----------------------------------------------...
PHP 5.0.3 & MySQL 4.1Okay..hope someone out there knows the answer to this. Anyhow, I've
install PHP 5.0.3 and mySQL 4.1 but problem is that PHP 5 isn't
taking/or doesn't have..I really got no idea the MySQL Extension. did
phpinfo() and its not listed in there so I know its nowhere to found.
So I reintall my php manytimes and MySQL but nothing. No help.
Now for info, I'm using Apache 2.0 on Windows XP Pro. All server stuff
including Apache is on its own drive, not C! Rather F, if anyone wishes
to know. Also PHP is install as an Apache module. That's basically
about it...
Can't get PHP 5 to say hi MySQL welcome you are an extension lets use
you! enjoy!! :-/ anyone know how...
On 2005-03-25, Travis Font <travis.font@gmail.com> wrote:
> Okay..hope someone out there knows the answer to this. Anyhow, I've
> install PHP 5.0.3 and mySQL 4.1 but problem is that PHP 5 isn't
> taking/or doesn't have..I really got no idea the MySQL Extension. did
> phpinfo() and its not listed in there so I know its nowhere to found.
> So I reintall my php manytimes and MySQL but nothing. No help.
so you might want to read the documentation on how to enable an
extension. in case you got the php-zip package it's only a matter of
removing the ; before extension=php_mysqli.dll in your php.ini
and restarting apache...
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://www.timvw.info>
been pass that and nothing. if remove the ; in php.ini to load ...
apache 1.3.27 and php 4.3.4Hello,
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
...
Installing php 5.1.4 and Postgresql 8.1.3 on redhat Centos 4.3I 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.
...
Apache 2.0.48 & php 4.3.4 & AIXAnyone has working apache 2.0.48 & php 4.3.4 on Aix?
In afirmative case could you tell me what configure parameters has you used
?
Thanks.
...
Apache 2.0.4.6 (Win) PHP 4.3.4.4Hello 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.4Hello 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...
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...
[0 0 1 1 2 2 3 3 4 4 ... n n]Is there a way to achieve a vector like the one below without using loops?
[0 0 1 1 2 2 3 3 4 4 ... n n]
"Ulrik Nash" <uwn@sam.sdu.dk> wrote in message <kp999d$a8e$1@newscl01ah.mathworks.com>...
> Is there a way to achieve a vector like the one below without using loops?
>
> [0 0 1 1 2 2 3 3 4 4 ... n n]
You could try this:
floor(0:1/rep:n+1-1/rep)
where rep is the number of repetitions (2 in your case)
Hi,
a cool way to do that is using the kronecker product
kron(0:n,[1 1]);
"Ulrik Nash" <uwn@sam.sdu.dk> wrote in message <kp999d$a8e$1@newscl01ah.mathworks.com>...
> Is there a way to achieve a vector like the one below without using loops?
>
> [0 0 1 1 2 2 3 3 4 4 ... n n]
There is another way to achieve that. Do this like the following:
>> n=7; u(1:2:2*n+1)=0:n;
>> u(2:2:2*n+2)=0:n;
The array u seems to be what you want.
...
PGSQL 7.4.8 PHP 4.3.4 & Apache 2.0.49 Segmentation Fault with Client CertsHello,
Having an issue that is specific to PHP compiled with PGSQL support
with versions noted in subject line. I understand that there are many
variables to consider here but believe I have narrowed down the Apache
Client Cert failures to my PHP/PGSQL build.
1. Apache PHP without PGSQL works as expected using client
certificates
2. Apache PHP with PGSQL works fine with standard SSL connections
3 Apache PHP with PGSQL fails with client certificates - no output
other than Segmentation faults in the apache error logs as follows:
[Wed Nov 30 23:26:57 2005] [notice] suEXEC mechanism enabled (wrapper:
/usr/sbin/suexec2)
[Wed Nov 30 23:26:58 2005] [notice] Apache configured -- resuming
normal operations
[Wed Nov 30 23:27:05 2005] [notice] child pid 4065 exit signal
Segmentation fault (11)
[Wed Nov 30 23:27:06 2005] [notice] child pid 4066 exit signal
Segmentation fault (11)
I also performed same tests on another instance of Apache/PHP/PGSQL
which was version 2.0.54 of apache and PHP/PGSQL versions same as
subject line with same exact results.
Any ideas as to the source of this problem and suggestions for
tests/fixes are greatly appreciated. There are no errors in any of the
logs other than what I have included so it's very difficult to see what
is wrong. All I know for sure is that I am able to reproduce the
results on more than one machine. The switch that kills everthing is
turning
SSLVerifyClient require
SSLVerifyDepth 1 on in the apache config...
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...
PHP 4.3.10 w/MySQL 4.1.8Current setup is PHP 4.3.10 w/MySQL 4.0.22.
Planning to upgrade to MySQL 4.1.8.
Planned steps:
1. Backup current MySQL tables via EMS' Table Backup routine
2. Uninstall MySQL 4.0.22
3. Install MySQL 4.1.8
4. Restore MySQL tables via EMS' Table Restore routine
5. Verify all users/permissions/etc. are recreated
6. (Possibly) update existing PHP/MySQL abstraction layer script
Does this about sum it up ?
m|sf|t wrote:
> Current setup is PHP 4.3.10 w/MySQL 4.0.22.
> Planning to upgrade to MySQL 4.1.8.
>
> Planned steps:
> 1. Backup current MySQL tables via EMS' Table Backup routine
> 2. Uninstall MySQL 4.0.22
> 3. Install MySQL 4.1.8
> 4. Restore MySQL tables via EMS' Table Restore routine
> 5. Verify all users/permissions/etc. are recreated
> 6. (Possibly) update existing PHP/MySQL abstraction layer script
>
> Does this about sum it up ?
i'd suggest making sure you're paths are all correct on you're
webserver, happend to me where i installed a new version of MySql that
made a few new directories.
...
Newbie question; why (cons (list 1 2) (list 3 4)) is ((1 2) 3 4) and not ((1 2) (3 4))Hi,
I just started to learn LISP, and stumbled in SICP upon
(cons (list 1 2) (list 3 4))
is evaluated to
((1 2) 3 4)
I do not understand why this is not:
((1 2) (3 4))
because
(cdr (cons (list 1 2) (list 3 4)))
is
(3 4)
and
(car (cons (list 1 2) (list 3 4)))
is
(1 2)
Is there a logical explanation?
Thank you for your patience.
--
Greg
Out of order,
gregor <gregor@ediwo.com> writes:
> Is there a logical explanation?
Yes.
> I just started to learn LISP, and stumbled in SICP upon
But first, let's talk about LISP, Lisp, Scheme and Common Lisp.
LISP is the name of the programming language invented in 1959 by John
McCarthy and of the first program implementing it written amongst other
by Steve Russel, one of his students.
LISP 1.5 is a segueing version of that same program dating about 1962
that had some distribution.
Then various lisp languages were developed at various places by various
teams. Names such as MacLisp, InterLisp, LeLisp, StandardLisp, vLisp,
Lisp Machine Lisp, Scheme, GNU Emacs Lisp, etc. It was quite a mess,
and people had a hard time sharing programs. So they talked and
designed and wrote and voted and produced the ANSI Common Lisp standard
(in the USA), meanwhile in Europe they produced the ISO Lisp standard.
Nowadays, almost all the other lisps are "dead", with only scheme
(current version r5rs, r7r...
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
...
Pear DB for PHP 4.3.6 & MySQL 3.23.49Hi! I've had a look through various forums for some advice on getting
Pear DB working with my Entropy installation of PHP Version 4.3.6
Most of the topics I found are after the fact, so that's not much use to me.
I want run Pear DB under PHP Version 4.3.6 with MySQL Version 3.23.49.
At the minute, I'm getting this error from the Pear.php file:
Code:
Error: DB Error: extension not found
I've been to the Pear website and I can't find much there to help me...
--
wayne smallman ][ octane interactive
Wayne Smallman wrote:
> I want run Pear DB under PHP Version 4.3.6 with MySQL Version 3.23.49.
Include_path updated from php.ini?
...
FWD: [ANNOUNCE] PHP 4.3.11 & 5.0.4 Released!5.0.4 and 4.3.11 are out.
Message follows:
>The PHP Development Team would like to announce the immediate release of
>PHP 4.3.11 and 5.0.4. These are maintenance releases that in addition
>to fixing over 70 non-critical bugs, address several security issues.
>The addressed security issues include fixes to the exif and fbsql
>extensions, as well as fixes to unserialize(), swf_definepoly() and
>getimagesize().
>
>All users of PHP are strongly encouraged to upgrade to this release.
>
>Aside from the above mentioned issues this release includes the
>following important fixes:
>
>* Crash in bzopen() if supplied path to non-existent file.
>* DOM crashing when attribute appended to Document.
>* unserialize() float problem on non-English locales.
>* Crash in msg_send() when non-string is stored without being serialized.
>* Possible infinite loop in imap_mail_compose().
>* Fixed crash in chunk_split(), when chunklen > strlen.
>* session_set_save_handler crashes PHP when supplied non-existent object
>reference.
>* Memory leak in zend_language_scanner.c.
>* Compile failures of zend_strtod.c.
>* Fixed crash in overloaded objects & overload() function.
>* cURL functions bypass open_basedir.
>
>The PHP Development Team would like to thank all the people who have
>identified the security faults in PHP and helped us address them.
--
Andy Hassall / <andy@andyh.co.uk> / <http://www.and...
Problem with Apache 1.3.28/PHP 4.3.3 on XPHi,
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...
Problem building php 4.4.6 and apache 1.3.37 on RHEL 4Folks,
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...