Archive for July, 2008

suPHP and .phps PHP code highlighting support

Today a user on one of my web servers asked me why .phps files would only download and not show the highlighted PHP code as expected.

This is usually done by adding the following to your “httpd.conf”…

AddType ‘application/x-httpd-php-source’ .phps

We use the cPanel web hosting control panel and to improve security cPanel recommend using suPHP, which allows PHP scripts to run as a user rather than “nobody”.

This means that adding the above line to “httpd.conf” does not work with suPHP.

So what can be done?

Read the rest of this entry »

Comments (1)

OpenCart v0.7.8 released

OpenCart is an open source PHP-based e-commerce online shop website solution. Ideal for new or existing stores to start selling online.

OpenCart all began because (at the time) the leading open source e-commerce solution out there was not very good, to say the least.

The first notable release was OpenCart v0.5 back in late 2006 and has been gaining momentum ever since.

The project is lead by Daniel Kerr, and I have also recently joined the team.

Download OpenCart v0.7.8

If you need any assistance with OpenCart, you can find me on the OpenCart Community Forums, and on the OpenCart Google Code project site.

Enjoy!

Comments