Reflection not enabled by default with PHP 5.3.2
Posted: Mon Nov 22, 2010 1:27 am
Hi
This is my first topic in this forum. !!! HELLO WORLD !!!
I recently upgraded my PHP to 5.3.2 from 5.2.3.
In 5.2.3, I did not want REFLECTION module to be enabled, so I used "disable-reflection" configuration option to disable it.
Now with 5.3.2, I would like to use this module and read through the installation notes that the "disable-reflection" option is removed
from the configurable options because this module is built-in by default. But now, am getting the following error on "ReflectionClass"
root>./php ./test.php
X-Powered-By: PHP/5.3.2
Content-type: text/html
<br />
<b>Fatal error</b>: Class 'ReflectionClass' not found in <b>/jail/usr/bin/test.php</b> on line <b>40</b><br />
phpinfo() doesn't show "Reflection" section as well.
Any idea how to proceed?
PS: Even "enable-reflection" is un-identifiable configure option, I hope.
Regards
Balaji
This is my first topic in this forum. !!! HELLO WORLD !!!
I recently upgraded my PHP to 5.3.2 from 5.2.3.
In 5.2.3, I did not want REFLECTION module to be enabled, so I used "disable-reflection" configuration option to disable it.
Now with 5.3.2, I would like to use this module and read through the installation notes that the "disable-reflection" option is removed
from the configurable options because this module is built-in by default. But now, am getting the following error on "ReflectionClass"
root>./php ./test.php
X-Powered-By: PHP/5.3.2
Content-type: text/html
<br />
<b>Fatal error</b>: Class 'ReflectionClass' not found in <b>/jail/usr/bin/test.php</b> on line <b>40</b><br />
phpinfo() doesn't show "Reflection" section as well.
Any idea how to proceed?
PS: Even "enable-reflection" is un-identifiable configure option, I hope.
Regards
Balaji