XAMPP & PHP 5.2.1 2 questions

March 13, 2007 - 03:01
XAMPP & PHP 5.2.1 2 questions
Posts: 2
Joined: 2007-03-13

Hi folks

I lately managed to bring the eAccelerator to work on XAMPP 1.6.0a and PHP 5.2.1 with the eAccelerator095_i284_5.2.1.dll.
Well the apache starts and keeps running.

I also have the eAccelerator 0.9.5 control panel downloaded and it shows me
Caching enabled yes
Optimizer enabled yes
Memory usage 0.18% (0.06MB/ 32.00MB)
Free memory 31.94MB
Cached scripts 1
Removed scripts 0
Cached keys 0

but 2 questions keep alive:
1) control panel says:
Warning: This script isn't in the allowed_admin_path setting! in C:\Programme\xamp\xampp\htdocs\RC1\control.php on line 297

Warning: uasort() [function.uasort]: The argument should be an array in C:\Programme\xamp\xampp\htdocs\RC1\control.php on line 108

Warning: uasort() [function.uasort]: The argument should be an array in C:\Programme\xamp\xampp\htdocs\RC1\control.php on line 132

Warning: Invalid argument supplied for foreach() in C:\Programme\xamp\xampp\htdocs\RC1\control.php on line 136

well ive set eaccelerator.allowed_admin_path = "C:\Programme\xamp\xampp\htdocs\RC1"
in the ini file.. was that wrong? (Maybe I misunderstood the readme)

2) If i go on console and type a php or php -q eaccelerator_password.php
I get the message:
PHP Warning: [eAccelerator] This build of "eAccelerator" was compiled for
ersion 5.2.0. Rebuild it for your PHP version (5.2.1) or download precompi
naries.
in Unknown on line 0
PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0

??? ähh what is it trying to tell me.. its the 5.2.1 dll and apache is running????

Any help taken :)



March 14, 2007 - 13:00
Posts: 406
Joined: 2006-01-02

Hi DesMas,

Make sure you got the eAccelerator 095_i284 for PHP 5.2.1 version. The original version of eA for PHP 5.2.1, must have been compiled with PHP 5.2.0 (got numerous reports about this) and was removed about 10 days ago.

Check your paths to make sure your are using the appropriate versions of ea and php, when you type "php" in a command prompt.

Cheers,
Chris



March 13, 2007 - 03:21
Posts: 2
Joined: 2007-03-13

ok question 1 solved by moving script files into EACP folder and adding line to php.ini: eaccelerator.allowed_admin_path = "C:\Programme\xamp\xampp\htdocs\EACP"