php memory management & profiling [duplicate] - php

This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
PHP memory profiling
From what I've found online, all I've seen for tracking memory usage in an PHP application is to use the native "memory_get_usage()" function or buy a commercial product like zend server.
Anybody have some other suggestions? Seems like a good use for Aspect Oriented Programming...

XDebug works great for tracing, profiling, and debugging.

Related

CakePHP code protection encryption copyright [duplicate]

This question already has answers here:
Is it possible to hide/encode/encrypt php source code and let others have the system?
(6 answers)
Closed 4 years ago.
I have developed a school management system software in CakePHP and I want to sell it to a school. Is there any way to encrypt it or such a thing that no one can copy it even having the code as is a offline system?
Maybe better will be selling as SaaS (Software as a Service)

Python testing tool like Behat in the PHP [duplicate]

This question already has answers here:
Practicing BDD with python [closed]
(10 answers)
Closed 8 years ago.
I am trying to test a web-application, using python,
I am new in python so don't know much Python testing tools, i have written tests in Selenium/Pink/Behat in the PHP world, Now i have to use python for Behavior-Driven-Development (BDD),
I have been looked Google, but I couldn't really get a definitive answer. can any one please suggest me best python testing tool, like Behat.
Thanks in Advance
Try using Unittesting such as http://docs.python.org/2/library/unittest.html

How can I test what is slowing down my php code? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
php-cgi running very slowly on windows
I'm running wordpress on a windows server, and for some reason the php code is executing very slowly. How would I be able to trace exactly the part of the code that is slowing the server down?
Try to start with xdebug php extension. It could give you a lot of information.

HTTP server written on php [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicates:
PHP web server in PHP?
http server in php
I want to use HTTP server written on PHP instead of Apache. Who knows solutions? Best is one php file.
It was done once for some kind of a proof of concept we did, as PHP is faster to develop in than, say CPP. but in no way it is a solution for a production environment.
Others have done so too http://nanoweb.si.kz/ is one for example.

Does anyone know a working OCR (PHP)? [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
How can I implement OCR on a website using PHP?
Ive been looking for a working OCR class (must be PHP) for almost 3 days.
Anyone knows a working OCR? please guide me if you have a OCR sample.
I don't believe anybody implemented any OCR solution in PHP.
OCR ( Optical Character Recognition ) is a very complex piece of Software and not anything PHP would be suited for to implement.
But for sure you can call an external OCR program from PHP.
So you should look for an OCR solution which can be used from command line.

Categories