Neos with XAMPP success!

I Have a tutorial as in
https://flowframework.readthedocs.io/en/stable/TheDefinitiveGuide/PartII/Installation.html
set uped. I am using a Windows system and XAMPP. However, when I go to Web/index.php I get a view of XAMPP.
I have set then in the file
$_SERVER[‘REDIRECT_FLOW_ROOTPATH’] = ‘http://localhost/tutorial/Web’;
set. But I still don’t see anything.

What do I have to do to see Flow on my Windows /XAMPP.

Thanks

LG Mark Kostman

i would not recommend using flow + native windows to an flow/neos beginner

it just complicates some things (of course its possible …)

i have good experiences with wsl2 + php + mariadb or ddev + wsl2

Did you try the xampp tutorial on XAMPP Setup (Windows) - Installation & Development Setup - Neos CMS - Neos Docs ?

Thank you for the answers.

@Mark S: Unfortunately, I only have a Windows system and have to get it regulated with Windows.

@Sebastian Helzle: Yes, I worked through that as well.

At the moment I get the error message in the browser: Forbidden
You don’t have permission to access this resource.

wsl is basically linux inside your windows supported by microsoft.


maybe Running Neos / Flow on Windows 10: Success! helps?

or just search this discuss for “windows” or the current error message youre getting :wink:

I have adjusted the httpd.conf:

<VirtualHost *:80>
       DocumentRoot c:xampp/htdocs/tutorial/Web/
       ServerName dev.tutorial.local
       SetEnv FLOW_CONTEXT Production
       <Directory "c:xampp/htdocs/tutorial/Web/">
              Options +Indexes +Includes +FollowSymLinks +MultiViews
              AllowOverrideAll
              Require local
       </Directory>
</VirtualHost>

Result:

Forbidden
You don't have permission to access this resource.

I finally got it working!!! On Windows with XAMPP, I’ve just seen the Welcome page.

Thanks for your support.

1 Like

no you did this alone - sorry for not beeing able to help further.

maybe you can leave here some tricks for the future (we could even put them on the docs)

Here’s how I did it to make it work on Windows/Xampp.

In the httpd.conf:
(c:/xampp/apache/conf/httpd.conf)

<VirtualHost *:80>
      DocumentRoot c:xampp/htdocs/tutorial/Web/
      ServerName dev.tutorial.local
      SetEnv FLOW_CONTEXT Production
	SetEnv FLOW_PATH_TEMPORARY_BASE "C\\:tmp\\"
	<Directory "c:xampp/htdocs/tutorial/Web/">
		Options +Indexes +Includes +FollowSymLinks +MultiViews
		AllowOverride All
		Require local
	</Directory>
</VirtualHost>

In the php.ini; corresponding dll in: c:/xampp/php/ext

extension=php_yaml.dll

[XDebug]
zend_extension = xdebug
xdebug.mode=debug
xdebug.start_with_request=trigger
xdebug.remote_autostart = 1
xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "c:\xampp\tmp"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_log = "c:\xampp\tmp\xdebug.txt"
xdebug.remote_port = 9000
xdebug.trace_output_dir = "c:\xampp\tmp"
xdebug.remote_cookie_expire_time = 36000

Very important: In the httpd-vhosts.conf: (c:/xampp/apache/conf/extra/httpd-vhosts.conf)

<VirtualHost 127.0.0.1:80>
	ServerName dev.tutorial.local
	DocumentRoot "c:/xampp/htdocs/tutorial/Web"
	<Directory "c:/xampp/htdocs/tutorial/Web/">
		Options +Indexes +Includes +FollowSymLinks +MultiViews
		AllowOverride All
		Require local
	</ Directory>
</ VirtualHost>