![]() |
![]() |
#1 |
Senior Member
Join Date: Jun 2005
Posts: 327
|
![]()
I know this is a commonly asked question, and I have had a good trawl through the archive. Unfortunately I can't see any bases that I havent already covered so i'm going to open up the floor.
The OS of my webserver is FreeBSD - therefore I have uploaded the FreeBSD vent server version of 'ventrilo_status' I have specified the correct path of the program and this is verified by enetering the path into a web browser ([url]http://www.rtcwclan.net/v-web/portal/73/ventrilo/ventrilo_status[/url]) which gives me the option to download the program, so it is availble as far as I am concerned (if anyone thinks any different please educate me) The status scripts and program are contained within a single directory which has the permissions rwxr-xr-x (or chmod 755) The ventrilo_status program also has the permissions rwxr-xr-x (or chmod 755) The php.ini settings are listed as follows: safe_mode = Off safe_mode_exec_dir = no value As far as I can tell with the above settings and criteria, the status program should be spawning, however php is unable to do so. Is there anything anybody else can see that I have missed? thanks for taking a look |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Jun 2005
Posts: 327
|
![]()
Oh, the version of the OS is FreeBSD 4.10-SATA-RELEASE #0: T i386
and the PHP version is PHP 4.3.10 |
![]() |
![]() |
![]() |
#3 |
Senior Member
Join Date: Jun 2005
Posts: 327
|
![]()
Resloved!
The error did in fact lie within my path for ventrilo_status With myWebServer being NIX based I tried some pot luck by adding the execute syntax ( ./) to the path giving; Code:
$stat->m_cmdprog = "./ventrilo_status"; |
![]() |
![]() |
![]() |
#4 |
Senior Member
Join Date: May 2005
Location: Some say in my own little world
Posts: 15,502
|
![]()
thanks for posting your solution!!
|
![]() |
![]() |
![]() |
#5 |
Senior Member
Join Date: Jun 2005
Posts: 327
|
![]()
You're welcome - hope it is of some use in the future
|
![]() |
![]() |
![]() |
#6 |
Administrator
Join Date: May 2005
Location: Some insignifcant planet.
Posts: 8,058
|
![]()
The path used by the web server is not the same as your shell account path. That's why it didn't find it.
|
![]() |
![]() |
![]() |
#7 |
Senior Member
Join Date: Jun 2005
Posts: 327
|
![]()
Yes. I got a bit thrown when documentation from my web space providor noted "However, under our server setup, scripts are run under your own username". think I got lost amongst all of the details
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|