Forums / Install & configuration / php upgrade help!

php upgrade help!

Author Message

Neil Kanth

Tuesday 18 January 2005 6:42:20 pm

I was told that I need to upgrade my version of php because of this error message:
-------------------------------
Fatal error: Call to undefined function: file_get_contents() in /home/webadmin/softballcricket.com/html/ezp/lib/eztemplate/classes/eztemplatefileresource.php on line 245
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.
-------------------------------
After attempting to upgrade the php version it failed and so I'm looking for help.

Could someone help me here.

Thanks
Neil

Łukasz Serwatka

Wednesday 19 January 2005 12:04:48 am

Hi,

What exactly do you want to do?

Tell as more about your environment. OS, PHP version, WWW server, etc. What errors do you have?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Neil Kanth

Wednesday 19 January 2005 5:51:32 am

I would like to upgrade to php version 4.3.10.

<b>The server environment</b>:
Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6 PHP/4.1.2 mod_perl/1.27 FrontPage/5.0.2.2623
<b>Operating system</b>:
Linux version 2.4.20-021stab022.6.777-enterprise
(st@kbuild26.eng.sw.ru) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110))
#1 SMP Wed Oct 20 18:07:57 MSD 2004
<b>Host</b>Server4you-Virtual Private Server (VPS) with root access to install upgrades, software or applications.
<b>WWW</b>http://www.softballcricket.com/ezp

When I attempted to do this upgrade (a most difficult task compared to EZP), I got several dependencies messages.
I have EZP on another server and I'm beginning to learn how to use it and prefer it over MT. I will do almost anything to be able to complete this upgrade.

-Neil

Łukasz Serwatka

Thursday 20 January 2005 12:26:06 am

Hi,

You need tutorial how to install/upgrade PHP or just ask administrator for help.
IMO if you don`t know how, don`t do this alone. Security is the main reason.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Derick Rethans

Thursday 20 January 2005 6:32:45 am

There is some good installation information in the PHP manual:
http://www.php.net/manual/en/install.unix.php#install.unix.apache

But you can most likely skip the apache compiling step. (step 1 to 8).

Neil Kanth

Thursday 20 January 2005 9:57:10 am

I'm still not able to complete the upgrade.

Is there a service that does this?

-Neil

eZ debug

Timing: Jan 31 2025 06:11:51
Script start
Timing: Jan 31 2025 06:11:51
Module start 'content'
Timing: Jan 31 2025 06:11:51
Module end 'content'
Timing: Jan 31 2025 06:11:52
Script end

Main resources:

Total runtime0.1491 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 587.9297180.8359
Module start 'content' 0.00530.0056 768.765697.8828
Module end 'content' 0.01090.1381 866.6484527.0000
Script end 0.1491  1,393.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00342.2649200.0002
Check MTime0.00140.9204200.0001
Mysql Total
Database connection0.00050.339910.0005
Mysqli_queries0.103269.22251410.0007
Looping result0.00140.96631390.0000
Template Total0.137892.410.1378
Template load0.00070.471510.0007
Template processing0.137191.912010.1371
Override
Cache load0.00050.321810.0005
Sytem overhead
Fetch class attribute can translate value0.00070.498210.0007
XML
Image XML parsing0.00030.179710.0003
General
dbfile0.00805.3528200.0004
String conversion0.00000.014130.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs