Re: [users@httpd] Help getting php up and running

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It sounds as if Apache isn't executing the php when it should be. Do you
also have the AddType statements in httpd.conf?

AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps


CasperLinux wrote:
> 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
>
> -------------------------------------------------------
>
> --
> - Powered by Debian Linux -
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>







---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux