Skip to content
Home · Sonraki hedefe 100 XP
Son hareketler
Henüz bir öğrenme hareketi yok. İlk derse başlayın.

Programming Fundamentals

XAMPP: Isolated development environment

XAMPP makes it easy to experiment with native Apache, PHP, and database components. The operation of the service and the submission of the project under the correct URL are different controls.

Bu derste neler var?

SIBERSALDIRI.COM · FOCUSED LESSON

What you will learn

  • Explain the relationship between the installation and the Local service.
  • “Why can I receive a 404 when the service is open?” To give a reasoned answer to the question.
  • Changing the example and comparing expected and observed behavior.

How it works and where the trust boundary lies

First distinguish between the PHP in the terminal and the PHP version Apache uses. Place the project in the correct web root, restrict administrative tools to local access. Do not embed the database password in the source file. Connection rejection in the browser indicates a service problem, while 404 usually indicates a path or redirection problem.

XAMPP: Isolated development environment flow: Setup → Local service → HTTP authentication
Setup → Local service → HTTP authentication. The diagram shows the relationship; It does not replace the entire application.

Worked example

The following passage makes the concept visible. Evaluate samples containing commands or code in your own separate testing environment, not in the production system. Architectural diagrams and policy examples are not executable programs.

php -v
curl -I https://sibersaldiri.com/

Expected result and interpretation

The first command shows the interpreter version, the second shows the local HTTP response headers.

Compare the scenarios

StatusRecommended approachWhy?
Connection refusedCheck service and portNo HTTP response received
HTTP 404Check root and pathThe server has been accessed
database errorTest the connection separatelyWeb service and data service are different

Practice task

Open the test page, stop Apache and request the same address again. Record the difference between the two situations.

  1. Write down the expected outcome and acceptance condition before the action.
  2. Change a single variable; Record the observation and the medium you used.
  3. Evaluate the result with the comparison table above. Explain which assumption might be wrong if it does not fit.

Common mistake and how to correct it

Do not expose development management tools to the Internet; Do not leave detailed diagnostic pages persistent.

Test your understanding

Why might I get a 404 when the service is open?

Answer explained: The requested file or URL mapping may not be found; service accessibility does not prove the existence of the file.

Continue with related lessons

Technical reference

The explanation and examples of this course have been re-prepared for the academy. The link below is a technical reference to verify details of the technology or security approach used.

Bir adım daha ilerlediniz.

Dersi bitirdiyseniz tamamlandı olarak işaretleyin. İlerlemeniz bu cihazda saklanır.

Academy menu

Akademide ara

En az 2 karakter yazın.