I installed php 5.4.0 from source but phpinfo() still reports the same, old version. As does php5 -v .

What did change to 5.4.0 is php -v . But my server seems to be using php5. How do I fix this?

It was probably installed somewhere else, and the old version is found first in your PATH environment.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.