[PHP] Classes and performance bottlenecks

2001-08-13 Thread Artyom Plouzhnikoff
I have a strange problem with PHP 4.0.4pl1 and above. It looks like including a file that contains classes can become a major performance bottleneck My machine is an Intel Pentium ]I[ 667Mhz, 128Mb RAM running RedHat Linux 7.1; I installed PHP as a DSO module. I used ab (Apache Benchmark) for

Re: [PHP] Re: The secrecy of PHP code

2001-08-25 Thread Artyom Plouzhnikoff
If your php-code is on a web-server which gives access to other than you they can read your code. An example could be other people being hosted on the same server.. Not necessarily. You can enable safe_mode and/or set an open_basedir in order to prevent those people from doing that. You

[PHP] Safe mode + /usr/share/php

2001-08-25 Thread Artyom Plouzhnikoff
Is it possible to use safe mode yet allow all scripts to include any files from /usr/share/php? Normal users ain't gonna have *write* access to that directory, so it shouldn't be much of a security concern, I just don't know how to do this. I know that I can disable safe_mode and enable