Page MenuHomePhabricator

Installing phpexcel and adding the pasth does not seem to be working
Closed, ResolvedPublic

Description

Doing the following steps does not seem to working, still get the popup

http://www.phpexcel.net/

Your PHP "include_path" needs to be updated to include the PHPExcel Classes directory.

Event Timeline

andeepak assigned this task to epriestley.
andeepak raised the priority of this task from to High.
andeepak updated the task description. (Show Details)

Where is PHPExcel installed?
What is your include_path set to?

epriestley lowered the priority of this task from High to Low.Dec 15 2013, 9:00 PM

I can't reproduce this; when PHPExcel is installed and include_path is configured correctly, Excel export works properly for me.

This is very likely to be the result of misconfiguration, not a bug in the upstream.

The install has following structure:-
{WS}/phabricator
{WS}/arcanist
{WS}/libphutil
{WS}/PHPExcel
where {WS}=the workspace for phabricator installation.

include_path=".:{WS}/PHPExcel/Classes"

This directory has an unprivileged user as its owner. I changed the owner to root:root, still no success.

I'm having this same issue. I changed the include_path in /etc/php/cli/php.ini and echo'd out get_include_path() to make sure the new include path was being picked up. Any ideas? @prakhar.poyal, did you end up figuring this out?

@kravitz: You are changing the cli php.ini but NOT the apache2 one.

Try changing /etc/php/apache2/php.ini. Things should magically start working.