in reply to Experimenting Ajax - problem installing Apache2::Ajax
The problem you encountered with running the tests is that Apache::Test is expecting the path to the httpd executable, not the /etc/init.d/apache2 script used to start httpd. In the dialogue that configures Apache::Test, try giving the full path to the httpd that /etc/init.d/apache2 is pointing to, along with the full path to the apxs script corresponding to this httpd version.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Experimenting Ajax - problem installing Apache2::Ajax
by emotiv (Novice) on Oct 02, 2007 at 08:20 UTC | |
doesn't seems to point to any httpd it isn't a link while apache is in /etc/apache2 in which httpd.conf is no more used since Ubuntu prefers apache2.conf how to find where are my apxs? how to remove a cpan module to completely restart the installation process? At the moment cpan doesn't ask me any option... :(( | [reply] [d/l] [select] |
by randyk (Parson) on Oct 02, 2007 at 20:06 UTC | |
The configuration dialogue I was referring to was the part when it asked Please provide a full path to 'httpd' executable: [] /etc/init.d/apache2Depending on your PATH environment variable, this might be the result of running which apache2. To check, examine the /etc/init.d/apache2 script and look for a line that points to the httpd binary; on my system, it looks like which indicates the full path to the binary is /usr/local/httpd/bin/httpd. Similarly, the apxs script (which might be called apxs2) may be the result of running which apxs, or it might be under the same directory as httpd. If you have multiple apache installations, you have to make sure that the httpd that you specify is the mod_perl-enabled one. | [reply] [d/l] |
by Anonymous Monk on Oct 03, 2007 at 07:10 UTC | |
so I've found https which apxs -> no results which apxs2 -> no results Moreover trying to install Apache2::Ajax from source or from cpan doesn't ask me any more to introduce the full path to httpd executable. Maybe the wrong path has been saved somewhere but how to find it? Summing up: 1) now I know which is the path to httpd but not where are my apxs|apxs2. 2) The dialogue configuration doesn't appear any more. Here is the output of my Apache2::Ajax installation
| [reply] [d/l] [select] |
by randyk (Parson) on Oct 04, 2007 at 07:05 UTC | |
by emotiv (Novice) on Oct 04, 2007 at 09:05 UTC | |
now which apxs2 gives me /usr/bin/apxs2 so i exported APACHE_TEST_HTTPD and APACHE_TEST_APXS from CPAN The module installation seems complete and without errors however as soon as I specify in my apache configuration file I get the following: Invalid command 'PJX_fn' perhaps mis-spelled or defined by a module not included in the server configuration Any clues? In any case thank you Randy for everything | [reply] [d/l] [select] |
by randyk (Parson) on Oct 04, 2007 at 19:53 UTC | |
by emotiv (Novice) on Oct 05, 2007 at 06:45 UTC |
In Section
Seekers of Perl Wisdom