473,394 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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 1907
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Munja | last post by:
I have PHP script running complex query and then calculating data for different conditions from received result set. Actually, it's doing the same as if I would make several queries with different...
2
by: Google alias | last post by:
My trial period for Zend studio has just ended, I've requested a personal licence, and got it. After I've entered and rebooted by computer I still get a popup saying "Licence expired!" everytime I...
8
by: Andy Jacobs | last post by:
Evening folks This has probably been asked before so apologies for that. I'm using Dreamweaver for PHP and have been for nearly a year. I've done some stuff that I'm very happy with but I'm...
1
by: Toni | last post by:
I've tried to reinstall the zend environment and debugger on my new computer. I almost succeeded but when I try to debug or profile a webpage by clicking on the buttons on the toolbars I get the...
0
by: writeson | last post by:
Hi all, I'm using Zend Studio 3.5.2 on a Win2000 machine to develop PHP code on a RedHat Enterprise Linux server and I'm using Secure FTP to move the files back and forth between the server and...
0
by: writeson | last post by:
Hi all, At work I'm using Zend Studio 3.5.2 to develop PHP files on my Win2K desktop machine. I've got Zend Studio setup with a secure FTP (SFTP) connection to a RedHat Enterprise Linux machine....
3
by: nntp | last post by:
What is ZEND. Why it has anything to do with programming PHP?
1
by: Xristos Nikolopoulos | last post by:
Hello, I have made an application that needs to upload files, the application is deployed in several folders, and each folder has its php files. The problem is, I have in the folder I want to...
0
by: JoeT | last post by:
Hi... OK...I'm having difficulty understanding a problem with installing Zend Studio 5.5 on an Intel Mac. Prior to the install, I had the zend /library installed, and was able to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.