[PHP] Terrible performance Apache 2.2.6, PHP 5.2, apache module mode

2007-12-24 Thread wmac

Hello,

I have a very terrible performance after changing to last versions of Apache
and PHP on windows XP (and mysql 4.1).

I did a search on the internet and it seems many people have this problem.
Changing to Apache 2.0 and PHP 5.1 seems to solves the performance problem.

for example this one:
 http://ez.no/developer/forum/setup_design/poor_ez_publish_4_0_performance

Anyone has heard of a workaround?

Thank you


-- 
View this message in context: 
http://www.nabble.com/Terrible-performance-Apache-2.2.6%2C-PHP-5.2%2C-apache-module-mode-tp14486734p14486734.html
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] include config.php does not work anymore after PHP 5.2

2007-12-02 Thread wmac

Thank you People. Someone mentioned the problem.

It is the starting PHP tag.

I never never thought my config.php might have problem. I have used
this config.php for almost 6 years and never had problem (the first
time I have forgotten to add it 6 years ago because I had migrated
from ASP. I have copied this wrong config.php to some other projects.

Throughout the years I have upgraded PHP and Apache (on windows and
Linux) and I have never had this problem.

It's strange that how PHP has never had problem with it and finally
now it has found the problem! I am now doing J2EE for 3 years and this
bug caught me finally. (I think I need to update a few delivered
projects before they come up with the problem)

Thank you again.

Mac
-- 
View this message in context: 
http://www.nabble.com/include-%22config.php%22-does-not-work-anymore-after-PHP-5.2-tf4930800.html#a14113764
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] include config.php does not work anymore after PHP 5.2

2007-12-01 Thread wmac

Hello,

I have been working with PHP 5.0 and my register_globals has always been
Off since PHP 4.1

Today I upgraded to PHP 5.2 and now neither of my include config.php work.

Neither of the variables defined in include files are even included. Anyone
knows what has been changed and what can I do?

This is what I normally use

PHP Code:

include(config.php);

mysql_connect($host,$user,$password);
@mysql_select_db($db) or die(Unable to open database);

I echoed those connection variables and all are empty.

Thank you,
Mac
-- 
View this message in context: 
http://www.nabble.com/include-%22config.php%22-does-not-work-anymore-after-PHP-5.2-tf4930800.html#a14113233
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php