Re: WordPress, Apache, modules, mod_rewrite - how to verify?



Thanks! Can anyone help me regarding mod_rewrite? Can't find it in the ports.


----- Original Message ----
From: Eric <heli@xxxxxxxxxxxxxxx>
To: freebsd-questions@xxxxxxxxxxx
Sent: Monday, October 30, 2006 10:12:28 AM
Subject: Re: WordPress, Apache, modules, mod_rewrite - how to verify?

Nick wrote:
I've been looking on the web for hours but haven't found any help, though of asking on some forums when I suddenly remembered! There's freebsd-questions!!

Anyway, I'm a MS SQL Server guy, trying to mess around with FreeBSD at home. I've managed to install 6.1, CVSup, xorg, KDE, Apache 1.3. I haven't touched this box for a while due to my work schedule, now I'm trying to pick up where I left off... I just install ed WordPress from ports, trying to use it to learn PHP and MySQL. (At work, I'm almost 100% SQL Server only! I'm hoping to change to a Linux / Oracle, Data Warehouse type of position.... but outside of work, I would like to learn some PHP, Perl and MySQL... may be start a little side web biz or something...)

So, main question:

WordPress requires PHP 4 and MySQL 3 or later, and optional mod_rewrite. How do I verify if these are installed?

I used "pkg_version -v" to check my installed ports' versions, I have these:
apache-1.3.37_1
mod_perl-1.29_1
mysql-client-5.1.11
perl-5.8.8
php5-5.1.4
php5-mysql-5.1.4
php5-pcre-5.1.4
php5-xml-5.1.4
wordpress-2.0.4_1,1

I think I still need to install mod_php and mod_rewrite, but I can't see them in /usr/ports/www

How do I verify that php, MySql and mod_rewrite are install and function properly in Apache?

Thanks!

Nick

make a file called pinfo.php in your web servers data directory root
(/usr/local/www/data by default)

put this in it:

<?php

phpinfo();

?>

save it and go to:

http://yourURL.com/pinfo.php

and read away

that will dump all php related info.

make sure you install the suhosin patches against PHP and/or use the
extension

Eric
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"





_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Idiot needs help enabling php in apache or apache2
    ... but I can't seem to enable php on my webserver. ... I've tried both apache ... What I want to be able do is to install the latest wordpress version (i e not ... has been installed afaik (for instance, if I do apt-get install wordpress, it ...
    (Debian-User)
  • FC4: apache problem _without_ SELinux
    ... I have apache running on my machine with wordpress. ... I have restarted apache with 'apachectl restart' and service httpd ... PHP Warning: PHP Startup: Unable to load dynamic library ...
    (Fedora)
  • Help with php5 install under windows
    ... This includes moving php from the ... Enable the PHP scripting language engine under Apache. ... or per-virtualhost web server configuration file. ... The PHP directives register_globals, ...
    (php.general)
  • RE: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE
    ... Apache web server. ... Subject: Virtual hosts and PHP "downloads": php5 and apache22 on ...
    (freebsd-questions)
  • Re: HELP: send binary replies back and forth ???
    ... > My php application needs to do the following: ... > My PHP script loops through all records and sends each of them ONE BY ONE. ... > other than to be able to communicate with apache. ... All communication is binary because the connection used is pricy and ...
    (comp.lang.php)