well, you will have to read docs, lots of them...
who can open port < 1025?
what is a database server?
etc. are important questions
That said, http://xampp.sf.net might easy installation a bit, though
it seems you have most pieces in place...
7 apr 2006 kl. 21.45 skrev Marek Stepanek:
On 07.04.2006 19:37, "Robert D. Sharp" <[EMAIL PROTECTED]> wrote:
Sorry Marek, I am not a perl programmer by any means but it seemed to
me that you did get an answer.
I looked back at the archives http://www.nntp.perl.org/group/
perl.macosx for this subject and see a couple of responses.
Bob, I am confused! Sorry, but what the hell means this link? Am I
on a
mailing list, or something, what seems to be a mailing list, but is
connected to a use group? (I am blushing!)
When I installed MySql, php and Apache 2 on my laptop, I chose a
different route and it seems to me that it is important to keep the
default install of Apache (1.3.33) separate mentally since they are
different versions. I can run both at the same time on different
ports but can not start Apache 1 before starting Apache 2 since
Apache 2 checks for another running instance of any other version.
Ohh, you are lucky, I tried this for two weeks now! But impossible to
install Bundle::DBD::mysql and mod_perl
Your question, actually as I read it, really isn't a perl question,
it is an Apache configuration question.
I think there is something wrong with my root and user account. I
am the
only user on my Laptop, but I was able to install Apache2 as root
only (see
my first posting).
Have you located and/or created the error log cited in the error
message you sent and tried re-starting Apache 2 ensuring that the
default version is NOT running?
% which apachectl
/usr/sbin/apachectl
is this the apple Apache or the new one?
ahh! this is interesting:
% apachectl fullstatus
Not Found
The requested URL /server-status was not found on this server.
_________________________________________________________________
Apache/1.3.33 Server at markslap.local Port 80
when trying to start the server, it is only possible with sudo:
% apachectl start
Processing config directory: /private/etc/httpd/users/*.conf
fopen: Permission denied
httpd: could not open error log file /private/var/log/httpd/error_log.
/usr/sbin/apachectl start: httpd could not be started
% sudo !!
sudo apachectl start
Password:
/usr/sbin/apachectl start: httpd (pid 5898) already running
aha! there it is! I am already running on Apples Apache server!
% sudo apachectl stop
% /usr/local/apache2/bin/apachectl start
% sudo /usr/local/apache2/bin/apachectl start
But the install of DBD, whith running Apache2
cpan> install Bundle::DBD::mysql
is giving many errors like:
Can't exec "mysql_config": No such file or directory at
Makefile.PL line
73.
% sudo find -E / -iregex ".*mysql_config.*" -print
/usr/local/mysql-max-5.0.19-osx10.3-powerpc/bin/mysql_config
/usr/local/mysql-max-5.0.19-osx10.3-powerpc/man/man1/mysql_config.1
Probably I have to put the
/usr/local/mysql-max-5.0.19-osx10.3-powerpc/bin/
also in my $PATH ? In any case my $PATH:
% echo $PATH
/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/teTeX/bin/
powerpc-
apple-darwin-current:/usr/local/bin:/usr/X11R6/bin
Other errors while
cpan> install Bundle::DBD::mysql
Cannot connect: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:test.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.
I am getting off topic for this list. I am NOT an Apache expert and
so may not be the person to talk to but perhaps I can help off list.
Bob
Thank you Bob for your answer!
Best greetings to all
marek
--
___________________________________________
the embassy for talented young musicians
Podium International | Marek Stepanek |
[EMAIL PROTECTED]
http://www.PodiumInternational.org
___________________________________________
___________________________________________________________
To help you stay safe and secure online, we've developed the all
new Yahoo! Security Centre. http://uk.security.yahoo.com