You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何在Windows 10中用XAMPP安装Typo3?及相关报错解决求助

Fixing Typo3 8 Installation Issues on Windows XAMPP

Let’s work through your three stubborn issues step by step—all of them can be resolved by adjusting your XAMPP PHP configuration. Here’s what to do for each:

1. PHP OpenSSL Extension Not Working

  • Locate your XAMPP PHP configuration file: it’s usually at C:\xampp\php\php.ini (adjust the drive letter if your XAMPP is installed elsewhere). Open it with a text editor like Notepad++ (regular Notepad works too, just avoid word processors).
  • Search for the line ;extension=openssl. Remove the leading semicolon (;) to uncomment it, so it reads:
    extension=openssl
    
  • Next, verify the extension_dir setting. Look for:
    extension_dir = "ext"
    
    If it’s commented out or uses an incorrect path, update it to the absolute path of your PHP extensions folder (e.g., extension_dir = "C:\xampp\php\ext").
  • Save the php.ini file, then restart your Apache server via the XAMPP Control Panel (click Stop, then Start).
  • To confirm it’s working: Create a file named phpinfo.php in C:\xampp\htdocs with this content:
    <?php phpinfo(); ?>
    
    Visit http://localhost/phpinfo.php in your browser, search for "OpenSSL"—you should see a section showing the extension is enabled.

2. PHP SOAP Extension Not Loaded

This fix follows a similar pattern to the OpenSSL issue:

  • Open C:\xampp\php\php.ini again.
  • Find the line ;extension=soap and remove the leading semicolon to enable it:
    extension=soap
    
  • Double-check that extension_dir is correctly set (as covered in the OpenSSL section).
  • Save the file and restart Apache.
  • Verify using phpinfo.php—search for "SOAP" to confirm the extension is active.

3. Current Directory Not in Path

This refers to PHP’s include_path missing the current directory (denoted by .), which Typo3 requires:

  • Open C:\xampp\php\php.ini.
  • Locate the include_path line. It should look something like this by default:
    include_path = ".;C:\xampp\php\PEAR"
    
    If the . is missing, add it at the start (separated by a semicolon from other paths). For example, if it was include_path = "C:\xampp\php\PEAR", change it to:
    include_path = ".;C:\xampp\php\PEAR"
    
  • Save the file and restart Apache.
  • Confirm via phpinfo.php—search for "include_path" to ensure . is listed in the value.

Quick Notes

  • Always back up your original php.ini file before making changes, just in case you need to revert.
  • If you’re using a 64-bit version of XAMPP, ensure you’re editing the correct php.ini (it should be in the php folder under your XAMPP root, not in any subfolders).
  • After each change, restarting Apache is critical—PHP won’t pick up the new settings until the server is rebooted.

内容的提问来源于stack exchange,提问作者Karthik

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.26 08:47:15