Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th March 2013, 00:59
kareemhali kareemhali is offline
Junior Member
 
Join Date: Dec 2012
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't install Prestashop due to open_basedir error

Hi,

After upgrading ISPconfig, I can't install Prestashop on my server anymore. I get this error, which happens on step (Configure Shop Information at 58%).

[Mon Mar 25 00:40:51 2013] [warn] [client 82.37.187.108] mod_fcgid: stderr: PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/clients/client1/web6/web/cms-shop/modules/error_log.txt/mails/en/) is not within the allowed path(s): (/var/www/clients/client1/web6/web:/var/www/clients/client1/web6/tmp:/var/www/mysite.com/web:/srv/www/mysite.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin:/usr/share/php) in /var/www/clients/client1/web6/web/cms-shop/classes/Tools.php on line 1264, referer: http://mysite.com/cms-shop/install/i...p?restart=true


I'm using Fast-CGI with SSL and SuEXEC ticked, and latest ISPconfig.

I tried setting file permissions, gave 777 to all files, didn't work. I tried putting directories in PHP open_basedir config on the site panel, didn't work, although I'm not sure if I put the correct directories.

When I disable it and put "none", installation works fine.

As I'm no PHP expert, I'm not sure if this is bad for the server to disable it completely or if it doesn't matter.

How can I fix it please?, also, what is the best settings on the site panel for a PrestaShop site.

Thanks,
Kareem.
Reply With Quote
Sponsored Links
  #2  
Old 26th March 2013, 16:51
kareemhali kareemhali is offline
Junior Member
 
Join Date: Dec 2012
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Any help ?

I thought by becoming a subscriber I would get more help to be honest !.

Kareem.
Reply With Quote
  #3  
Old 26th March 2013, 21:18
ressel ressel is offline
Senior Member
 
Join Date: Apr 2007
Location: Denmark
Posts: 128
Thanks: 18
Thanked 5 Times in 5 Posts
Default

try with
Code:
/var/www/clients/client1/web6/web:/var/www/clients/client1/web6/tmp:/var/www/mysite.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin
I have installed a website with prestashop on one of my servers.
Reply With Quote
  #4  
Old 29th March 2013, 14:06
kareemhali kareemhali is offline
Junior Member
 
Join Date: Dec 2012
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Thanks for the info, that didn't work!.

Kareem.

Quote:
Originally Posted by ressel View Post
try with
Code:
/var/www/clients/client1/web6/web:/var/www/clients/client1/web6/tmp:/var/www/mysite.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin
I have installed a website with prestashop on one of my servers.
Reply With Quote
  #5  
Old 29th March 2013, 14:09
ressel ressel is offline
Senior Member
 
Join Date: Apr 2007
Location: Denmark
Posts: 128
Thanks: 18
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by kareemhali View Post
Hi,

Thanks for the info, that didn't work!.

Kareem.
I'm actually using suphp
Reply With Quote
  #6  
Old 30th March 2013, 04:48
kareemhali kareemhali is offline
Junior Member
 
Join Date: Dec 2012
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Ressell,

I think Till recommends that we stick with Fast-CGI with SuEXEC ticked when using a CMS site.

I'm not sure why no one from ISPConfig team is replying to this post.

Anyway, thanks for your help Ressell.

Quote:
Originally Posted by ressel View Post
I'm actually using suphp
Reply With Quote
  #7  
Old 2nd April 2013, 13:23
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by kareemhali View Post
I'm not sure why no one from ISPConfig team is replying to this post.
We sometimes have to do other work, and a day has only 24 hours...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 4th April 2013, 00:19
kareemhali kareemhali is offline
Junior Member
 
Join Date: Dec 2012
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
We sometimes have to do other work, and a day has only 24 hours...
I submitted the post on the March 24th. I also subscribed before submitting the post because I really like ISPConfig. I expected to have a quicker answer as it's been over 10 days!.

Thanks anyway.
Reply With Quote
  #9  
Old 4th April 2013, 10:26
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,397 Times in 4,241 Posts
Default

Quote:
I submitted the post on the March 24th. I also subscribed before submitting the post because I really like ISPConfig. I expected to have a quicker answer as it's been over 10 days!.
This is the ISPConfig community forum and not the official ispconfig support. In a community forum, ispconfig users discuss things related to the software ispconfig in their free time and there is no gurarantee to get an answer at all like with all community forums. The ispconfig developers try to answer questions here if possible but we cant answer all posts and we encourage community members to help others like reseel did.

If you need urgent support or want to ensure that you get a answer form a ISPConfig developer, then please use the support system instead of asking the community: http://support.ispconfig.org

Weare really thankful that you became a subscriber here at howtoforge as the howtoforge subscription supports the development of ISPConfig and we would not be able to continue the development of new ISPConfig versions without that support. But the subscription is not a support plan for ISPConfig, what the subscription includes is described here: http://www.howtoforge.com/subscription

Quote:
- Download the ISPConfig 3 Manual.
- Access the whole HowtoForge web site without any ads.
- Download the results of our tutorials as VMware images (where available) (a list of downloadable VMware images is available here: http://www.howtoforge.com/list-of-do...-vmware-images ).
- Download our tutorials as PDF files.
- View our tutorials as printer-friendly pages.
- You will be marked as a "HowtoForge Supporter" in your forum posts.
P- lus, you support the ISPConfig development.
Please contact us trough the ticket system at http://support.ispconfig.org if you need a support plan for ISPConfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 4th April 2013, 10:30
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,083
Thanks: 826
Thanked 5,397 Times in 4,241 Posts
 
Default

Quote:
Originally Posted by kareemhali View Post
Hi Ressell,

I think Till recommends that we stick with Fast-CGI with SuEXEC ticked when using a CMS site.

I'm not sure why no one from ISPConfig team is replying to this post.

Anyway, thanks for your help Ressell.
suphp should not be used anymore, we support it just for legacy reasons.

The recommended option is to use php-fcgi + suexec or php-fpm + suexec.

Regarding open_basedir: the open_basedir path is correct as /var/www/clients/client1/web6/web/ is included in the path and the script is in a subdirectory of that path. ensure that all files in /var/www/clients/client1/web6/web/ are owned by user web6 and group client1
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xen for Centos 6.3 HowTo needs updating. Peter Williams HOWTO-Related Questions 24 28th January 2013 03:31
Webmin upgrade lishaw1968 Installation/Configuration 15 26th August 2010 15:23
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 10:46
Error on install igbe Installation/Configuration 7 28th February 2007 22:55
Frustrated with ISPConfig install! woozyerdaddee Installation/Configuration 4 19th May 2006 03:38


All times are GMT +2. The time now is 23:15.


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