View Full Version : Upgrading PHP 4.1.2
.::DefCon::. 03-27-2002, 10:56 AM Okay guys, I've tried it over and over again, up to three times already, and everytime again my server hangs at a certain point, right after having typed "make" in the command line:
[root@customer28 php-4.1.2]# make
Making all in Zend
make[1]: Entering directory `/usr/local/src/php-4.1.2/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_language_parser.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_language_scanner.c
and there it hangs! :confused: :confused: :eek:
Has anyone of you ever had this problem? I'm sure I did everything correctly... :rolleyes:
Thanks
bitserve 03-27-2002, 04:36 PM Let's see your configure options.
BTW: What OS and version?
.::DefCon::. 03-27-2002, 04:46 PM OS & version: RedHat 7.1
Config details coming up...
.::DefCon::. 03-27-2002, 04:50 PM './configure' '--with-apxs=apxs' '--prefix=/home/builder/psa-dummies/psa/apache/../release/usr/local/psa/apache' '--with-system-regex' '--with-config-file-path=/usr/local/psa/apache/conf' '--disable-debug' '--disable-pear' '--enable-sockets' '--enable-track-vars' '--without-gd' '--with-mysql=/home/builder/psa-dummies/psa/apache/../release/dist/usr/local/psa/mysql' '--with-iodbc=/home/builder/psa-dummies/psa/apache/../release/lib/libiodbc' '--with-imap=/home/builder/psa-dummies/psa/apache/../release/lib/imap-cclient'
There you go. :)
cabalstudios 03-27-2002, 05:09 PM Those configure options will not work, they are only used when Plesk Installs for the first time.
This is what your config should look like :D
./configure --with-apxs=/usr/local/psa/apache/bin/apxs --with-system-regex --with-config-file-path=/usr/local/psa/apache/conf --enable-versioning --with-mysql=/usr/local/psa/mysql --with-iodbc=/usr/lib --with-zlib --disable-debug --enable-memory-limit=yes --enable-sockets --enable-track-vars
Kind Regards
Imran
.::DefCon::. 03-27-2002, 05:45 PM Okay, I did that... let's cross our fingers... :idea:
.::DefCon::. 03-27-2002, 05:48 PM IT DIDN'T WORK! :bawling:
Still freezes at the same line. :(
Asking for reboot at RS now...
cabalstudios 03-27-2002, 05:59 PM I'm not sure how RS servers are built but check to make sure the above paths are correct, also try to remove "--with-iodbc=/usr/lib " and try again.
Also it looks like it dont like zend so try removing "--with-zlib"
Kind Regards
Imran
Ahmad 03-29-2002, 01:01 PM Originally posted by cabalstudios
[snip ..]
Also it looks like it dont like zend so try removing "--with-zlib"
[snip ..]
Zend is the PHP processor itself (the interpreter).
zlib is just a compression library.
DefCon ..
Did you manage to do compile PHP before?
I mean older versions?
.::DefCon::. 03-29-2002, 02:18 PM Err... This is my first server, and I only have it since the beginning of March, so my answer is NO. ;)
Look, I'm currently running 4.1.0 since I upgraded Plesk, so what I could do is try to upgrade to 4.1.1 to see if I can upgrade PHP at all.
Let me try this... :)
.::DefCon::. 03-29-2002, 03:18 PM Okay guys, I tried it ONE MORE TIME, with these config options:
./configure --with-apxs=/usr/local/psa/apache/bin/apxs --with-system-regex --with-config-file-path=/usr/local/psa/apache/conf --enable-versioning --with-mysql=/usr/local/psa/mysql --with-zlib --disable-debug --enable-memory-limit=yes --enable-sockets --enable-track-vars --enable-GD
----------------------------------
And it crashed where this txt stops:
[root@customer28 php-4.1.2]# make
Making all in Zend
make[1]: Entering directory `/usr/local/src/php-4.1.2/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_language_parser.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_language_scanner.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_ini_parser.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_ini_scanner.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_alloc.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_compile.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_constants.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_dynamic_array.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -prefer-pic -c ./zend_execute.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_execute_API.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_highlight.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_llist.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_opcode.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_operators.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_ptr_stack.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_stack.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_variables.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_API.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_extensions.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_hash.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_list.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main -DHARD_SERVER_LIMIT=2048 -DDEFAULT_PATH="/usr/local/psa/apache/bin:/bin:/usr/bin" -DLINUX=22 -DMOD_SSL=208105 -DMOD_PERL -DUSE_PERL_SSI -DUSE_HSREGEX -DEAPI -DEAPI_MM -I../TSRM -g -O2 -prefer-pic -c zend_indent.c
Unless someone is 100% sure that he knows the solution, I say: let's stick with 4.1.0. :(
Peace out... :cool:
byron29 03-29-2002, 03:23 PM Doesn't plesk offer 30 day email support after installation? Maybe they have ideas....
<me actually dying to know the answer ;-) >
Cheers and Good luck!
B
.::DefCon::. 03-29-2002, 03:38 PM Thanks for the tip, Byron. :)
But I don't think they offer support for PHP etc. Only for their own product. Don't they? :rolleyes:
byron29 03-29-2002, 04:17 PM Well gosh darn it, they should ;-)
I don't know...both ways makes sense to me....
You need PHP to properly use/install Plesk, but I suppose upgrading (even to a security patched version - not a willy-nilly, I need the latest greatest ) version could be considered out of bounds....and their write up on the web site doesn't really say to what extent they will support, but come to think of it "installation support for upto 30 days" could be very narrowly interpreted.
They have some online resources about PHP errors in the FAQ-- nothing that speaks to your problem. Unfortunately, the search is not working right now at Plesk hmmm
:-)
B
byron29 03-29-2002, 04:20 PM Defcon, Plesk has a forum, just found this out:
http://forum.plesk.com/showthread.php?threadid=2539&highlight=upgrade+php
No Need to upgrade php...2.5 includes the fix apparently.
Cheers,
B
.::DefCon::. 03-29-2002, 04:36 PM Thanks for all the help, Byron. I know Plesk includes the security fix already for which v4.1.2 was released, but lots of customers don't know this and start acting all weird when the upload a phpinfo() file and see that it's 4.1.0 we're running.
But indeed; there's no need to panic. :)
Thanks for the help guys. :)
Peace out... :cool:
AcuNett 03-29-2002, 05:16 PM Check in PLESK.com forums, search for PHP 4.1.0 (just change everything that says 4.1.0 to 4.1.2 when you're updating.)
BTW the / 's are for continueing on the next line, so if you have a big screen, just delete the /'s that are in the middle, and not at the end of the line.
|