If you can READ this page, Apache is serving static files correctly. The 500 errors you see on PHP pages are 100% a PHP-level issue (likely session/cache write permissions). Use the steps below.
Your writable/ directory and its subdirectories are owned by the user who uploaded the files (probably root via cPanel's initial setup). Apache runs as nobody or www-data. chmod 777 doesn't help when the owner is wrong on most Linux setups.
Visible symptoms: every PHP page returns 500, including this fixer's parent PHP files.
We enabled RewriteBase /rajpath/ in rajpath/.htaccess. If your cPanel Apache uses AllowOverride None (common), the .htaccess is ignored and PHP just runs in the standard way.
You extracted twice and now have rajpath/public/public/.... Probes show:
helixcrm.in/rajpath/public/public/login → 500 helixcrm.in/rajpath/public/deployment/deploy-http.php → 500 helixcrm.in/rajpath/deployment/deploy-http.php → 404 (gone!)
Send this to your hosting support:
Subject: Apache 500 error on helixcrm.in/rajpath/*
Hi, my application at https://helixcrm.in/rajpath/ returns
HTTP 500 on every page. The issue is that writable/ subdirectories
are owned by the wrong user for Apache to write session/cache
files. Please run as my cPanel user:
cd ~/public_html/rajpath
find writable -type d -exec chmod 0777 {} \;
find writable -type f -exec chmod 0666 {} \;
chmod 0644 .env
chmod 0755 writable
(Or, more robust, also chown to the Apache user via `chown -R $(whoami) writable .env` if needed.)
After that, https://helixcrm.in/rajpath/login should return 200
and I can log in.
Thanks!
If you can't reach support, try cPanel's "Fix File Ownership" tool:
public_html/rajpath/writable/ onlyIf that button doesn't exist, do this instead:
writable/If everything is in a mess, fresh start:
rajpath/ folder → Deleterajpath-prod-20260707-142518.zippublic_html/rajpath/public/index.php exists, rajpath/deployment/ exists, NO rajpath/public/public/cPanel hides 500 errors generically. Get the real cause:
Permission denied ... writable/cache → writable/ ownership issueNo such file or directory ... writable/cache → missing subdirrequire_once(...): failed to open stream → vendor file missingAllowed memory size → PHP memory limit too lowsession_start() ... Permission denied → session dir not writable