← Back to team overview

enterprise-support team mailing list archive

Re: [Question #170809]: php-pear not working at /var/www/

 

Question #170809 on apache2 in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/apache2/+question/170809

paul88 gave more information on the question:
Hi Jacobsallan, i want to set more than one include_path,
Your suggestion is two include_path in one line separate by colon, Is this work? 
include_path=/var/www/htmlCD/libs/PEAR:/usr/share/php
Can I write like this:
include_path=/var/www/htmlCD/libs/PEAR
include_path=/usr/share/php

The other problem is:
As i want to start http://localhost/htmlCD/index.php inside /var/www/htmlCD folder, it will show blank screen, so i open the error log and found out the problem shown below: may i know what is the problem?

::1 - - [11/Sep/2011:18:14:30 +0800] "GET /gifs/checkerboard.gif HTTP/1.1" 404 507 "http://localhost/htmlCD/libs/go-pear.php?step=config&restart=1"; "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110628 Ubuntu/10.10 (maverick) Firefox/3.6.18"
::1 - - [11/Sep/2011:18:14:33 +0800] "POST /htmlCD/libs/go-pear.php?step=install HTTP/1.1" 200 3063 "http://localhost/htmlCD/libs/go-pear.php?step=config&restart=1"; "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110628 Ubuntu/10.10 (maverick) Firefox/3.6.18"

OR

[Sun Sep 11 12:27:16 2011] [error] [client ::1] PHP Fatal error:
Uncaught exception 'SmartyException' with message 'Please use
parent::__construct() to call parent constuctor' in
/var/www/htmlCD/libs/smarty/Smarty.class.php:785\nStack trace:\n#0
/var/www/htmlCD/presentation/application.php(13):
Smarty->__call('Smarty', Array)\n#1
/var/www/htmlCD/presentation/application.php(13): Smarty->Smarty()\n#2
/var/www/htmlCD/index.php(13): Application->__construct()\n#3 {main}\n
thrown in /var/www/htmlCD/libs/smarty/Smarty.class.php on line 785

Anyone have any idea to solve this problem???
Thanks in advance.

-- 
You received this question notification because you are a member of
Ubuntu Server/Client Support Team, which is an answer contact for
apache2 in Ubuntu.