# Moved from NGINX to APACHE but now url shows index.php code

**URL:** <https://forum.mautic.org/t/moved-from-nginx-to-apache-but-now-url-shows-index-php-code/27538>\
**Category:** Mautic 4 Install/Upgrade Support\
**Created:** [March 28, 2023, 7:33pm UTC](https://forum.mautic.org/t/moved-from-nginx-to-apache-but-now-url-shows-index-php-code/27538 "2023-03-28T19:33:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fernandodepaula](https://avatars.discourse-cdn.com/v4/letter/f/b19c9b/32.png) [@fernandodepaula](https://forum.mautic.org/u/fernandodepaula)\
**Post date:** [March 28, 2023, 7:33pm UTC](https://forum.mautic.org/t/moved-from-nginx-to-apache-but-now-url-shows-index-php-code/27538/1 "2023-03-28T19:33:18Z")

</div>

apache2My PHP version is\* : 7.4.3

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/9/9f51a21d2d9543c63145e923580e7a2c3bf5b500.png)

Moved from NGINX to APACHE but now url shows index.php code. I had lastest version of mautic working but without css and had tu put manually /s/login in the url to access.

---

<div class="post-metadata">

**Author:** ![fernandodepaula](https://avatars.discourse-cdn.com/v4/letter/f/b19c9b/32.png) [@fernandodepaula](https://forum.mautic.org/u/fernandodepaula)\
**Post date:** [March 29, 2023, 5:12am UTC](https://forum.mautic.org/t/moved-from-nginx-to-apache-but-now-url-shows-index-php-code/27538/2 "2023-03-29T05:12:04Z")

</div>

Hi guys!

Also manually typing /installer gets me to the index page

---

<div class="post-metadata">

**Author:** ![fernandodepaula](https://avatars.discourse-cdn.com/v4/letter/f/b19c9b/32.png) [@fernandodepaula](https://forum.mautic.org/u/fernandodepaula)\
**Post date:** [March 29, 2023, 5:59am UTC](https://forum.mautic.org/t/moved-from-nginx-to-apache-but-now-url-shows-index-php-code/27538/3 "2023-03-29T05:59:17Z")

</div>

Fixed, apache was not executing php code…

now i’m in the installer again, but looks off (no css)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/a/ac5944e578802e0362573f456ef1d62eb400fdd1.png)

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [March 30, 2023, 7:37am UTC](https://forum.mautic.org/t/moved-from-nginx-to-apache-but-now-url-shows-index-php-code/27538/4 "2023-03-30T07:37:56Z")

</div>

Do you have the .htaccess file in place?
