Search results

  1. D

    [solved] Executing PHP within Perl served pages

    [RESOLVED] Executing PHP within Perl served pages Many thanks for the second suggestion. That is what I did and it works fine. Rgds Doug
  2. D

    [solved] Executing PHP within Perl served pages

    Thanks for the pointer. At the moment, though, I'm having problems compiling the module - I get an error during the make process but no clue as to why it is in error. In the absence of PHP::Interpreter is there anything else I can do? Rgds Doug
  3. D

    [solved] Executing PHP within Perl served pages

    Hi, I'm using Litespeed v4.1.1 standard edition, primarily to serve pages generated by Perl scripts. I have PHP set up to serve some pages generated by Wordpress which uses PHP. I want to be able to use one (or more) of the Wordpress routines within my Perl generated scripts and cannot...
  4. D

    [Solved] Call to undefined function mysql_connect() error

    Solved - Call to undefined function mysql_connect() error Problem solved! In fact your first answer fixed the problem but when I first tried it I had managed to add the --with-mysql to the comment rather than the configure statement :mad: (It was late at night). Anyway all is working...
  5. D

    [Solved] Call to undefined function mysql_connect() error

    Thank you for a very quick reply. The build file already had '--with-mysqli' as a configure parameter. I did try adding '--with-mysql' immediately before '--with-mysqli' to the initial configure statement however, on re-building, it appeared to ignore mysql in favour of mysqli. Should I...
  6. D

    [Solved] Call to undefined function mysql_connect() error

    I need to be able to run Wordpress and, for that, I need PHP. I've compiled PHP using the 'Compile PHP' option under 'Actions' and then manually built PHP (with --with-mysqli). I then ran 'sudo -u nobody ./lsphp5 -i' and have confirmed that mysqli is present. I've run phpinfo in a web...
  7. D

    Problem with Multiple SSL Certificates

    OK - many thanks for this (and a good product). Any news on when that version may be released? Rgds Doug
  8. D

    Problem with Multiple SSL Certificates

    I'm running Litespeed 4.011 on Linux 2.6.27. This server hosts some 5 or 6 domains all of which point to the same IP address and 2 of which are set up for SSLhave associated SSL certificates. I have 4 listeners, all listening to the same IP address (there is only one), one listening to...
  9. D

    ERROR: missing environment variable 'SCRIPT_FILENAME'!

    I think I've got it!! I've just been doing a bit more experimentation, more closely copying the RoR setup I have and I have got it working (whether it is the correct way or not I don't know). I have done the following:- 1. Created an External App called lsperld which runs lsperl.fpl...
  10. D

    ERROR: missing environment variable 'SCRIPT_FILENAME'!

    Hi, Although my setup was substantially the same as yours, I've made an exact copy of your setup but still l, immediately, get the same error. However, I've noticed a few differences in other aspects of your setup. My www layout follows a rather ancient apache structure which is:- Doc...
  11. D

    ERROR: missing environment variable 'SCRIPT_FILENAME'!

    Thanks for your quick reply. Yes I have (with the one difference being that I installed FCGI.pm after installing Litespeed). I don't have PHP running but do have Ruby on Rails configured (from following the RoR installation guide) which works fine. I've also set FCGI_PERL_MAX_REQ=1000...
  12. D

    ERROR: missing environment variable 'SCRIPT_FILENAME'!

    I'm trying to use Perl with Fast CGI but get the above error. I've set up a Context pointing to my Perl scripts in /cgi-bin/ and everything works fine when the Type is CGI. I've set up an External app pointing to lsperl.fpl, and linked that to the cgi-bin context (re-configured for Fast...
  13. D

    Problem running Rails app with dispatch.lsapi

    Oops, I can answer this myself, now. The execve error was denoting that there was a problem with the shebang line in dispatch.lsapi and, lo and behold, it was set up for #!/usr/local/bin/ruby whereas my copy of ruby is in /usr/bin. So, problem solved and many thanks for a pretty awesome...
  14. D

    Problem running Rails app with dispatch.lsapi

    Hi, I've recently installed Litespeed Standard (v 4.0.11) onto a Suse Linux 2.6.27.19-5-pae system and am having problems configuring it to run Rails applications. I've followed (to the letter as far as I can see) the instructions described in the Rails Manual Configuration wiki, mounting...
Top