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

Re: valhalla+apache+php



Miklos,

I'm now at a loss as to why your php is not working. I've loaded up RedHat 7.3 (as a new installation, loading everything). I made a file /var/www/html/phpinfo.php containing just
<?php phpinfo(); ?>
and started up apache with
/etc/init.d/httpd start
and when in a broser I put in a url of
http://mycomputername/phpinfo
I get the full phpinfo screen.


When I do the "ps ax|grep httpd" I did not see the "-DHAVE_PHP4" which seemed strange but I realised that the lines are being truncated at 80 characters. So to see the full line I copied /etc/init.d/httpd to /etc/init.d/httpd.saved and then edited /etc/init.d/httpd to add a line in the moduleargs routine so that:
echo ${moduleargs}
}
becomes:
echo ${moduleargs}
echo ${moduleargs}>./httpd.logging
}


Restarting apache with "/etc/init.d/httpd restart" I got a /etc/init.d/httpd.logging file which contained a list of all the modules, including the "-DHAVE_PHP4".

What do you get when you do this?

Regards

Chris


Miklos Bagi Jr. wrote:


Hello Chris,

Perhaps something not quite right in the startup. Did you try turning
off apache starting at boot time (with chkconfig) and starting it after
all booting complete.



Well, that's done. Doesn't work either.


That is the only difference I know of on my 7.2
between when I installed it (and  php not working) and now (when it
does). I have not heard of others with the same problem.


I saw some posts on google the other day but didn't help me solve this one ;(


If I get a chance, I'll install 7.3 on a computer over the weekend. I'll
report how I get on with php when I've done it.


I'd thankyou for that ;o)



MBJr.




_______________________________________________
Redhat-install-list mailing list
Redhat-install-list redhat com
https://listman.redhat.com/mailman/listinfo/redhat-install-list







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