Does the apache 2 work with php in 2007
Cant get the php working in apache 2 on the 2007.1 rc3
Did this ever work with Mandrive 2007? I thought the problem was only in the x86_64 version now testing of 586 I find it still does not work. Is it because you cannot use it as you cannot work at the root level. :Pengy: :Pengy: :Pengy: |
PHP should work regardless of whether you are root or not. What is the output of doing
Code:
#rpm -qa | grep -i php |
Quote:
I know php works with apache 1.3 but it does not work when I use apache 2. I have never yet got the php working with apache 2 on any machine nor any distro. :Pengy: :Pengy: :Pengy: |
I have php working fine on Mandriva 2007.1 (32 bit). All I needed to do was install apache-mod_php and it just worked (the same applies for CentOS, Fedora and Gentoo). If php is not being parsed, then make sure that you have the lines below in your httpd.conf (or its related files)
Code:
DirectoryIndex index.php Code:
AddType text/html .php |
barrythai, according to the thread that was closed asking the same question in the Mandriva forum you are still using a Release Candidate version of Mandriva 2007.1 Spring (Beijing). Be a love & upgrade through either urpmi --allow-force --auto-update in command line (as root; the --allow-force command takes care of dependency issues that will have you clicking y then Return for an eternity!) or downloading or otherwise obtaining a final release. Sorry to be negative & all that, but you have been bitching about how rubbish a Release Candidate is for about 2 months now, despite people repeatedly saying "It's a Release Candidate, & is therefore going to be buggy". Either you are really rather thick skinned, don't actually read any of the posts made in reply, or are just that strangest of cyber-creatures - a troll, sent to put people off what is a good distro...
|
Quote:
My problem is that the 64 bit version does not have the wireless drivers so it makes it very difficult to recommend Mandrivia at the moment. I have to use one version on my LAMP desktop (64 bit version not yet fully tested) and the 32bit version on my 64 bit laptop where I use it for website demo's. I wish they would sort this out. I still have to rely on the 10.1 mandrake 1.3 apache on a 64 bit version machine for LAMP. I need apache 2+ to work at the 64 bit level on Mandrivia. aka Mandrake. 2 years this problem has persisted in all distro's. :Pengy: :Pengy: :Pengy: |
Barrythai, the problem here seems to be more user related than the distro. I run various distros all with apache 2, php and mysql working perfectly out of the box. It should not really matter whether you are using a 64 bit distro or a 32 bit distro because both versions are compiled using the same sources. On Mandriva 2007.1, I didn't even have to touch a single configuration file to get AMP working. The important thing it to go through the package manager and install apache, mysql, apache-mod_php, php-mysql and any other apache related modules you need. Also as mentioned above, use the released version of Mandriva 2007.1 and not a release candidate.
|
Quote:
I had hoped the problem had been resolved, but yet to have someone say that they have a distro running apache 2 with php in the 64 bit version. I am looking for the first distro that have fixed this problem. I am not blaming Mandriva it is not there fault. My servers all have to run the 32 bit versions with Beijing aka spring 2007. I am happy with the rc3 version. I do wish they had not left Quanta out though and making root an invisible entity, it really makes it more difficult in upgrading and testing there releases. :Pengy: :Pengy: :Pengy: |
All times are GMT -5. The time now is 07:08 PM. |