HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Run Symfony 2 on ISPConfig (http://www.howtoforge.com/forums/showthread.php?t=59065)

dsautet 12th October 2012 15:02

Run Symfony 2 on ISPConfig
 
Hi everybody!

I have a little problem.
In fact I would like to install Symfony 2 and use it with ISPConfig.

Once I have installed ISPConfig3 I don't know how to insert Symfony 2 in it.
First I unzip the symfony2 archive into /var/www/MyProject/web but after I have an error to access to the main page.

I think it is a problem in apache configuration.

Is there somebody who can help me on that?

Thank you very much!

till 12th October 2012 15:10

ensure that you chowned all symfony files to the web[ID] user and client[id] group of the website, otherwise the files can not be accessed by apache.

dsautet 12th October 2012 15:13

Thank you!

And do I have to keep cgi-bin, index.htm, ... files that we have by default on IspConfig?

till 12th October 2012 15:14

the index.html file has to be deleted. the cgi-bin folder must stay there.

dsautet 12th October 2012 15:16

Ok I'll try this evening.

Thank you very much!!!

dsautet 13th October 2012 21:21

Hello,

Still have a problem.

In fact here is the error I have in my browser when I go my website mywebsite.fr/config.php

Major problems have been detected and must be fixed before continuing :

- Change the permissions of the "app/cache/" directory so that the web server can write into it.
- Change the permissions of the "app/logs/" directory so that the web server can write into it.

I change the chown for all my folders and files and put a chmod 777 for log and cahe's folders like this :

/var/www/mywebsite.fr# ls -la

drwxr-xr-x 6 web2 client0 4096 13 oct. 02:04 app
drwxr-xr-x 2 web2 client0 4096 13 oct. 01:41 bin
drwxr-x--x 2 web2 client0 4096 13 oct. 01:28 cgi-bin
-rwxr-x--x 1 web2 client0 1574 13 oct. 01:41 deps
-rwxr-x--x 1 web2 client0 487 13 oct. 01:41 deps.lock
-rwxr-x--x 1 web2 client0 1065 13 oct. 01:41 LICENSE
lrwxrwxrwx 1 web2 client0 40 13 oct. 01:28 log -> /var/log/ispconfig/httpd/mywebsite.fr
-rwxr-x--x 1 web2 client0 6405 13 oct. 01:41 README.md
drwxr-xr-x 3 web2 client0 4096 13 oct. 01:41 src
drwxr-x--x 2 web2 client0 4096 13 oct. 01:28 ssl
drwxrwxrwx 2 web2 client0 4096 13 oct. 01:28 tmp
drwxr-xr-x 13 web2 client0 4096 13 oct. 01:41 vendor
drwxr-xr-x 5 web2 client0 4096 13 oct. 12:43 web

/var/www/mywebsite.fr/app# ls -la

-rw-r--r-- 1 web2 client0 141 13 oct. 01:41 AppCache.php
-rw-r--r-- 1 web2 client0 1413 13 oct. 01:41 AppKernel.php
-rw-r--r-- 1 web2 client0 1841 13 oct. 01:41 autoload.php
-rw-r--r-- 1 web2 client0 40237 13 oct. 01:41 bootstrap.php.cache
drwxrwxrwx 3 web2 client0 4096 13 oct. 03:09 cache
-rw-r--r-- 1 web2 client0 6026 13 oct. 01:41 check.php
drwxr-xr-x 2 web2 client0 4096 13 oct. 02:12 config
-rwxr-xr-x 1 web2 client0 734 13 oct. 01:41 console
-rw-r--r-- 1 web2 client0 13 13 oct. 01:41 .htaccess
drwxrwxrwx 2 web2 client0 4096 13 oct. 02:04 logs
-rw-r--r-- 1 web2 client0 1327 13 oct. 01:41 phpunit.xml.dist
drwxr-xr-x 3 web2 client0 4096 13 oct. 01:41 Resources

I don't know what I have missed.

Thanks for reply!!

till 13th October 2012 21:40

the permission change is not nescessary, just select the correct php mode.

You have to use php-fcgi and enable the suexec checkbox in the website settings as described in the manual when a php script shall be able to write to the website.

dsautet 13th October 2012 22:17

I have already Suexec enable and fcgi like php mode.

Any others ideas?

dsautet 14th October 2012 11:31

Nobody has ideas?

I'll try to give you my diffenrent configuration.

Wich files or folders do you need to see?

I still have the same errors and when I go on app_dev.fr the page is blank.

Thanks

dsautet 15th October 2012 17:42

Please help me, I have tried all options but still the same error


All times are GMT +2. The time now is 07:51.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.