If you have a genuine CS6 license, repacking it yourself (using tools like VMware ThinApp) is the safest route. If not, and you fully understand the risks:

Older computers running a 32-bit (x86) version of Windows 7 are limited to a maximum of 4GB of RAM. Modern versions of Photoshop Creative Cloud require 64-bit operating systems and a minimum of 8GB of RAM to function properly. Photoshop CS6 was built during an era when 32-bit systems were still common, making it fundamentally compatible with older hardware architecture. 2. Zero Cost

You do not need to resort to risky, illegal downloads to edit photos or design graphics. There are several highly capable, safe, and legal alternatives available today. Free and Open-Source Alternatives

If finding a safe CS6 portable seems too risky, these are excellent free or low-cost alternatives that run natively on 32-bit Windows 7: