Forum

Thread tagged as: Problem, Configuration, Runway

Runway - issue with php_flag and php_value in htaccess file

I am running Perch Runway but I seem to have run into a problem with the htaccess file on the live web server and I can also replicate on the local server.

The existing htaccess has the following declarations:

php_flag session.auto_start 1
php_value post_max_size 25M
php_value upload_max_filesize 25M

Which seems to stop Perch running and issues an internal 500 server error

Must these php setting be made in the php.ini file for Perch to run?

Help appreciated

Graham Shedden

Graham Shedden 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

What error are you getting logged for that HTTP 500?

[Tue Jun 21 17:28:11 2016] [alert] [client ::1] /website.local/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration, referer: https://website.local/
Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok, that's an apache error - not one from Runway. I don't think Runway is the issue here.

Thought that might be the case. Thanks for your time Drew.