Hello, I've recently migrated to web225 server and trying to make all my PHP apps work, as nicely explained here http://docs.webfaction.com/software/php.html There are some problems with config changes: .htaccess php_value to per application php.in. While they work on Webfaction, I also need them to work on my local server. Can you please tell how can I configure my Apache and PHP 5.3 (at Ubuntu) to handle these php.ini files properly? For now they are simply ignored. asked 03 Oct '11, 15:16 Sergii |
Hi, You can install PHP as CGI using:
You then need to add:
to your httpd.conf You then need to add:
or any other global setting you need to /etc/php5/cgi/php.ini You then need to use:
in your virtualhosts to honor local php.ini files. Hope that helps! answered 03 Oct '11, 23:31 neeravk Yes, it makes sense: I need to install PHP as CGI first. Thanks for the confirmation.
(04 Oct '11, 03:09)
Sergii
|
Not a real solution, but because my local Apache configured with mod_php I've used following workaround:
answered 03 Oct '11, 16:04 Sergii |