Help Needed: Upgrade Fedora 4 / Apache 2 to PHP 5.2.x from 5.0.4
Help Needed: Upgrade Fedora 4 / Apache 2 to PHP 5.2.x from 5.0.4
I've been testing Joomla as a content manager for the County offices,
and it looks pretty good. Unfortunately, I decided to upgrade it from
the 1.0.13 version to 1.5 as we get ready to go live with the web
site... and the update installation gives an error in XML processing,
which seems (from what I've been able to dredge up in forum
discussions) to stem from a known bug in PHP 5.0.4...
I've seen this same error from a couple of other programs that want to
upload XML data to PHP based server software, too, so I'm inclined to
believe the problem is on the server side and that it has at least
something to do with PHP, i.e. either a bug or at least a setup/config
So I decided to upgrade the PHP from 5.0.4 to 5.2.4, but I couldn't
find a binary set for Fedora 4, so it has to be compiled.... and I
can't get it to install.
Actually, that's not quite true - I did get it to install with the
base config, but that didn't include some needed stuff (e.g. mysqli),
and when I took the config parameters from the 5.0.4 version (from the
output of aboutphp.php) and tried those with the config build, it
complained about not finding apxs. I don't find apxs anywhere on the
system, so I'm stuck there (as far as building the PHP 5.2.4).
The install docs from php.net call for you to build Apache from
source, which I gather will create apxs as part of the build, but -
having now...php degugger on php 5.2.2 (xampp 1.6.2) real brainer
I tried to get php dbg debugger working on my machine but it doesn't
work at all.
Ok, what i did:
copied php_dbg-5.2.x.dll (for PHP 5.2.x version) into my xampp/php/ext
next, modified /xampp/apache/bin/php.ini file appending:
debugger.JIT_host = clienthost
debugger.JIT_port = 7869
Now, when i restard my server and try to get http://localhost my apache
crashes and windows gives me a window telling me that this application
will be closed !@!!
what is wrong ?
im running windows xp sp2
thanks in advance
Piotr Nowak pisze:
> I tried to get php dbg debugger working on my machine but it doesn't
> work at all.
> Ok, what i did:
> copied php_dbg-5.2.x.dll (for PHP 5.2.x version) into my xampp/php/ext
> next, modified /xampp/apache/bin/php.ini file appending:
> debugger.hosts_allow=localhost 127.0.0.1
> debugger.ports=7869, 10000/16
> debugger.JIT_host = clienthost
> debugger.JIT_port = 7869
> Now, when i restard my server and try to get http://localhost my apache
> crashes and windows gives me a window telling me that this application
>...WinXP SP2,Apache 2.0.52, MySQL 5.0.0, PHP 5.01
I'm having a little trouble getting MySQL to load with Apache. Apache and PHP
are working OK, but MySQL isn't loading. I know php.ini is loading because the
following lines are in php.ini:
extension_dir = "C:\Program Files\PHP"
and the error I get when Apache starts up is:
PHP Startup: Unable to load dynamic load library 'C:\Program
Files\PHP\php_mysql.dll' - The specified procedure could not be found.
php_mysql.dll is definitely there.
This same setup ( MySQL 5.0.0, PHP 5.01) works unchanged with the Abyss Web
Server, so I know MySQL a...Apache/2.0.54 (Win32) PHP/5.0.5 multiple output
A newbie question:
With the config mentioned in the topic, all on localhost, Win xpsp2,
i created a caledar-table.
The output should be a daily calendar for half a year with about 15 cols.
So everything works fine on the console, output is as it should be.
But when calling the script via apache, the table is either
truncated or it comes twice or three times or i get an
404-Error with the table appended.
Many thanks in advance
On Tue, 13 Sep 2005 21:15:14 +0200, Thomas Hermann <firstname.lastname@example.org>
>A newbie question:
>With the config...if time = 3 seconds, how do i set the values of the time steps 0,0.1,0.2,0.3,0.5,1.0,1.5,2.0,3.0,5.0 to -9999 from time =3 seconds
I have 18 inputs (arrays) which contain certain statistics and if time = 3 seconds, set the values of time step 5.0 to -9999.0.
I was wondering if there is an efficient way to do this without using a lot of case statements?
it's not really clear to me what you want to do...
I suspect: you have an array containing values and you want to output
them with a fixed timing of 3 seconds: you should use a for loop
autoindexing trough your array and sending the value to your
indicator/output/whatever. Put a "wait for next multiple" into your for
Or do you want to have a minimum time delay of 3 seconds? Again use a
for loop, get the time value and use a InRange&Coerce with minimum
set to 3 seconds...
Or you should explain more precisely what you need...
Thanks for that.
Let me explain.
The time may vary. Let me give an example. if time = 2.1, I want to set the time step's 3.0 and 5.0's values to -9999.0.
if the time =0.1 seconds then I want to set 0.2,0.3, 0.5 etc values to -9999.0
Can you please help?
do you use different accounts/nicknames ?
Well, that's easy, at least for a sorted array:
Search for your time-value in the array (Threshold 1D array). Fill all
elements from that index till the end with your "error...WIN2K, Apache 2.0.5 and PHP 5
I hope (actually I'm sure) someone can help me to solve my problem.
I installed Apache V 2.0.53 on Windows 2000 pro SP4 (including latest
Installed PHP version is V 5.0.4
Installed folder locations:
Apache: E:\Program Files\Apache Group\Apache2
PHP 5: E:\usr\PHP5
I added the above path to the PHP folder to the PATH environment
The http.conf of Apache containes the following entries:
<<< start snippet: >>>
LoadModule php5_module "E:/usr/php/php5apache2.dll"
AddType application/x-httpd-php .php
# configure the path...Install of APACHE 2.5.9 and PHP 5.2.3
I install the apache server in my Red Hat Linux with ssl support
(using openssl 0.9.8)
In this step my Apache server started without any problem
After this i install php 5.2.3
and i Had this :
Syntax error on line 37 of /usr/lib/httpd/modules/httpd.conf:
Cannot load /php/libphp5.so into server: /php/libphp5.so: undefined
A problem occured, preventing Apache to start
Please any one can help me
On 12 Jun, 16:06, baroudi <baroudi.abdelmou...@gmail.com> wrote:
> /etc/init.d/http...Who is using python-ldap with Python 1.5.x and 2.0-2.2?
I'd like to hear from the Python community whether support for Python
version prior to 2.3 is still needed in python-ldap. Please tell me
which Python version you're using and why it'd be important for you to
have python-ldap updates still supporting it.
BTW: Actually older Python versions are not tested with recent
python-ldap since at least two years. But I'd like to clearly decide on
-On [20080616 15:55], Michael Ströder (email@example.com) wrote:
>I'd like to hear from the Python community whether support for Python
>version prior to 2.3 is still needed in python-ldap. Please tell me
>which Python version you're using and why it'd be important for you to
>have python-ldap updates still supporting it.
Not that I use python-ldap at work, but our lowest Python version is 2.3 and
we're working towards making 2.5 the default.
Hopefully that helps you for versions used. :)
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
But the time has come when all good things shall pass...
Michael Ströder wrote:
> Please tell me
> which Python version you're using
We do have one venerable machine here at work using python2.2 with
python-ldap2.0.0pre04. As you can see, we haven't bothered to update either
in quite a while ;-)
> and why it'd be impor...Migrate PHP 2.0 code to PHP 5.x
I have old php code that is written in PHP 2 version... now i want to
move/ migrate the whole code into latest version of PHP.
Is there any tool or tips and tracks to migrate code.
-----BEGIN PGP SIGNED MESSAGE-----
> Hello ppl,
> I have old php code that is written in PHP 2 version... now i want to
> move/ migrate the whole code into latest version of PHP.
> Is there any tool or tips and tracks to migrate code.
well, have a look at the register gloabls settings and other gloabl vars.
then I would use the following in the old code:
ini_set('error_reporting',8191); // E_ALL & E_STRICT
and then just run it and have a look at the error messages which will come up.
I don't know about any automated way to make this.
It will be try and fix errors, to solve this.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-----END PGP SIGNATURE-----
On 07 Aug 2009, johannes ke�ler <firstname.lastname@example.org>
> Vm wrote:
>> Hello ppl,
>> I have old php code that is written in PHP 2 version... now i
>> want to move/ migrate the whole code into latest version of
>> PHP. Is there any tool or tips and tracks to migrate code.
&...IIS6/FastCGI/PHP 5.2.6 to 5.2.9 upgrade loses MSSQL
I have a client who has two web servers running Windows Server 2003
with IIS6, on which I installed FastCGI and PHP 5.2.6 last summer,
so that I could write in PHP instead of ASP.
The PHP pages use the mssql extension to talk to an external SQL Server.
This is all working fine.
Today I tried to upgrade PHP on one of them from 5.2.6 to 5.2.9, using
the nts msi installation file from php.net.
The upgrade went easily, although I had to re-add the .php extension
in the IIS configuration.
However, I then discovered that the mssql module would no longer load.
The PHP log file said php_mssql.dll couldn't be loaded with error
Unknown (0). The dll was definitely there and in the correct place.
After failing to discover why, I reverted to 5.2.6 and it all worked
So my question is: what does 5.2.9 want that is different from 5.2.6
in this environment?
Thanks in advance
Work: email@example.com - http://www.softins.co.uk
Play: firstname.lastname@example.org - http://tony.mountifield.org
Tony Mountifield wrote:
> I have a client who has two web servers running Windows Server 2003
> with IIS6, on which I installed FastCGI and PHP 5.2.6 last summer,
> so that I could write in PHP instead of ASP.
> The PHP pages use the mssql extension to talk to an external SQL Server.
> This is all working fine.
> Today I tried to upgrade PHP on one of them from 5.2.6 to 5.2.9, using
> the nts msi installation file from php.net.
...Please Reproduce: PHP 5.2 -> 5.3 Windows Apache2.2 crash
Recently moved from 5.2 to 5.3.
Now Apache will crash on loading pretty much all my pages with this in the
szAppName : httpd.exe szAppVer : 126.96.36.199 szModName : php5ts.dll
szModVer : 188.8.131.52 offset : 0000c266
Eventually found out how it happens.
If I pass to a function an undefined variable as per example;
It will crash. No error in Apache log, no error in PHP log.
If I define $undefined2 before calling testing() then it won't crash.
Whether I define $undefined1 or not (strangely, if not strange enough
already) doesn't make any difference, only causes a crash on the second or
higher variable in the function definition.
Whether or not I specify $var2 = null or any other value in the function
definition; it will still crash if $undefined2 is not previously defined.
Looking at the changes between 5.2 and 5.3 ; I assume this problem has
spawned from this reported change
"The newer internal parameter parsing API has been applied across all the
extensions bundled with PHP 5.3.x. This parameter parsing API causes
functions to return NULL when passed incompatible parameters. There are some
exceptions to this rule, such as the get_class() function, which will
continue to return FALSE on error"
Now; I'm sure you may say, well that's just bad coding practice, you should
always define your variab...Is Php built in function ' imagecreate()' compatible in Php version 5.2.2 ?
I have the php version 5.2.2 . When I am using
" $im = imagecreate(......); " I am getting the following message
"Fatal error: Call to undefined function imagecreate() in C:\Program
Files\Apache Software Foundation\Apache2.2\htdocs\server.php on line
I want to know whether "imagecreate()" is compatible in PHP version
> Hi All,
> I have the php version 5.2.2 . When I am using
> " $im = imagecreate(......); " I am getting the following message
> "Fatal error: Call to undefined function imagecreate() in C:\Program
> Files\Apache Software Foundation\Apache2.2\htdocs\server.php on line
> I want to know whether "imagecreate()" is compatible in PHP version
It looks like you're missing the gd extension.
Remove the "x" from my email address
JDS Computer Training Corp.
;extension=php_gd2.dll to extension=php_gd2.dll
...AIX 5.2/php 5.3.2 'make cli' says it succeeds, but no executable
/bin/sh: /usr/local/SRC/php-5.3.2/sapi/cli/php: not found
make: The error code from the last command is 127.
# make cli
Target "cli" is up to date.
CREDITS config.w32 php_cli_readline.c
Makefile.frag php.1 php_cli_readline.h
README php.1.in php_cli_readline.lo
TODO php_cli.c php_cli_readline.o
cli_win32.c php_cli.lo tests
On Apr 8, 10:50=A0am, tkevans <evanst...@gmail.com> wrot...Apache 2.0.50 php 4.3.8 Aix 5.2
I have apache 2 already installed and working.
aixstar root /usr/httpd/bin > ./httpd -l
Compiled in modules:
Works fine, without displaying any errors.
m...perl 184.108.40.206 base fileset is in AIX 5.2 or is in 5.3?
Did this base fileset first appear in 5.2 or did it first appear in 5.3?
(I don't have 5.3 hosts, so I can't check that.)
Dan Foster wrote:
> Did this base fileset first appear in 5.2 or did it first appear in 5.3?
> (I don't have 5.3 hosts, so I can't check that.)
Not really sure, but I think appearance was with 5.3.
Checking at my site and found the highest level on a 5.2 machine was
220.127.116.11 - never seen a 18.104.22.168 on a 5.2 machine
In article <email@example.com>, Friedhelm Neyer <Friedhelm.Neyer...Apache 2.2.2 and PHP 5.1.4 on Win2k crashing
I just installed Apache 2.2.2 on my Windows 2000 (SP4) machine to test
the new version.
Everything works except PHP (version 5.1.4): when starting Apache, it
pops out a message saying that it is unable to locate the module (even
set on the correct path!), stops the execution and exits. On the other
side, PHP works fine with Apache 2.0.55, so It's not a problem of a
> I just installed Apache 2.2.2 on my Windows 2000 (SP4) machine to test
> the new version.
> Everything works except PHP (version ...freebsd-5.2.1+ php-4.3.9 + gd-2.0.33
I am tryin to compile PHP with GD support under FreeBSD-5.2.1:
# cd php-4.3.11
# ./configure \
checking for GD support... yes
checking for the location of libpng... /usr/local/src/libpng-1.2.8/
If configure fails try --with-jpeg-dir=<DIR>
configure: error: libpng.(a|so) not found.
why libpng.(a|so) not found ?
# ls -l /usr/local/src/libpng-1.2.8/libpng.a
-rw-r--r-- 1 root wheel 160448 May 31 12:48
What is my mistake? Where to read about correct way to install php
+ gd + libjpeg + libpng ?
> Hello there,
> I am tryin to compile PHP with GD support under FreeBSD-5.2.1:
> # cd php-4.3.11
> # ./configure \
> --with-gd=/usr/local/src/gd-2.0.33/ \
> --with-png-dir=/usr/local/src/libpng-1.2.8/ \
> --with-zlib-dir=/usr/local/src/zlib/ \
> checking for GD support... yes
> checking for the location of libpng... /usr/local/src/libpng-1.2.8/
> If configure fails try --with-jpeg-dir=<DIR>
> configure: error: libpng.(a|so) not found.
> why libpng.(a|so) not found ?
> # ls -l /usr/local/src/libpng-1.2.8/libpng.a
> -rw-r--r-- 1 root wheel 160448 May 31 12:48
> /usr/loca...imagerotate problem with PHP 4.3.9
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
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)?
On Wed, 20 Jun 2007 15:45:03 +0200, comp.lang.php
> 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...Re: [tao-users] ACE 5.3.5 + TAO 1.3.5 + CIAO 0.3.5 beta released #2 #2
> What are OCI's plan's for a supported TAO 1.4 release and developer
> guide? Will this effect the release of the 1.3 guide?
This is an excellent question - I'm sure Malcolm Spence will pitch in
when he has a chance and I suspect that OCI will be supporting TAO 1.4
in due time. None of the changes in TAO 1.4 should affect the
relevance of the info in the TAO 1.3 developer's guide - there's just
more new stuff to document as time permits.
...Apache 2.2.4 ignores PHP 5.2.4 scripts on Win2K3
Hi all PHP newbie here,
1) I disabled IIS.
2) Loaded Apache 2.2.4 on Win2K3.
3) Loaded PHP 5.2.4 pretty much bare bones, but included MySQL, SMTP, SOAP
and ZIP extensions.
Installer changed the httpd.conf file and added the following:
PHPIniDir "C:/Program Files/PHP/"
LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php
Error log shows that PHP was configured:
[Fri Sep 14 16:07:49 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.4
configured -- resuming normal operations
[Fri Sep 14 16:07:49 2007] [notice] Server built: Jan 9 2007 23:17:20
If I add any PHP code to the index.html file it is ignored:
<?php print "My Test"; ?>
<?php phpinfo(); ?>
-- thanks, bill
"AlterEgo" <firstname.lastname@example.org> wrote in message
> Hi all PHP newbie here,
> 1) I disabled IIS.
> 2) Loaded Apache 2.2.4 on Win2K3.
> 3) Loaded PHP 5.2.4 pretty much bare bones, but included MySQL, SMTP, SOAP
> and ZIP extensions.
> Installer changed the httpd.conf file and added the following:
> PHPIniDir "C:/Program Files/PHP/"
> LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
&g...PHP 5.0.2 and tomcat 4.0
I am using PHP 5.0.2 and tomcat 4.
whenever load the the PHP pages through IE, it gives the following
at net.php.servlet.send(Native Method)
org.apache.catalina.core.StandardWrapperValve.invoke(Sta...<?= does not work on Windows XP Apache 2.2.x and PHP 5.2.4
When i do
echo "This works fine";
Everything works fine. But when i do
<?= "Some text"?> nothing works. Any ideas?
On Fri, 28 Sep 2007 10:06:26 +0200, Nicos <email@example.com> wrote:
> When i do
> echo "This works fine";
> Everything works fine. But when i do
> <?=3D "Some text"?> nothing works. Any ideas?
It relies on short_open_tags, which have been disabled by default for a =
very long time now. Don't rely on them, only keep the setting on for =
legacy code that still uses it for which you have no time to rewrite it,=
and use full tags in new code.
...[BUG] REALGlot 2.0 and REALBasic 5.5.2
I know I'm boring... BUT... REALGlot (2.0 currently available on RB
website) is still not working with REALBasic latest version (5.5.2
currently available on RB website).
Is it planned to release at last a version of REALGlot working and
compatible with REALBasic?
Is there someone at REALSoftware that works on this application and
who could just correct the encoding bug revealed when importing
strings from REALGLot xml files to REALBasic...[ANN] Python 2.5.5 Release Candidate 2.
On behalf of the Python development team and the Python community, I'm
happy to announce the release candidate 2 of Python 2.5.5.
This is a source-only release that only includes security fixes. The
last full bug-fix release of Python 2.5 was Python 2.5.4. Users are
encouraged to upgrade to the latest release of Python 2.6 (which is
2.6.4 at this point).
This releases fixes issues with the logging and tarfile modules, and
with thread-local variables. Since the release candidate 1, additional
bugs have been fixed in the expat module. See the detailed release
notes at the website (also available as Misc/NEWS in the source
distribution) for details of bugs fixed.
For more information on Python 2.5.5, including download links for
various platforms, release notes, and known issues, please see:
Highlights of the previous major Python releases are available from
the Python 2.5 page, at
Enjoy this release,
Martin v. Loewis
Python Release Manager
(on behalf of the entire python-dev team)