some tricky stuff

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
faraway
Posts: 1
Joined: Thu Nov 23, 2006 6:09 pm
Location: peru

some tricky stuff

Post by faraway »

I have no idea what language to use here, so I try in the most popular on computer stuff.

I have a really tricky problem and do not have any idea in what forum or group I should post that.
So, please be patient

The problem:
I try to make custom front-end by using some stuff of subversion.
I call from a PHP script per exec() the command svncreate or some svn commands that try to write some on my file-sys.

It works perfect.
.... Until I restart the apache

after restarting apache svn doesn't write anymore to my HD. Neither Apache nor php gives me an error or any msg. I have tried anything I knew to get some more verbose, but without result.

Funny is, after restarting the entire system it works again, and restarting only the apache it doesn't work anymore.

Any ideas ?

.
The installed stuff :
SUSE 10.1 on diff Arch's
Apache/2.2.0 (Linux/SUSE)
PHP 5.1.2 (cli) (built: May 2 2006 09:30:07)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

as it say's above that are Suse built's standard install per yast2
also is there subversion 1.3 per yast installed.
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

Hi,
please note that this forum helps Users of phpMyFAQ and nothing else ;).
Said that, it seems to me that some environment variables are mssing after the Apache restart. Try to examine the output of "env" command from an exec call before and after restarting Apache.

Ciao,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Post Reply