Re: Re: [PHP-DB] Help getting php up and running
| From: | bungo | Date: | Sun, 12 Feb 2006 13:31:42 +0000 |
| Subject: | Re: Re: [PHP-DB] Help getting php up and running | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41227@lists.php.net to get a copy of this message | ||
Is the file you are trying to save parsed php? If it is parsed, I have no Idea what your problem
is, but its probably not apache-php.
otherwise, Its possible, you need to add handlers in your apache conf to instruct apache to run .php
files as php
something like
AddType application/x-httpd-php .php
>Anyone have any input? I am googling till my fingers hurt and everything I
>find says it should be running. Whenever I try to open a test.php file all I
>get is the web browswer trying to save the file instead of serving up the php
>content.
>
>On Friday 10 February 2006 21:28, CasperLinux wrote:
>> I run a Debian unstable system with apache 1.3 installed. I had PHP
>> installed and running then tried to install Acid/Base for Snort. That
>> installation did not work properly so I attempted to remove the components
>> but then I lost php support. I removed all the PHP files and reattemtped
>> to install. No joy. Anyone have any ideas of what may be an issue.
>>
>> I have the following installed
>>
>> ii libapache-mod-php4 4.4.2-1
>> server-side, HTML-embedded scripting languag
>> rc libapache2-mod-php5 5.0.5-3
>> server-side, HTML-embedded scripting languag
>> ii php4 4.4.2-1
>> server-side, HTML-embedded scripting languag
>> ii php4-common 4.4.2-1 Common
>> files for packages built from the php
>> ii php4-mysql 4.4.2-1 MySQL
>> module for php4
>>
>> And this is my modules.conf
>>
>> ClearModuleList
>> AddModule mod_so.c
>> AddModule mod_macro.c
>> LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so
>> LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
>> LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
>> LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
>> LoadModule status_module /usr/lib/apache/1.3/mod_status.so
>> LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
>> LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
>> LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
>> LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
>> LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
>> LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
>> LoadModule access_module /usr/lib/apache/1.3/mod_access.so
>> LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
>> LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
>> LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
>> LoadModule perl_module /usr/lib/apache/1.3/mod_perl.so
>> LoadModule includes_module /usr/lib/apache/1.3/mod_include.so
>> LoadModule includes_module /usr/lib/apache2/modules/libphp4.so
>>
>> For the life of me I can't figure out why following the instructions won't
>> get this up and running this time. I think I'm missing a file somewhere.
>>
>> Don
>>
>> --
>> - Powered by Debian Linux -
>>
>> -------------------------------------------------------
>>
>> --
>> - Powered by Debian Linux -
>
>--
>- Powered by Debian Linux -
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>.