[mdlug] Fwd: Question about Apache APR configuration
Bob
rmdion at gmail.com
Wed Jun 10 14:52:47 EDT 2020
Do you have phpx.conf and phpx.load in the mods-enabled folder under
/etc/apache2?
x = the php version you have installed on your system. On my desktop
it's php7.4
Bob
On 6/9/20 10:35 AM, email5000 at usa.com wrote:
> I notice that the mail server messed up the message. Here it is again
> [hopefully] corrected....
>
>
> I'm having difficulty getting the PHP server to render the content on my
> embedded system (i.e. NAS). It just want to download the file. Apache
> (I believe it's Apache) serves htm* pages fine. I know that the PHP
> server is running as I get a valid response to the command: []#php -v
> (btw: it's PHP 5.4.34). In all my research it appears that I need the
> line:
> AddType application/x-httpd-php5 .php
>
> ... added to the httpd.conf file, which seems reasonable. I did this;
> but when I call the phpinfo.php file (just the standard phpinfo();
> function), it throws an error showing the config line with all
> whitespace removed:
> AddTypeapplication/x-httpd-php5.php
>
> ... as if it doesn't understand, well duh!! I used nano on the box to
> edit this conf file, so thinking nano corrupted the line, I looked at it
> in another editor - it appears just fine.
>
> I've SUCCESSFULLY configured Apache and PHP servers in other 'full'
> implementations (i.e. full-blown servers); but I've NEVER seen this
> before. I'm just so stumped by this I can't think straight. I just don't
> know where to go from here.
>
> Any help is MUCH appreciated!
>
> Again, it's Apache APR (Apache Portable Runtime).
>
> Thanks in advance.
> -Rich Hall
>
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
More information about the mdlug
mailing list