|
|
undefined function: exec()
- General Posted by dave (Sunday March 10 2002 @ 07:42PM EST) views: 199 |
When I try to install phpweblog 0.5.3, I get the following error:
Creating Tables...
Importing Default Data...
Fatal error: Call to undefined function: exec() in /users/ionichost.com/brokenthoughts/setup/index.php on line 281
Can anyone PLEASE help me out? I've rummaged thru the index file, but can't figure out what is wrong or what to do.
Thanx in advance.
|
|
By Tony Williams (Sunday March 10 2002 @ 09:06PM EST)
|
Hi,
My first thought would be to separate out the exec() call from the rest of the line so insert a line just before 281
$id_string = exec("id");
then change 281 into
eregi( "^uid=([0-9]*)", $id_string, $regs );
That will give you a chance to see if the problem is the line itself.
You might also want to try running "id" from the command line on your server.
If that doesn't give you any more help then come back and tell us what OS you are running and what version of PHP.
Tony
|
[ reply | parent ]
|
|
|
|