Pear/Confixx/Open_Basedir Problem

Apache, Lighttpd, nginx, Cherokee
Post Reply
tarta
Posts: 13
Joined: 2004-05-16 16:26
Location: Köln
 

Pear/Confixx/Open_Basedir Problem

Post by tarta »

Hi!

ich versuche grade PEAR bei mir zum laufen zu bekommen (1&1 RootServer). Nachdem ich einige Beiträge hier im Forum gelesen habe, habe ich auch schon eine Grundidee was zu tun ist.
Dabei ist leider ein Problem aufgetreten.

Wenn ich in confixx httpd spezial den folgenden Eintrag hinzufüge:

Code: Select all

php_admin_value open_basedir /home/htdocs/web1:/usr/bin:/usr/share/php:/tmp
dann sieht die confixx_vhost.conf nach einem Refresh so aus:

Code: Select all

  php_admin_value open_basedir /home/htdocs/web1/
  php_admin_value file_uploads 1
  php_admin_value upload_tmp_dir /home/htdocs/web1/phptmp/  
php_admin_value open_basedir /home/htdocs/web1:/usr/bin:/usr/share/php:/tmp
Es stehen also 2 open_basedir Einträge in der Datei. Das führt dazu, dass der Apache beim Restart eine Fehlermeldung auswirft.

Die Frage ist, woher kommt das erste open_basedir. In httpd Spezial stehts nicht drin.....
bungeebug
Posts: 187
Joined: 2004-04-14 10:08
 

Re: Pear/Confixx/Open_Basedir Problem

Post by bungeebug »

Das is immer dadrin. Das wird beim Anlegen eines Webs / vHosts automatisch erzeugt.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Pear/Confixx/Open_Basedir Problem

Post by Joe User »

PHP per ./admin.pl verbieten und per httpd-spezial erlauben sollte helfen...
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Post Reply