php headache in Mandriva 2006
Hello all!
Just moved from Mandriva LE2005 on Athlon XP to 2006 64bit version on Athlon 64, but one problem: I have a directory containing PHP scripts that I'm working on in my home directory, symlinked from /var/www/html. This worked fine in LE2005, but not any more. Apache won't do anything with PHP scripts, absolutely nothing comes back to the browser - no errors, just nothing, HTML pages work fine, but not php. I believe I have all the php packages installed. btw: I've been coding PHP for a few years now, but I'm a total n00b at apache configration and the like. Any help is much appreciated TIA |
FIXED
It was somethig to do with packaging. After much coffee and swearing, I decided to use the Mandriva package removal tool to remove all php-related packages (of which there were loads, many probably unecessary) then installed just the apache module, the php-mysql module and their dependancies. After this and restarting apache (using /etc/rc.d/init.d/httpd restart) PHP worked. Before this, /var/log/httpd/error_log would contain an entry stating that a child process segfaulted for every attempt to access a php script.
Note that I needed to manually edit the /etc/php.ini file to change the line: Code:
extension_dir = "/usr/lib/php4/extensions" Code:
extension_dir = "/usr/lib64/php4/extensions" Hope this helps! |
All times are GMT -5. The time now is 02:08 AM. |