⚙️

Web Server Setup Required

Your contact form needs a web server to work

❌ Current Issue
You're opening files with file:// protocol (direct from disk). This displays PHP code instead of executing it. Contact forms need a live web server.
✅ Solution
Choose Your Setup Option
🟢 Option 1: Use Built-in PHP Server (EASIEST)
Best for: Quick local testing
Requirements: PHP installed on your computer
  1. Open PowerShell and navigate to your project folder:
    cd "D:\ASK\SaaS2 Downloaded 3-4-26"
  2. Start the PHP server:
    php -S localhost:8000
  3. Open in browser:
    http://localhost:8000
  4. ✅ Contact form will now work!
🟡 Option 2: Use Apache/Nginx
Best for: Production-like setup
Requirements: Apache/Nginx + PHP installed
  1. Set document root to your project folder in Apache config:
    DocumentRoot "D:/ASK/SaaS2 Downloaded 3-4-26"
  2. Make sure PHP module is enabled
  3. Restart Apache
  4. Access: http://localhost/ (or your configured domain)
🔵 Option 3: Use XAMPP (Windows Easiest)
Best for: Complete local development environment
Requirements: XAMPP installed
  1. Download XAMPP from apachefriends.org
  2. Install XAMPP
  3. Copy your project folder to: C:\xampp\htdocs\saas2
  4. Start Apache from XAMPP Control Panel
  5. Visit: http://localhost/saas2
After Setup
✅ Your contact form will work!
Once running on a web server, visit:
http://localhost:8000/contact.html (PHP server)
or
http://localhost/saas2/contact.html (XAMPP)
Verify PHP is Installed
  1. Open PowerShell and run:
    php --version
  2. If you see a version number, PHP is installed ✓
    If you see "command not found", you need to install PHP
Quick Fix (Test Now)
Test with PHP Server in 30 seconds
  1. Press Win + R to open Run
  2. Type: powershell and press Enter
  3. Copy and paste:
    cd "D:\ASK\SaaS2 Downloaded 3-4-26"; php -S localhost:8000
  4. You should see: [hostname] Listening on http://localhost:8000
  5. Click this link: http://localhost:8000