Intermediate to advancedAbout 2 hr 40 min in total
Developer tutorials
PHP upgrades, cron, static builds, redirects and Laravel.
Workflows for people who write code: upgrading PHP safely, scheduling cron jobs, deploying a static site, setting up redirects and running a Laravel application on shared hosting. They assume you are comfortable with files and a terminal, and explain the Traxio-specific details.
- 1. Upgrade your site to a newer PHP version safelyIntermediate Check compatibility, test the new PHP version on a staging subdomain, switch the live site and watch the error log.
- 2. Schedule a task with a cron jobIntermediate Write a small PHP task, schedule it in DirectAdmin, log its output and confirm it runs on time.
- 3. Deploy a React, Vue or static-site buildIntermediate Build a front-end project locally, upload the output, add single-page app routing and long-lived caching.
- 4. Redirect old URLs after a redesignIntermediate Map old addresses to new ones, add 301 redirects in .htaccess, and verify no important page is left returning 404.
- 5. Deploy a Laravel application to TraxioAdvanced Build a Laravel app locally, upload it with the code outside public_html, configure .env, import the database and schedule the task runner.
Background reading
Guides from the knowledge base that explain the ideas behind these tutorials.
- Understanding PHP error messagesHow to read a PHP error: fatal errors, parse errors, warnings, notices and deprecations, what each means for your site, and where to look next.
- What is .htaccess? A practical guideWhat .htaccess files do, where they apply, the rules people use most, and how to recover quickly when one breaks your site.
- What is PHP? The language behind most websitesPHP explained: what the language does on a web server, why WordPress and most hosting apps depend on it, and why the version matters.
- Adding security headers with .htaccessAdd HTTP security headers — HSTS, X-Content-Type-Options, Referrer-Policy, frame protection and Permissions-Policy — safely with .htaccess.
- Changing PHP settings: memory_limit, upload size and execution timeWhich PHP settings people usually need to change, how to find out which ones your account can adjust, and why server limits act as ceilings.