![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Programming Guru
![]() |
Re: Running A Perl Script Locally
Yeah, it's loads of fun. Working on this problem for 6 straight hours and such...
That's actually one of my other thoughts! ![]() I don't have the root password, and I think maybe Apache uses root access to get mysql.pm. I'll try that. If that doesn't work, I'll make another script that does "use lib path/to/mysql.pm" to include a locally installed copy of the mysql module, then require the script I want to run. Maybe that will work. |
|
|
|
|
|
#12 |
|
Programming Guru
![]() |
Re: Running A Perl Script Locally
For the curious:
The problem has been resolved. As I thought, Apache wasn't on the same machine as the one I was accessing, and therefore mysql.pm wasn't there. And if I did point Perl to the mysql.pm that the server used, it had been compiled on a different architecture. The Apache server was Solaris when the scripts were on an i386 machine. So instead I'm socketing into the Apache server and executing it through the Solaris architecture. It works. What a waste of time that junk was. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running a Mac-Written Script on a Linux Machine | Sane | Perl | 2 | Nov 1st, 2007 8:46 PM |
| Problem with Perl script | eclipsed4utoo | Perl | 1 | Dec 2nd, 2005 1:33 PM |
| A simple perl script | satimis | Perl | 3 | Aug 15th, 2005 9:31 AM |
| HELP!!! Perl script to display drop down menu on webpage | domquem | Perl | 8 | Jun 2nd, 2005 9:48 AM |