EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Epics-php module problem
From: [email protected]
To: [email protected]
Cc: [email protected]
Date: Wed, 29 Feb 2012 15:20:31 +0530
Thanks, it worked, however php page is not loading php_epics.so using dl method in ubuntu running apache.....any clue?

Tanushyam

-----Theo Larrieu <[email protected]> wrote: -----
To: Bertrand Alain <[email protected]>
From: Theo Larrieu <[email protected]>
Date: 02/28/2012 10:36PM
Cc: [email protected], [email protected]
Subject: Re: Epics-php module problem



In general, I've been satisfied with the performance of the php_epics module, though I only use it to display small numbers of PVs on a few specialized web pages.

I successfully compiled it on Redhat EL5 recently against PHP 5.3.10 using the following:

CC=gcc
export EPICS=/opt/epics/base-3-14-11

CFLAGS  =  -DUNAME="\"UNAME=$(UNAME)\"" \
   -DLOGINDATE="\"LOGINDATE=$(LOGINDATE)\"" -DUNIX  -I $(EPICS)/include \
   -I $(EPICS)/include/os/Linux  $(SERVER_CFLAGS) -I/usr/local/include -I. -I/opt/php/5.3.10/include/php/ \
   -I/opt/php/5.3.10/include/php/Zend -I/opt/php/5.3.10/include/php/TSRM \
   -I/opt/php/5.3.10/include/php/main -fpic -DCOMPILE_DL=1 -DPNG_SETJMP_NOT_SUPPORTED -DHAVE_PHP_STREAM

LDFLAGS = -static -shared -L/usr/lib -L $(EPICS)/lib/linux-x86 -lCom -lca  -lm -lc


Hope this helps,

-Theo






On 2/28/2012 11:13 AM, Bertrand Alain wrote:

Hi,

 

We stopped working on this long time ago due to poor performances we got with PHP. We even actually stopped working with PHP so I must say I have no clue how you compile with PHP 5.

 

Sincerely,

 

Alain

 


From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Tuesday, February 28, 2012 4:24 PM
To: [email protected]
Subject: Epics-php module problem

 

 

Is PHP parser/interpreter of adl files (MEDM) ready for use? If so, is it possible to share the source?

While compiling php_epics source it is showing error:
fatal error main/php_config.h : No such file

though I have mentioned the path of php-5 source in Gnumakefile as follows:

CFLAGS  =  -DUNAME="\"UNAME=$(UNAME)\"" \
   -DLOGINDATE="\"LOGINDATE=$(LOGINDATE)\"" -DUNIX  -I $(EPICS)/base/include \
   -I $(EPICS)/base/include/os/Linux $(SERVER_CFLAGS) -I/usr/local/include -I. -I/home/php-5.x.x -I/home/php-5.x.x/Zend -fpic -DCOMPILE_DL=1 -DPNG_SETJMP_NOT_SUPPORTED -DHAVE_PHP_STREAM


Could you please point out the problem?

with regards,
Tanushyam Bhattacharjee
VECC,Kolkata



References:
Re: Epics-php module problem Theo Larrieu
Epics-php module problem btanu
RE: Epics-php module problem Bertrand Alain

Navigate by Date:
Prev: RE: QT-based tools: Expressions of interest requested james.rowland
Next: RE: QT-based tools: Expressions of interest requested Elder Matias
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Epics-php module problem Theo Larrieu
Next: QT Initiative: Looking for talks for SLAC meeting Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·