Hi, I’m trying to install DSP on a Centos server.
I have a specific DB config and I did create successfully the adm user but, now, I have a blank page when I try to access DSP with URL …/dreamfactory/dist/index.html.
I had to correct Apache configuration because a default directive “AllowOverride None” was blocking rewrite engine.
Now that rewriting URLs is Ok, I can use DSP.
May I ask which version of Apache you are running? The configuration options have changed significantly from 2.0 to 2.2/2.4, and I’d like to update our wiki with more detailed steps for 2.2/2.4.
I tried to install a test/dev version of DSP on a shared server with kind of strict admin rules (packages control management for instance).
Apache was ‘fresh’ and PHP 5.4 too
Name : httpd
Arch : x86_64
Version : 2.2.15
Release : 39.el6.centos
I had to :
Create & declare a php.ini
# configure the path to php.ini
PHPIniDir "/data/php"
In which I add a specific timezone :
;Defines the default timezone used by the date functions
;http://php.net/date.timezone
date.timezone = "Europe/Paris"
2.I used a VirtuelHost but had to modify the httpd.conf regarding to DSP directory conf :
Options FollowSymLinks
AllowOverride All
‘AllowOverride None’ inhibited the rewrite engine so the URL ‘/data/dreamfactory/platform/web/rest’ was not found hence my blank page.
3.Modify the install script :
Modify PHP path cause it was not in /usr/bin/ (or make an alias)
Modify apache user cause it was not ‘www-data’ but ‘apache’
Modify apache’s service name cause it was not ‘apache2’ but ‘httpd’
Use a specific DB config thanks to ‘config/database.config.php’
Get ‘composer.phar’ from bitnami package cause it’s not in github anymore
Finally, it worked but, since I’m not a good sys-admin, I’m a little bit concerned about supervision and upgrade in such a restrained/not conventional environment.
These are the correct install steps according to our wiki documentation. The differences you experienced were due to your more recent version of Apache, which is noted on the wiki as not being covered by our install guide yet, and other environmental variables (since you have installed PHP elsewhere, for example). Composer is required and available on GitHub here.
If you are going to be using a restrictive environment like you say, I recommend trying to use a Bitnami LAMP stack since it will already have all or most of these integrations and configurations in place.
And, while we are always working to update our documentation, please submit a pull request on our wiki if you’re willing to assist us by documenting an Apache 2.2/2.4 install/config guide.