如何在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_dirsetting. Look for:
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 = "ext"extension_dir = "C:\xampp\php\ext"). - Save the
php.inifile, then restart your Apache server via the XAMPP Control Panel (click Stop, then Start). - To confirm it’s working: Create a file named
phpinfo.phpinC:\xampp\htdocswith this content:
Visit<?php phpinfo(); ?>http://localhost/phpinfo.phpin 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.iniagain. - Find the line
;extension=soapand remove the leading semicolon to enable it:extension=soap - Double-check that
extension_diris 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_pathline. It should look something like this by default:
If theinclude_path = ".;C:\xampp\php\PEAR".is missing, add it at the start (separated by a semicolon from other paths). For example, if it wasinclude_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.inifile 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 thephpfolder 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
相关产品推荐
相关产品推荐

