Skip to content
Advertisement

Tag: apache

Configuring Symfony 5 Application on Apache server

I need some help with configuring Symfony on apache2 web server. My current project category structure is: var/www/domain.com/public_html Inside public_html is where my Symfony application is located. I am stuck at figuring our what I am doing wrong in my either .htaccess or /etc/apache2/sites-available/domain.com.conf files. I am using symfony/apache-pack. My .htaccess files live inside /public folder as per documentation. Here

Can Microsoft’s SQLSRV driver for PHP run on Apache?

Scenario: I have a PHP website running on Apache server I have an ERP system (MS SQL) that runs on a different server I need to connect from my website to that MS SQL server I need to work with Microsoft SQL Server in my PHP application. I’ve managed to get their SQLSRV driver for PHP running on my localhost

htacess redirecting to js & css files

This is my typical PHP MVC Structure: This is my htaccess configuration: Write now my all requests are going through index.php. In my project files, I am accessing my css & js files located in Resources folder like following: This result in following error I tried to add following Rewrite rule in htaccess configuration, but it doesn’t work: I don’t

Apache unicode handling

I’m trying to duplicate existing apache behavior in a new server, but first need to understand how the current (Red Hat 4.4.7-23) one is working. The following php: Generates this output when run form the command line: Note that the json_encode fails because of the rogue unicode character. When requested via apache I instead get: I have a lot of

Apache unique Vhost user, PHP sessions not working

I am looking to run an number of Apache server which will host websites for multiple clients. I have installed the libapache2-mpm-itk module and have created unique users/groups for each clients set of files. And configured their corresponding vhost file to run the process with that user/group. This works fine until I try to use PHP sessions. In the vhost

Advertisement