1.)I _think_ I got all the mods out, and left them out, with the exception of the non standard port assignment (using 18080 to get around the ISP filtering). I also added a line in httpd.conf :
ServerName
urbanexperience.dyndns.org:18080
2.)tells me it's already enabled.
3.)apachectl restart doesn't work, I've been using /etc/init.d/apache2 restart
4.)tail output -
media:/etc/apache2# tail /var/log/apache2/error.log
[Tue Jan 23 13:42:47 2007] [error] an unknown filter was not added: includes
[Tue Jan 23 22:05:54 2007] [error] an unknown filter was not added: includes
[Tue Jan 23 22:05:55 2007] [error] [client
69.245.125.255] File does not exist: /mnt/raid/webserver/favicon.ico
[Tue Jan 23 22:09:03 2007] [error] an unknown filter was not added: includes
[Wed Jan 24 03:21:16 2007] [error] [client
70.162.67.172] File does not exist: /mnt/raid/webserver/robots.txt
[Wed Jan 24 03:25:52 2007] [notice] caught SIGTERM, shutting down
[Wed Jan 24 03:26:02 2007] [warn] module php5_module is already loaded, skipping[Wed Jan 24 03:26:02 2007] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Wed Jan 24 03:26:02 2007] [notice] mod_python: using mutex_directory /tmp
[Wed Jan 24 03:26:02 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8 mod_python/3.2.10 Python/2.4.4 mod_perl/2.0.2 Perl/v5.8.8 configured -- resuming normal operations
Apache restart -
media:/etc/apache2# /etc/init.d/apache2 restart
Forcing reload of web server (apache2)...[Wed Jan 24 03:50:04 2007] [warn] module php5_module is already loaded, skipping
[Wed Jan 24 03:50:15 2007] [warn] module php5_module is already loaded, skipping.
Everything appears to be configured correctly, but attemping to open any php file within Firefox (on the server itself) just asks if I want to open it and with what app or if I want to save it. Opening the file in Nautilus opens the file as a text file.
Eric
Let me know if those instructions aren't clear. I'll be happy to clarify anything as needed.
- Take out all the additions you've made to the Apache configuration files. Any custom stuff you want to do should go in a file in /etc/apache2/conf.d, not in the main config file. You don't need to add directives to enable PHP, though. They're already there. You just need to enable them.
- Run 'a2enmod php5' which adds symlinks from /etc/apache2/mods-available/php5* to /etc/apache2/mods-enabled. 'man a2enmod' will explain exactly what's going on, but there's not too much to it. It might tell you the module is already enabled. If so, no harm done.
- Restart Apache. 'apache2ctl restart'
- Check the Apache error log for any problems with restart. 'tail /var/log/apache2/error.log' You should see a [notice] with a restart message, and the server signature should include PHP. For example, mine says "[Sun Jan 21 06:27:36 2007] [notice] Apache/2.2.3 (Debian) DAV/2 PHP/5.2.0-8 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations"
- Post any startup errors you see back to the list. They will be a big help in determining what's wrong.
- Any file with the '.php' extension should now be executed by Apache as a PHP script. You can test this in any number of ways, but the easiest is probably just to browse the Gallery2 installer script.
alex
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss