468,765 Members | 1,153 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,765 developers. It's quick & easy.

Can zend be turned off?

Greetings all.

Is there a way to turn off the zend code that comes with php so that I
can see if some errors we are getting are coming from there?

I can't find anything in install docs or in php.ini

Thanks!
Ann Cantelow

Jul 17 '05 #1
7 1738
ca******@csd.net wrote:
Is there a way to turn off the zend code that comes with php so that I
can see if some errors we are getting are coming from there?

I can't find anything in install docs or in php.ini


Turning of the Zend engine, means that PHP won't be parsed anymore and your
source will served as plain text, so be careful!

When using Apache, go to the AddModule line in the httpd.conf file, which
points to the PHP module, comment it and restart the server.

You can also disable the engine directive (engine = Off) in the php.ini
file.
JW

Jul 17 '05 #2
Thanks. I didn't realize it was so integral to php itself. I'll look
for other things to check.

-Ann

Jul 17 '05 #3
<ca******@csd.net> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Greetings all.

Is there a way to turn off the zend code that comes with php so that I
can see if some errors we are getting are coming from there?

I can't find anything in install docs or in php.ini

Thanks!
Ann Cantelow

What errors are you getting? I've never gotten an error from the Zend
engine, just my typos :)

-Joe
Jul 17 '05 #4
Thanks for the interest-
I'm getting intermittent apache crashes saying "child pid (nn) exit
signal Arithmetic exception (8)" in the error log since the day and
hour I installed a new php-4.3.10 upgrade with gd added. I've found
some float handling errors in the php test suite, even with gd and
mysql and all extras except zlib removed from the config. An associate
suggested checking out zend.

I've been compiling with the native Tru64 compiler. I'm going to try
gcc next- and I'm finding compiling that is an adventure too.
Interestingly, there was a float.h declaration missing somewhere in gcc
that I needed to add to continue compiling it.

Thanks again,
Ann

Jul 17 '05 #5
>I'm getting intermittent apache crashes saying "child pid (nn) exit
signal Arithmetic exception (8)" in the error log since the day and
hour I installed a new php-4.3.10 upgrade with gd added. I've found
some float handling errors in the php test suite, even with gd and
mysql and all extras except zlib removed from the config. An associate
suggested checking out zend.


I find that if you re-install a new version of PHP, or even the
same version of PHP compiled with slightly different options, and
you don't stop and restart apache ("apachectl graceful" doesn't do
the job), apache will dump core fairly soon after the installation.
Sometimes it will spawn children which dump core immediately, leaving
the main process running but doing nothing useful. This observation
comes mainly from FreeBSD but has also been seen on Tru64. Once
you restart apache, it's fine again until you start reinstalling
stuff used as a shared library or plugin by apache.

This isn't limited to apache and PHP, either. Just about any
daemon process (mysql, snmpd, exim, sendmail, etc.) seems to do it.

Gordon L. Burditt
Jul 17 '05 #6
Actually, I've been unable to install the dso lib without stopping
apache altogether first. Otherwise I get a "text busy" message from my
Tru64 OS. So, that one's covered in this case.

Jul 17 '05 #7

ca******@csd.net wrote (in part):
Thanks for the interest-
I'm getting intermittent apache crashes saying "child pid (nn) exit
signal Arithmetic exception (8)" in the error log since the day and
hour I installed a new php-4.3.10 upgrade with gd added. I've found
some float handling errors in the php test suite, even with gd and
mysql and all extras except zlib removed from the config. An associate suggested checking out zend.


I believe there is an update to ZEND that has to be used when you
update PHP. I've seen this discussion in other forums, which I can't
seem to find right now...

Ken

Jul 17 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Munja | last post: by
8 posts views Thread by Andy Jacobs | last post: by
1 post views Thread by Toni | last post: by
reply views Thread by writeson | last post: by
reply views Thread by writeson | last post: by
3 posts views Thread by nntp | last post: by
1 post views Thread by Xristos Nikolopoulos | last post: by
reply views Thread by JoeT | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.