473,909 Members | 4,177 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1932
ca******@csd.ne t 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.n et> wrote in message
news:11******** **************@ o13g2000cwo.goo glegroups.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.ne t 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
3084
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 conditions on same data in DB. Calculating data in PHP instead of running several queries (each query has joins on several tables with several hundreds of thousands of records) shortened page generation time, but it's still not fast enough :-(...
2
3699
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 request a php-page from localhost. Very annoying! If googled on on licence expired zend studion personal edition. But that gave me mostely Russian Crack sites. Very tempting 8-) Can anybody please help me to remove the popup permanently? Im...
8
779
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 getting to the stage where it doesn't go far enough. I want something that will still automate a lot of what I do rather than having to hand code 100%. Someone suggested Zend and I wondered what people here thought? andy
1
4884
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 following message in my browser: Failed to connect to host '192.168.2.102'. Failed to connect to host '192.168.126.1'. Failed to connect to host '192.168.47.1'. (I've got a network card, Wifi and Bluetooth in the machine)
0
1180
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 Zend Studios edit buffer. This works fine and hasn't been a problem. However, last week the PHP files I was working on were corrupted and turned into 512 byte long files that contained nothing but a single low ascii control code repeated 512...
0
1514
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. The files I'm editing 'live' on a Solaris machine and the linux machine mounts them through NFS. I actually access the files through a symbolic link to the mount point on the linux box. A little complicated I know, but it does work. I've been...
3
2260
by: nntp | last post by:
What is ZEND. Why it has anything to do with programming PHP?
1
2157
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 upload the php files that do the job and a php.ini file to change limits.
0
2073
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 successfully run Zend_Db commands against a local mysql server (5.1) from the commandline (e.g. php testdb.php). This stuff ran just fine. The code is simply:
0
9877
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11346
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10919
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9725
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8097
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5938
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6138
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3357
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.