Hi.
I really don’t understand what the problem is… When installing suitecrm 8.8 on Windows 10, I use xampp for 8.2 php, everything works fine, I go to the localhost, enter the database data, create a login and password, click next and in the logs in the folder with the suitecrm files, the installation starts, but eventually stops and gives an error
[2025-02-02 13:33:21] install.INFO: step: create-env | debug: no debug info
[2025-02-02 13:33:21] install.INFO: Running step: run-legacy-install
[2025-02-33 13:33:39] install.FATAL: Begin DB Check Process *************
[2025-02-33 13:33:40] install.FATAL: testing with mysql:mysqli
[2025-02-33 13:33:40] install.FATAL: Basic form info is valid, continuing Process.
[2025-02-33 13:33:40] install.FATAL: Testing user account…
[2025-02-33 13:33:40] install.FATAL: Connection made using host: localhost, usr: root
[2025-02-33 13:33:51] install.FATAL: ERROR: Cannot create writable dir cache/upload/import
[2025-02-33 13:33:51] install.FATAL: installerHook: Info: custom/install/install_hooks.php not present, no custom hooks to execute
=============
With all this, the page is loading and eventually throws me to authorization, but it turns out the files were not installed? I gave all the rights, turned off the defender, I run everything as an administrator, what is the problem, can anyone tell me?
Thanks
Did you modify the htaccess file to make your URL look like
http://localhost/install.php or does it still point to http://localhost/public/install.php
However, I often face alot of problems on windows, try below steps:
1. Check Folder Permissions
- Go to the folder where XAMPP is installed (typically
C:\xampp
).
- Navigate to the directory where the error is occurring (it could be inside the
htdocs
or another directory).
- Right-click on the
cache
, upload
, and import
directories (if they exist), and check the folder permissions.
- Ensure that the user running XAMPP (or the web server) has read, write, and execute permissions on these directories.
2. Manually Create Directories (may be as a last option if nothing else works)
- If the directories (
cache
, upload
, import
) do not exist, manually create them in the appropriate location.
- Ensure the web server has the necessary permissions to write to them.
3. Check XAMPP and PHP Configuration
- Ensure that the
php.ini
file (inside your XAMPP installation directory) is configured to allow necessary permissions. You may want to check the open_basedir
setting in php.ini
to ensure it’s not restricting access to certain directories.
- Restart Apache and MySQL from the XAMPP control panel to ensure any configuration changes take effect.
4. Check Path Length
- On Windows, paths longer than 260 characters might cause issues. Try shortening the directory structure or moving the project to a folder with a shorter path.
5. Run as Administrator
- Ensure that XAMPP is being run with administrative privileges. Right-click on
xampp-control.exe
and choose “Run as Administrator” to avoid permission issues.
Thank you for answer.
I already do all of this and dont understand what problem is… What is next?
I already think to drop windows and install suitecrm on linux if everything dont help me…
You can try this: Install WSL | Microsoft Learn
Or you can create a trial account on gcloud/Azure and create a linux VM.