Reflection not enabled by default with PHP 5.3.2

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
asb_kumar
Forum Newbie
Posts: 1
Joined: Mon Nov 22, 2010 1:20 am

Reflection not enabled by default with PHP 5.3.2

Post by asb_kumar »

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
Post Reply